MAL-2026-18690

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/lunaaa-baileys/MAL-2026-18690.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18690
Published
2026-10-26T00:00:00Z
Modified
2026-11-05T05:15:05Z
Summary
Malicious code in lunaaa-baileys (npm)
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).

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": []
    }
}
References
Credits

Affected packages

npm / lunaaa-baileys

Package

Name
lunaaa-baileys
View open source insights on deps.dev
Purl
pkg:npm/lunaaa-baileys

Affected ranges

Affected versions

1.*
1.1.0
1.1.1
9.*
9.0.22
9.0.23

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"