MAL-2026-18681Malicious code in @sakataa/baileys (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @sakataa/baileys | 1.0.0 |
| npm | @sakataa/baileys | 2.0.0 |
| npm | @sakataa/baileys | 3.0.0 |
{"modified":"2026-11-01T00:00:00Z","published":"2026-10-26T00:00:00Z","schema_version":"1.7.4","id":"MAL-2026-18681","summary":"Malicious code in @sakataa/baileys (npm)","details":"@sakataa/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/newsletter.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363408893555851@newsletter, 120363424295522327@newsletter, 120363426470081124@newsletter, 120363427718144294@newsletter (stored base64-encoded), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","affected":[{"package":{"ecosystem":"npm","name":"@sakataa/baileys"},"versions":["1.0.0","2.0.0","3.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@sakataa/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"credits":[{"name":"CyberXYZ","type":"FINDER","contact":["https://cyberxyz.io"]}],"database_specific":{"iocs":{"domains":[],"files":[{"digests":{"sha256":"7db0ac4e599e7acd4b80d5f5092d43488eed474f4f1bce4b315a35e864375d52"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"47f9c2471cbe7d15331c6599b2319693e4a6d65f522318aa68b6bbf8fe5ac92b"},"paths":["lib/Socket/newsletter.js"]}],"ips":[],"urls":[]}}}数据来源:OpenSSF Malicious Packages · Apache-2.0