@kaze012/raiden-baileys@1.0.1
Malicious code in @kaze012/raiden-baileys (npm)
Analysis
This package is a modified fork of the Baileys WhatsApp library that silently subscribes the user's WhatsApp account to operator-controlled channels. In lib/Socket/newsletter.js, an unconditional `setTimeout(..., 120000)` is registered inside `makeNewsletterSocket`, so it runs as soon as a socket is created. Two minutes later it issues WhatsApp newsletter FOLLOW queries (an IQ with xmlns `w:mex` and query_id `FOLLOW`) for two hardcoded channel JIDs: `120363407277177688@newsletter` and `120363407702752541@newsletter`. Any error is swallowed silently; there is no opt-in, configuration option, or user-visible output. lib/Socket/clutch-handler.js additionally hardcodes `120363411769951302@newsletter` as a default newsletter JID. The package also pins its core crypto dependency to an unofficial fork (`github:RahmadTenpoles/libsignal-node`) instead of the upstream libsignal package, so its signalling layer comes from an unverified third party. There is no reason for a messaging library to follow channels on behalf of the account it runs.
- analyzed by
- Leitwacht
- first seen
- Nov 25, 2026, 08:21 AM
- analyzed
- Nov 25, 2026, 08:23 AM
hxxps://github[.]com/kazehayadev01/raiden-baileys Request takedown / dispute →Related advisories
- @kaze012/raiden-baileys@1.0.0 same package
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.