@xzvbailss/baileys@6.0.8
Malicious code in @xzvbailss/baileys (npm)
Analysis
This package impersonates the WhiskeySockets Baileys WhatsApp library: it is published under the unofficial scope @xzvbailss while keeping the upstream package basename "baileys", so installing @xzvbailss/baileys in place of @whiskeysockets/baileys substitutes a fork maintained by a different, unaffiliated author. The tarball ships no source repository — the package.json "repository" and "homepage" fields point only at Telegram channels (t[.]me/JustRxVz, t[.]me/XzRzSynxC) — and its contact channel is Telegram rather than a code host. Observed contents and behaviour: a preinstall hook runs "node ./engine-requirements.js", which only aborts when the Node major version is below 20; lib/index.js prints an ASCII banner and the operator's Telegram URLs (t[.]me/XzRzSynxC, t[.]me/JustRxVz) to the console every time the module is imported; lib/Socket/luxu.js hardcodes the operator's WhatsApp channel (newsletter JID 120363421563597486@newsletter, display name "LiniusNv") and stamps it into the forwarded-newsletter context of the poll-result and event messages the library builds, attributing messages sent through the installer's bot to that channel. The library implements the WhatsApp client protocol (web[.]whatsapp[.]com, call[.]whatsapp[.]com) and stores WhatsApp session credentials supplied by the caller. No network endpoint other than WhatsApp's own hosts and raw[.]githubusercontent[.]com/WhiskeySockets appears in the shipped code.
- analyzed by
- Leitwacht
- first seen
- Nov 13, 2026, 11:56 AM
- analyzed
- Nov 13, 2026, 12:30 PM
- weekly installs
- 695
Related advisories
- @xzvbailss/baileys@6.0.5 same package
- @xzvbailss/baileys@5.0.0 same package
- @xzvbailss/baileys@6.0.0 same package
- @xzvbailss/baileys@1.0.0 same package
- sol-wallet-adapater@1.0.2
- base65-77x@0.0.0-stage
- base65-15x@5.0.2
- base65-77x@5.0.2
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.