{"id":"MAL-2026-18861","summary":"Malicious code in @langitdeveloper/baileys (npm)","details":"@langitdeveloper/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) 120363418090359162@newsletter, 120363426930096454@newsletter and a list downloaded at runtime from https://raw.githubusercontent.com/FadelSM/IDCH/refs/heads/main/idch.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:22.636444742Z","published":"2026-10-27T00:00:00Z","database_specific":{"iocs":{"files":[{"digests":{"sha256":"1ed757ff89cf4799b0c70f72a1a0814db30b5bc70a2654ac9ef5e520067ce65f"},"paths":["lib/Socket/newsletter.js"]},{"digests":{"sha256":"3ab9c9c1ceebee65fb3f6642e47372ae2480ac9c945858d748d42c85dd447e47"},"paths":["lib/Socket/newsletter.js"]},{"paths":["lib/Socket/newsletter.js"],"digests":{"sha256":"f91b595ff2f405e25138ee1b2d911ffdaa0ea4510466ca42aea896c3fe61f88d"}}],"ips":[],"urls":["https://raw.githubusercontent.com/FadelSM/IDCH/refs/heads/main/idch.json"],"domains":["raw.githubusercontent.com"]}},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@langitdeveloper/baileys"},{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@langitdeveloper/baileys","ecosystem":"npm","purl":"pkg:npm/%40langitdeveloper/baileys"},"versions":["2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.1.7","2.1.9","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.2.6"],"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/@langitdeveloper/baileys/MAL-2026-18861.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}