{"id":"MAL-2026-18830","summary":"Malicious code in @fadelsm/baileys (npm)","details":"@fadelsm/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) 120363400362472743@newsletter, 120363406524087186@newsletter, 120363407144637058@newsletter, 120363408367338249@newsletter, 120363409508273158@newsletter, 12036340982021544@newsletter and 4 more (stored as 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:21.343630205Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"ips":[],"urls":[],"domains":[],"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"6124f083369ee555d0d0b32a9702f3f4c0008e4cac4a03195081e861e61297d4"}},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"71dfb4222ed6acd3f788c1e7fd58548e1a631d3b41256ba37b9b19c10d7b65d4"}},{"digests":{"sha256":"8ce0541a2fa8de1851064d401c13d8d7546e3bc347746ca969199a5aac48b850"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"bdf0161f9e9e7f14d77a8049da5cad6876c64882899f55b59875d3c9088b1676"},"paths":["lib/Socket/newsletter.js"]},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"cca01b5bd1ff6181b1db9209d77f3e7faf3b8a399a21631543e782d58ffbf35a"}},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"cf6c5a6b325c4e5a68fe43dd9d83002e1f19e1b522090540ff84e0b35e4fddab"}}]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fadelsm/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@fadelsm/baileys","ecosystem":"npm","purl":"pkg:npm/%40fadelsm/baileys"},"versions":["7.0.1","7.0.2","7.0.3","7.0.4","7.0.5","7.0.6","7.0.7","7.0.8","7.0.9"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@fadelsm/baileys/MAL-2026-18830.json","cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}