{"id":"MAL-2026-20947","summary":"Malicious code in @kazehayadev1/raidenx-baileys (npm)","details":"@kazehayadev1/raidenx-baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that silently subscribes the user's WhatsApp account to two channels. When an application that imports it creates a socket with `makeWASocket`, `makeNewsletterSocket` in `lib/Socket/newsletter.js` schedules a timer that, two minutes later, sends the newsletter FOLLOW query for `120363407277177688@newsletter` and `120363407702752541@newsletter` on the user's authenticated session and discards any error; no option disables it and the README does not mention it. The same two channel IDs are hardcoded in raiden-baileys (MAL-2026-19108), and the npm account kazehayadev1 published this package on 2026-12-01.","modified":"2026-12-02T02:15:05.709520708Z","published":"2026-12-01T05:24:41Z","database_specific":{"iocs":{"files":[{"digests":{"sha256":"04a01ee91666f7082e58c96db61609a72fb35a82ab7ae67bf4ecdbd5540648d5"},"note":"Schedules a FOLLOW of 120363407277177688@newsletter and 120363407702752541@newsletter 120 s after the socket is created.","paths":["lib/Socket/newsletter.js"],"source":"PACKAGE_ARCHIVE"}]}},"affected":[{"package":{"name":"@kazehayadev1/raidenx-baileys","ecosystem":"npm","purl":"pkg:npm/%40kazehayadev1/raidenx-baileys"},"versions":["1.0.0"],"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/@kazehayadev1/raidenx-baileys/MAL-2026-20947.json"}}],"schema_version":"1.9.2","credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}