raiden-baileys@2.1.6
Malicious code in raiden-baileys (npm)
Analysis
raiden-baileys 2.1.6 is a modified WhatsApp (Baileys) library that silently enrols the bot owner's WhatsApp account into hardcoded channels. lib/Socket/newsletter.js defines makeNewsletterSocket; inside it, an unexported and undelivered `setTimeout(async () => {...}, 120000)` waits two minutes and then, for each of two hardcoded channel JIDs — "120363407277177688@newsletter" and "120363407702752541@newsletter" — sends the WhatsApp newsletter FOLLOW query (query id 7871414976211147 defined in lib/Types/Newsletter.js) through the connected account. There is no corresponding unfollow and no user-facing option to disable it, so any application that builds a socket through this module makes the user's account follow channels it never chose; the two-minute delay keeps the action outside short startup observation windows. A second hardcoded channel, "120363411769951302@newsletter" (with the display name "alip shop #information"), is injected in lib/Socket/clutch-handler.js as the forwardedNewsletterMessageInfo of outgoing event messages, making this library's bot traffic advertise an unrelated channel. The package contains no credential, environment or wallet access; the payload is account manipulation and concealed channel attribution. IOCs: WhatsApp channel JIDs 120363407277177688@newsletter, 120363407702752541@newsletter, 120363411769951302@newsletter.
- 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
- @ubedsockets/baileys@1.7.12
- @ubedsockets/baileys@1.7.9
- atlassian-wallboard-plugin@10.0.0
- @ifasn/mmdd-doc-mcp@1.1.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.