{"id":"MAL-2026-21127","summary":"Malicious code in @krispedia/baileys (npm)","details":"@krispedia/baileys is a modified copy of the Baileys WhatsApp Web library (@whiskeysockets/baileys) that subscribes the user's WhatsApp account to a channel chosen by its author. When an application that imports it creates a socket, `makeNewsletterSocket` in `lib/Socket/newsletter.js` starts a 120-second `setTimeout` that sends a newsletter FOLLOW query for the hardcoded 120363407277177688@newsletter on the user's authenticated session, ignoring errors. There is no option to turn it off, and the README does not mention it. The same channel ID is followed by earlier Baileys forks already reported, such as raiden-baileys and @kazehayadev1/raidenx-baileys.","modified":"2026-12-04T04:45:04.366958757Z","published":"2026-12-03T04:39:30Z","database_specific":{"iocs":{"files":[{"digests":{"sha256":"10e94f54201bdedee0c520757880de161c85690a43205db0ced02a4e39e74b2b"},"note":"6.7.23-6.7.24: follows 120363407277177688@newsletter 120 s after socket creation, no opt-out.","paths":["lib/Socket/newsletter.js"],"source":"PACKAGE_ARCHIVE"}]}},"affected":[{"package":{"name":"@krispedia/baileys","ecosystem":"npm","purl":"pkg:npm/%40krispedia/baileys"},"versions":["6.7.23","6.7.24"],"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/@krispedia/baileys/MAL-2026-21127.json"}}],"schema_version":"1.9.2","credits":[{"name":"InvisiRisk, Inc.","contact":["https://www.invisirisk.com","mailto:research@invisirisk.com"],"type":"FINDER"}]}