MAL-2026-18684Malicious code in @zyrennofficiall/baileys (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | @zyrennofficiall/baileys | 5.1.0 |
| npm | @zyrennofficiall/baileys | 5.2.0 |
| npm | @zyrennofficiall/baileys | 5.3.0 |
| npm | @zyrennofficiall/baileys | 5.4.0 |
| npm | @zyrennofficiall/baileys | 5.5.0 |
{"modified":"2026-10-26T00:00:00Z","published":"2026-10-26T00:00:00Z","schema_version":"1.7.4","id":"MAL-2026-18684","summary":"Malicious code in @zyrennofficiall/baileys (npm)","details":"@zyrennofficiall/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. A timer started when the socket connects, in lib/Socket/newsletter.js, sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363408893555851@newsletter, 120363426470081124@newsletter, 120363427718144294@newsletter (stored base64-encoded), using the victim's authenticated session and without telling them. This is separate from the update-channel follow the package announces in lib/Socket/index.js. Same behaviour as the PhantomSub family (MAL-2026-17342).","affected":[{"package":{"ecosystem":"npm","name":"@zyrennofficiall/baileys"},"versions":["5.1.0","5.2.0","5.3.0","5.4.0","5.5.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/@zyrennofficiall/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":"20563a542cc514c1dfb2f4f44a653d6740189ab9c5b34da5c7313e69c0608ea4"},"paths":["lib/Socket/newsletter.js"]}],"ips":[],"urls":[]}}}数据来源:OpenSSF Malicious Packages · Apache-2.0