{"id":"MAL-2026-18990","summary":"Malicious code in mid-baileys (npm)","details":"mid-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) 120363301416835342@newsletter, 120363426558938675@newsletter and the channel invite code(s) 0029VbCinBtD38CRx4Oh4n1U and a list downloaded at runtime from https://raw.githubusercontent.com/gcamerator/My/refs/heads/main/ids.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:35.440607417Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"ips":[],"urls":["https://raw.githubusercontent.com/gcamerator/My/refs/heads/main/ids.json"],"domains":["raw.githubusercontent.com"],"files":[{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"73481451499b8715adb883623c16d760a51ee8b221074f6474a7bcbfb59fe4ce"}},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"a3ed4171fd41a3ee9e8e73ef213b7c1e80d547602a3ab589c892e7527b46ef9c"}},{"digests":{"sha256":"abc13624d6eab5820b204faa8abaf14c802835a23a5a6b9298114fd650225956"},"paths":["lib/Socket/newsletter.js"]}]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/mid-baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"mid-baileys","ecosystem":"npm","purl":"pkg:npm/mid-baileys"},"versions":["0.7.26","0.7.27","0.7.28","0.7.29","0.7.30"],"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/mid-baileys/MAL-2026-18990.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}