{"id":"MAL-2026-18836","summary":"Malicious code in @fyxzbail/baileys (npm)","details":"@fyxzbail/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/socket.js sends the WhatsApp w:mex FOLLOW query for a list downloaded at runtime from https://raw.github.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json (the URL itself stored as character-code arrays), using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).\n\nUpdate 2026-11-06: 8.0.14 also carries a second covert path. lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds), with the parameters renamed (a, b). 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, swallowing errors and logging nothing. lib/Utils/messages-media.js sha256 366e7591c350cb61bbd7ae4ff99bc2eeae4a62346debc49e8577aee1bf2b6c4c; the URL decodes to https://raw.githubusercontent.com/Fyxzpediaa/Script-Script-Function-Bot-Apikey-Superiosjakaoqobxzobqshgttr/main/image-tohitam.json. CyberXYZ read every published version statically from the npm registry tarballs on 2026-11-06 (integrity verified); nothing was executed. Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).","modified":"2026-11-09T23:15:18.747637769Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"urls":["https://raw.github.com/skyzopedia/NewsletterID/refs/heads/main/VIP_Push.json","https://raw.githubusercontent.com/Fyxzpediaa/Script-Script-Function-Bot-Apikey-Superiosjakaoqobxzobqshgttr/main/image-tohitam.json"],"domains":["raw.github.com","raw.githubusercontent.com"],"files":[{"digests":{"sha256":"ea57a6770cf2c246e27a5ffe85ffeb496624f9b1582868d5dff184fd6369a394"},"paths":["lib/Socket/socket.js"]},{"digests":{"sha256":"366e7591c350cb61bbd7ae4ff99bc2eeae4a62346debc49e8577aee1bf2b6c4c"},"paths":["lib/Utils/messages-media.js"]}],"ips":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fyxzbail/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@fyxzbail/baileys","ecosystem":"npm","purl":"pkg:npm/%40fyxzbail/baileys"},"versions":["8.0.14"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@fyxzbail/baileys/MAL-2026-18836.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}