MAL-2026-18807

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@baileys-md/baileys/MAL-2026-18807.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18807
Published
2026-10-27T00:00:00Z
Modified
2026-11-09T23:15:18Z
Summary
Malicious code in @baileys-md/baileys (npm)
Details

@baileys-md/baileys is a fork of the Baileys WhatsApp Web library. In version 12.2.0, makeNewsletterSocket in lib/Socket/newsletter.js starts a timer that, 80 seconds after the socket is created, sends the WhatsApp w:mex FOLLOW query for the channels 120363419781122699@newsletter and 120363388692253922@newsletter through the user's authenticated session, with errors swallowed and without telling the user. Releases 12.2.1 to 12.3.2 ship the same block commented out, so they are not listed. Same behaviour as the PhantomSub family (MAL-2026-17342).

Database specific
{
    "iocs": {
        "domains": [],
        "files": [
            {
                "digests": {
                    "sha256": "570bc0a3e412b1f478e00b2f108b27e69838817fa5c03d379120c1c723265492"
                },
                "paths": [
                    "lib/Socket/newsletter.js"
                ]
            }
        ],
        "ips": [],
        "urls": []
    }
}
References
Credits

Affected packages

npm / @baileys-md/baileys

Package

Name
@baileys-md/baileys
View open source insights on deps.dev
Purl
pkg:npm/%40baileys-md/baileys

Affected ranges

Affected versions

12.*
12.2.0

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/@baileys-md/baileys/MAL-2026-18807.json"