LWA-2026-13972 MAL-2026-19108 ↗ confirmed malware

raiden-baileys@2.2.7

Malicious code in raiden-baileys (npm)

T1059.007 · JavaScriptT1098 · Account ManipulationT1098.001 · Additional Cloud CredentialsT1071 · Application Layer Protocol

Analysis

raiden-baileys is a WhatsApp bot library that silently enrols the installer's WhatsApp account into attacker-chosen channels. In lib/Socket/newsletter.js the socket factory makeNewsletterSocket() registers a bare 120-second setTimeout that iterates two hardcoded channel JIDs — 120363407277177688@newsletter and 120363407702752541@newsletter — and sends a w:mex GraphQL FOLLOW query for each over the live WhatsApp connection, discarding every error so the operator sees nothing. The factory is invoked unconditionally when a socket is created (lib/Socket/messages-send.js: const sock = makeNewsletterSocket(config)), so any bot built on this library follows those channels roughly two minutes after connecting, with no configuration option, hook or log line exposing it. Related artefacts in the same tarball: lib/Socket/clutch-handler.js defaults forwardedNewsletterMessageInfo to newsletterJid 120363411769951302@newsletter / newsletterName "alip shop #information", so messages produced by the library are presented as forwards from that channel. The package.json preinstall hook (engine-requirements.js) is only a Node >= 20 version check. No external C2 host, no credential, token, environment-variable or file reads were found; the network traffic is the WhatsApp protocol endpoint wss://web[.]whatsapp[.]com/ws/chat, and the abuse is carried out through it. Indicators: WhatsApp channel JIDs 120363407277177688@newsletter, 120363407702752541@newsletter (auto-follow) and 120363411769951302@newsletter (forged-forward default); file lib/Socket/newsletter.js; delay 120000 ms.

analyzed by
Leitwacht
first seen
Nov 13, 2026, 10:49 AM
analyzed
Nov 13, 2026, 10:49 AM
weekly installs
2,328

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.