{"id":"MAL-2026-20808","summary":"Malicious code in @lyyncode/lyyn-bail (npm)","details":"@lyyncode/lyyn-bail 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. lib/Utils/messages-media.js exports loadBase, which makeNewsletterSocket (lib/Socket/newsletter.js) calls on every socket creation as loadBase(newsletterWMexQuery, QueryIds). 80 seconds later it fetches a channel list from a URL stored as base64 and, 5 seconds apart, calls newsletterWMexQuery(id, QueryIds.FOLLOW) for each entry with the victim's authenticated session, swallowing errors. Nothing is logged and the README does not mention it. 8.0.8 to 9.0.4: lib/Utils/messages-media.js sha256 657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939 (byte-identical to @rixxcodex/baileys 8.2.0), URL hxxps://raw[.]githubusercontent[.]com/skyzopedia/Screaper/refs/heads/main/idChannel.json (23 channel IDs on 2026-11-06). 9.0.5: sha256 810d8f9f6b369ba64a3760beea0c0ccfd449399da2d8aedb458d7ce168394963, URL hxxps://ch-lyyncode[.]vercel[.]app/lyyn. 9.0.6 to 9.0.8: sha256 20563d8117ea37b0df09bc579be38b153000c881022e62536b30b081a41712a4, URL hxxps://ch-rho[.]vercel[.]app/lyyn (1 channel ID on 2026-11-06). Same behaviour as the PhantomSub family (MAL-2026-17342). Amazon Inspector described the same loadBase loop in @rixxcodex/baileys (MAL-2026-16483).","modified":"2026-12-01T09:15:04.907993606Z","published":"2026-11-06T00:00:00Z","database_specific":{"iocs":{"domains":["ch-lyyncode.vercel.app","ch-rho.vercel.app","raw.githubusercontent.com"],"files":[{"paths":["lib/Utils/messages-media.js"],"digests":{"sha256":"657662b2ae2e8cc1808715d8219d4e7ca7182f6eacda8d79b1cee4b721c88939"}},{"digests":{"sha256":"810d8f9f6b369ba64a3760beea0c0ccfd449399da2d8aedb458d7ce168394963"},"paths":["lib/Utils/messages-media.js"]},{"digests":{"sha256":"20563d8117ea37b0df09bc579be38b153000c881022e62536b30b081a41712a4"},"paths":["lib/Utils/messages-media.js"]}],"ips":[],"urls":["https://raw.githubusercontent.com/skyzopedia/Screaper/refs/heads/main/idChannel.json","https://ch-lyyncode.vercel.app/lyyn","https://ch-rho.vercel.app/lyyn"]}},"references":[{"type":"WEB","url":"https://www.ox.security/blog/phantomsub-malicious-npm-campaign-secretly-adds-users-to-whatsapp-spam-channels/"}],"affected":[{"package":{"name":"@lyyncode/lyyn-bail","ecosystem":"npm","purl":"pkg:npm/%40lyyncode/lyyn-bail"},"versions":["8.0.8","8.0.9","9.0.0","9.0.1","9.0.2","9.0.3","9.0.4","9.0.5","9.0.6","9.0.7","9.0.8"],"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/@lyyncode/lyyn-bail/MAL-2026-20808.json"}}],"schema_version":"1.9.2","credits":[{"name":"CyberXYZ","contact":["https://cyberxyz.io"],"type":"FINDER"}]}