{"id":"MAL-2026-18675","summary":"Malicious code in @denzz221/baileys (npm)","details":"@denzz221/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) 120363431475943819@newsletter (stored base64-encoded), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-05T05:15:03.464251277Z","published":"2026-10-26T00:00:00Z","database_specific":{"iocs":{"domains":[],"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"ae7bbc8bd28e121e1f66b7619c71feed12e138f80fb195944e7a4ebd3efe13e8"}},{"digests":{"sha256":"d7a57dd093097dc2337bcd92fcf06ba17f8ab4be8c6b105064290f0c81b50186"},"paths":["lib/Socket/newsletter.js"]}],"ips":[],"urls":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@denzz221/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@denzz221/baileys","ecosystem":"npm","purl":"pkg:npm/%40denzz221/baileys"},"versions":["2.0.0","7.0.0","8.0.5","8.0.6","8.0.8","8.1.1","8.1.2","8.1.3","8.1.5","8.1.6","8.1.7"],"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/@denzz221/baileys/MAL-2026-18675.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}