{"id":"MAL-2026-18819","summary":"Malicious code in @devil-fight/baileys (npm)","details":"@devil-fight/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) 120363389012094856@newsletter, 120363423890054787@newsletter (stored as base64 strings) and a list downloaded at runtime from https://raw.githubusercontent.com/VinzzOfficial/Baileys/main/WAProto/id-channel/idch.json, https://raw.githubusercontent.com/VinzzOfficial/Baileys/main/WAProto/id-channel/idgc.json, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-09T23:15:20.620375782Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"ips":[],"urls":["https://raw.githubusercontent.com/VinzzOfficial/Baileys/main/WAProto/id-channel/idch.json","https://raw.githubusercontent.com/VinzzOfficial/Baileys/main/WAProto/id-channel/idgc.json"],"domains":["raw.githubusercontent.com"],"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"12b9673cc3c5ce5d53b183120e329e568ae784864a2ecd1ed4df20207e6844f9"}},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"3aaa626475d58c17bb6f872424f3cf154ec48ee408760a4c4d997d5deeff128b"}},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"504e723a407b68dc8ec3686d138aa5ea862e073b1473bd77b4fe929e55068e46"}},{"digests":{"sha256":"6622cec5fa21c6378173e34433905055b23bb962cb73a07af8a248092b7ea744"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"88608570874bd5370d63ed559417ac60b90d1308e6de03e2a67347576f86d313"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"8dccb3c72e08e0d603196ee3752e0e7da8cddbc830c6383daadc5f387155c8a8"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"f44558021a692cfc17f5e2bcf5874f14f714d8dc38b69a0a7dfdbfadb5aae8c0"},"paths":["lib/Socket/newsletter.js"]}]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@devil-fight/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@devil-fight/baileys","ecosystem":"npm","purl":"pkg:npm/%40devil-fight/baileys"},"versions":["1.0.0","1.0.1","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@devil-fight/baileys/MAL-2026-18819.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}