{"id":"MAL-2026-18804","summary":"Malicious code in @alzx7z/baileys (npm)","details":"@alzx7z/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) 120363406524087186@newsletter, 120363407144637058@newsletter, 120363408367338249@newsletter, 12036340836738249@newsletter, 12036340882345807@newsletter, 120363409508273158@newsletter and 3 more (stored as base64 strings and character-code arrays), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-09T23:15:18.560864501Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"urls":[],"domains":[],"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"2021b6aaae6e646cf71ab1ca719a742fbef76dd18f9e86205e11839ee4baaca8"}},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"3af5e844e68434c3569ff291ad3e860377a9a800ca291eccc446a18dd38e1be1"}},{"digests":{"sha256":"8411eead6cee215714012e1b896da63cc39bbceeea14d7fb379803d440db9bc4"},"paths":["lib/Socket/newsletter.js"]},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"8668c2667442a36c5799e37c8b2b4c4f1b41d37fca9656aa67d86b8b7158cd08"}}],"ips":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@alzx7z/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@alzx7z/baileys","ecosystem":"npm","purl":"pkg:npm/%40alzx7z/baileys"},"versions":["2.0.4","2.0.5","2.0.6","2.0.7","2.0.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@alzx7z/baileys/MAL-2026-18804.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"}]}