{"id":"MAL-2026-20803","summary":"Malicious code in @alluffyofficial/baileys (npm)","details":"@alluffyofficial/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. lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds). 80 seconds later it fetches a channel list from a URL stored as base64 and, 5 seconds apart, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, swallowing errors. Nothing is logged and the README does not mention it. In 8.0.8 (lib/Utils/messages-media.js sha256 523d10296ed542ddb12a49c93d990b973f58c9bb716fc15547c7c6c37e81065b) the URL decodes to hxxps://ch-allufy[.]vercel[.]app/lyyn, which served 32 channel IDs on 2026-11-06. Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).","modified":"2026-12-01T09:15:05.155718521Z","published":"2026-11-06T00:00:00Z","database_specific":{"iocs":{"urls":["https://ch-allufy.vercel.app/lyyn"],"domains":["ch-allufy.vercel.app"],"files":[{"paths":["lib/Utils/messages-media.js"],"digests":{"sha256":"523d10296ed542ddb12a49c93d990b973f58c9bb716fc15547c7c6c37e81065b"}}],"ips":[]}},"references":[{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@alluffyofficial/baileys","ecosystem":"npm","purl":"pkg:npm/%40alluffyofficial/baileys"},"versions":["8.0.8"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@alluffyofficial/baileys/MAL-2026-20803.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"}]}