{"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).","modified":"2026-11-05T05:15:05.063438071Z","published":"2026-10-26T00:00:00Z","database_specific":{"iocs":{"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"20563a542cc514c1dfb2f4f44a653d6740189ab9c5b34da5c7313e69c0608ea4"}}],"ips":[],"urls":[],"domains":[]}},"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/"}],"affected":[{"package":{"name":"@zyrennofficiall/baileys","ecosystem":"npm","purl":"pkg:npm/%40zyrennofficiall/baileys"},"versions":["5.1.0","5.2.0","5.3.0","5.4.0","5.5.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@zyrennofficiall/baileys/MAL-2026-18684.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}