{"id":"MAL-2026-18835","summary":"Malicious code in @fr3xtoy/baileys (npm)","details":"@fr3xtoy/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) 120363418951177504@newsletter (stored as base64 strings and shifted 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:19.624857189Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"02ebdb7469369b2346372b53259d0d6d9022027cf0d7bf8cd7ca09846be1355b"}},{"digests":{"sha256":"32a93b619dca80366549ec519f4b9119ab4716befb13e2db12fcf23552b9eeef"},"paths":["lib/Socket/newsletter.js"]},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"9ca7730a6cc7c08cc32c50bb9819fa932e20bcf0524311a518ad061bf9f93572"}}],"ips":[],"urls":[],"domains":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@fr3xtoy/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@fr3xtoy/baileys","ecosystem":"npm","purl":"pkg:npm/%40fr3xtoy/baileys"},"versions":["1.1.0","1.1.2","1.1.3"],"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/@fr3xtoy/baileys/MAL-2026-18835.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}