LWA-2026-14439 MAL-2026-20337 ↗ confirmed malware

@silent404/baileys@7.0.0

Malicious code in @silent404/baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1072 · Software Deployment Tools

Analysis

@silent404/baileys is an unofficial fork of the WhiskeySockets Baileys WhatsApp Web library published under an unrelated scope, presenting itself as a "custom patched version of Baileys" while reusing the upstream package basename, and it is not the @whiskeysockets/baileys project. Installing it executes code on the installer's machine: a preinstall lifecycle hook runs ./engine-requirements.js, and the dependency tree pulls libsignal from a mutable git URL (git+hxxps://github[.]com/whiskeysockets/libsignal-node[.]git) rather than a pinned registry version, so install-time code is resolved from a branch reference rather than an immutable artifact. The package also adds a whatsapp-rust-bridge dependency whose wasm-bindgen glue builds functions dynamically in the Signal crypto paths (lib/Utils/crypto.js, lib/Utils/lt-hash.js, lib/Utils/chat-utils.js). No C2 host, credential or token harvesting, or executable payload was found in the shipped bytes of versions 7.0.0 and 7.0.1: all outbound endpoints in the code are upstream WhatsApp and GitHub resources (wss://web[.]whatsapp[.]com, web[.]whatsapp[.]com/sw.js, raw[.]githubusercontent[.]com/WhiskeySockets/Baileys, mmg[.]whatsapp[.]net), there are no process.env reads, no access to .npmrc/.ssh/.aws or wallet files, and no obfuscated payload. Treat the risk as package-identity impersonation plus install-time execution under an unverified fork identity; users should install the canonical @whiskeysockets/baileys instead.

analyzed by
Leitwacht
first seen
Nov 23, 2026, 12:51 AM
analyzed
Nov 23, 2026, 12:54 AM
npm package ↗ OSV record MAL-2026-20337 ↗ source repo (declared, defanged): hxxps://github[.]com/Silent404Project/Baileys Request takedown / dispute →

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.