{"id":"MAL-2026-18865","summary":"Malicious code in @modzneverdie/baileys (npm)","details":"@modzneverdie/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) 120363379975415016@newsletter, 120363419207885800@newsletter, 120363421726813851@newsletter, 120363423345930954@newsletter (stored as base64 strings), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-09T23:15:22.438663889Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"files":[{"digests":{"sha256":"21b0fcca578fe3b2575bc5a50f7aec49ca1851dbbf8981bf48331760c1cf51ac"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"3e1ab6ed5e4eae257bb89bd77bcbc9e6d631236d7a103c99ef6954035551a366"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"82e66390aa3915f508d1fec681d17bc47ba110283bc3d6b45a04c958ecb9b6e8"},"paths":["lib/Socket/newsletter.js"]},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"e697646b9af8c6590652fb8e52d13e74f485f87d9db99b3889244e6b04fc60cb"}}],"ips":[],"urls":[],"domains":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@modzneverdie/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@modzneverdie/baileys","ecosystem":"npm","purl":"pkg:npm/%40modzneverdie/baileys"},"versions":["17.1.1","17.1.17","17.1.18","17.1.19","17.1.2","17.1.20","17.1.3"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@modzneverdie/baileys/MAL-2026-18865.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}]}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}