{"id":"MAL-2026-18937","summary":"Malicious code in astrabail (npm)","details":"astrabail 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) 120363394395254196@newsletter, 120363406005175144@newsletter and the channel invite code(s) 0029Vazo6KM8kyyJ4eWh3A25, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-09T23:15:27.035960243Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"218c6eb30580660bf95cae648f0d623eda528d969e447057d2eaeae775219128"}},{"digests":{"sha256":"5816c5355aa4186102b86c0bcd1342f79ff2467d99163bec68497dbb67b06510"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"95474c5954d629e8f88699e9c4a689cf0dd17d594e36faf73a1997a7f9771ebd"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"fb307693efe1d7f5232ff263c4e2381504cc705613b90db79f0f3fe81d2c268d"},"paths":["lib/Socket/newsletter.js"]}],"ips":[],"urls":[],"domains":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/astrabail"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"astrabail","ecosystem":"npm","purl":"pkg:npm/astrabail"},"versions":["1.0.10","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.1.3","1.1.6","1.2.0","1.2.1","1.2.4"],"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/astrabail/MAL-2026-18937.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}