{"id":"MAL-2026-18956","summary":"Malicious code in changli-baileys (npm)","details":"changli-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, lib/lib/Socket/newsletter.js, lib/lib/lib/Socket/newsletter.js and 1 more sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363202468807644@newsletter, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).","modified":"2026-11-09T23:15:30.290171349Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"domains":[],"files":[{"digests":{"sha256":"0dc275e419336f38dc5f8b2f3af8d5d7f3aceea1dc8734bd9f427b5be7e4e219"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"85ae34de63b95043451be361c0d4b39039d6cface04a7395407c7361785a2c12"},"paths":["lib/lib/Socket/newsletter.js"]},{"paths":["lib/lib/lib/Socket/newsletter.js"],"digests":{"sha256":"85ae34de63b95043451be361c0d4b39039d6cface04a7395407c7361785a2c12"}},{"paths":["lib/lib/lib/lib/Socket/newsletter.js"],"digests":{"sha256":"85ae34de63b95043451be361c0d4b39039d6cface04a7395407c7361785a2c12"}}],"ips":[],"urls":[]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/changli-baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"changli-baileys","ecosystem":"npm","purl":"pkg:npm/changli-baileys"},"versions":["0.1.2","0.1.3"],"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/changli-baileys/MAL-2026-18956.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}