raiden-baileys@2.1.5
Malicious code in raiden-baileys (npm)
Analysis
raiden-baileys is a modified fork of the Baileys WhatsApp library that silently enrols the host's paired WhatsApp account into operator-chosen channels. In lib/Socket/newsletter.js the module defines, at top level (outside any exported function and with no config gate), a `setTimeout(..., 120000)` that, two minutes after the module is loaded, iterates a hardcoded list of newsletter JIDs — "120363407277177688@newsletter" and "120363407702752541@newsletter" — and sends a newsletter FOLLOW IQ for each to WhatsApp, swallowing every error so the action is invisible. lib/Socket/messages-send.js requires ./newsletter on line 15, so the timer arms whenever the library is imported by the host application; the account follows the channels without any user action, opt-in or log entry. The package otherwise communicates only with WhatsApp's own endpoint (wss://web[.]whatsapp[.]com/ws/chat); it carries no credential-harvesting or exfiltration logic, and its preinstall hook (engine-requirements.js) only checks the Node.js major version and exits if it is below 20. Observable effect: unilateral modification of the user's account subscription state to drive follower counts on the two hardcoded channels.
- analyzed by
- Leitwacht
- first seen
- Nov 2, 2026, 02:35 AM
- analyzed
- Nov 2, 2026, 02:36 AM
- weekly installs
- 2,328
Related advisories
- raiden-baileys@2.2.7 same package
- raiden-baileys@2.2.6 same package
- raiden-baileys@2.2.5 same package
- raiden-baileys@2.2.4 same package
- @chatbridgeworld/baileys@1.0.0
- @ubedsockets/baileys@1.7.9
- persona-ai-sdk@1.0.0
- @iobandamwer/cache-helper@1.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.