Malicious code in @kazehayadev1/raidenx-baileys (npm)
- GHSA-6mm5-vgwh-3xhg
Description
@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. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/02e7f84d60132a70a17608ba98eb6e1d562c7552/osv/malicious/npm/@kazehayadev1/raidenx-baileys/MAL-2026-20947.json))
Text from the GitHub Advisory record.
Recommendation
Remove the package and rotate any secret the machine that installed it could reach. There is no version to update to.
Affected
@kazehayadev1/raidenx-baileysnpm
No versions listed
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.