@ruthless-imperium/baileys@1.0.0
Malicious code in @ruthless-imperium/baileys (npm)
Analysis
An unofficial republish of the baileys WhatsApp Web library, published under the unrelated scope @ruthless-imperium with the upstream vendor identity rewritten to "noxleyss"/"Calver". Installing it executes package/engine-requirements.js from the preinstall hook (a Node.js 20+ version gate), and requiring lib/index.js additionally clears the terminal, prints a branded banner, and spawns a child process running inline JavaScript (a spinner loop) via node -e. Its version check queries registry[.]npmjs[.]org for a package named "noxleyss" rather than the real upstream package, and library code uploads media unattended to public anonymous file hosts: catbox.moe, scdn.pdi.moe, qu.ax, uguu[.]se, tmpfiles[.]org and ezgif[.]com, with hardcoded links to levvicode[.]cloud embedded in message payloads. This version of the tree contains no environment or file exfiltration path and no remote-payload execution; WAProto/index.js and lib/WAM/constants.js are pure protocol/telemetry constant tables.
- analyzed by
- Leitwacht
- first seen
- Nov 12, 2026, 06:35 AM
- analyzed
- Nov 12, 2026, 06:40 AM
- weekly installs
- 209
Related advisories
- @ruthless-imperium/baileys@0.0.0-stage same package
- @ruthless-imperium/baileys@1.0.3 same package
- @yuanjielab/cli@0.15.0
- @violetix/baileys@0.5.5
- elaina-baileys@1.0.2
- @violetix/baileys@0.5.1
- @xzvbailss/baileys@5.0.0
- @xzvbailss/baileys@6.0.0
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.