NetSight
unscoredMalware report

MAL-2026-19108

Malicious code in raiden-baileys (npm)

Impact

Malicious package. `raiden-baileys` is a trojanized fork of the Baileys WhatsApp library (@whiskeysockets/baileys). on connection it issues an authenticated `w:mex` newsletter FOLLOW mutation (query_id 7871414976211147) that silently subscribes every victim to attacker-controlled WhatsApp channels — hardcoded newsletter JIDs: 120363407277177688@newsletter, 120363407702752541@newsletter, 120363411769951302@newsletter. Legitimate Baileys never hardcodes a channel JID or auto-follows on connect; all published versions are malicious. package.json declares the `libsignal` dependency as `github:RahmadTenpoles/libsignal-node` with no commit SHA, tag, or integrity hash. On `npm install`, this resolves to whatever the default branch of that personal GitHub repository currently contains, including any lifecycle scripts, and executes them on the installer's machine. The source is a personal account unrelated to the official libsignal publisher, and the repository owner can push new code at any time to retroactively change what every subsequent install runs. The declared dependency key equals the standard name `libsignal`, so the override silently substitutes a third-party fork for what would otherwise resolve from the registry — a dependency-confusion-shaped override. The package also presents itself as a fork of the Baileys WhatsApp library (`raiden-baileys`), a lookalike naming pattern against the widely used `@whiskeysockets/baileys` family.

Affected packages

EcosystemPackageAffectedFixed in
npmraiden-baileysunknownnone recorded

Weakness classification

References