mal-2026-18690
osv_npm
Description
lunaaa-baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/messages-recv.js, lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query and then MUTE, so the channel goes unnoticed, for the channel ID(s) , using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
Timeline
- Published
- unknown
- Last Modified
- unknown
CVSS Details
CVSS details not available.
Affected Products
No product information available.
Weaknesses (CWE)
References
Linked Vulnerabilities
No linked vulnerabilities found.
{
"affected": [
{
"database_specific": {
"cwes": [
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lunaaa-baileys/MAL-2026-18690.json"
},
"package": {
"ecosystem": "npm",
"name": "lunaaa-baileys",
"purl": "pkg:npm/lunaaa-baileys"
},
"versions": [
"1.1.0",
"1.1.1",
"9.0.22",
"9.0.23"
]
}
],
"credits": [
{
"contact": [
"https://cyberxyz.io"
],
"name": "CyberXYZ",
"type": "FINDER"
}
],
"database_specific": {
"iocs": {
"domains": [],
"files": [
{
"digests": {
"sha256": "49c95ebaabb9425f0c4b85b79c2867bbe7d7557bf9503c2ffeb9ef4f18eb2b48"
},
"paths": [
"lib/Socket/messages-recv.js"
]
},
{
"digests": {
"sha256": "4eb0408961e36e2158f505c76fb38fee9ef38e66f63b49240432aa2e8fceacfa"
},
"paths": [
"lib/Socket/newsletter.js"
]
},
{
"digests": {
"sha256": "ee9c14a074887ea7344dd6cbca9a721b7280926aeff3aff3bf1531abe4e2a474"
},
"paths": [
"lib/Socket/newsletter.js"
]
}
],
"ips": [],
"urls": []
}
},
"details": "lunaaa-baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/messages-recv.js, lib/Socket/newsletter.js sends the WhatsApp w:mex FOLLOW query and then MUTE, so the channel goes unnoticed, for the channel ID(s) , using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).",
"id": "MAL-2026-18690",
"modified": "2026-11-05T05:15:05.067286272Z",
"published": "2026-10-26T00:00:00Z",
"references": [
{
"type": "PACKAGE",
"url": "https://www.npmjs.com/package/lunaaa-baileys"
},
{
"type": "WEB",
"url": "https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"
}
],
"schema_version": "1.9.2",
"summary": "Malicious code in lunaaa-baileys (npm)"
}