{"id":"MAL-2026-18805","summary":"Malicious code in @animebails/baileys (npm)","details":"@animebails/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) 120363351424590490@newsletter, 120363408644028823@newsletter, 120363410165027550@newsletter, 120363412411007236@newsletter, 120363412935005237@newsletter, 120363413699154858@newsletter and 6 more, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-09T23:15:17.650157424Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"urls":[],"domains":[],"files":[{"digests":{"sha256":"15c0c2383368def1730be9083a3e06bfb3af82980491dd38c38d4edadfd023e9"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"2a4d061f580ee6fc17c2653e0b07624f39cb6a478b16aea6509a709b6b56015d"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"ed3f1d0c7071ba72aab5067dd887be3b5fc1044f87cf7d23f54c080d86bc9b67"},"paths":["lib/Socket/newsletter.js"]}],"ips":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@animebails/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@animebails/baileys","ecosystem":"npm","purl":"pkg:npm/%40animebails/baileys"},"versions":["1.0.0","1.0.1","1.0.2","1.0.3"],"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/@animebails/baileys/MAL-2026-18805.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}