This package appears in our research on the malicious Baileys forks, with how it works, the full package list and what to do if you installed it.
Blocked by malware advisory
OpenSSF/OSV malware advisory MAL-2026-19025 identifies this version as malicious and supplies the Firewall block. LPM AI assessed this version as suspicious; the assessments disagree.
What to do: remove this version and, if it ran, rotate the credentials it could reach. Remediation↓
OpenSSF/OSV malicious advisory
published · by OpenSSF/OSV
OpenSSF/OSV advisory MAL-2026-19025 confirms this npm version as malicious.
Advisory
MAL-2026-19025
Source
OpenSSF Malicious Packages via OSV
Summary
Malicious code in vendetazuu-baileys (npm)
Details
vendetazuu-baileys is a fork of the Baileys WhatsApp Web library that silently subscribes the installer's own WhatsApp account to WhatsApp Channels chosen by the publisher. When the socket connects, code in lib/Socket/socket.js sends the WhatsApp w:mex FOLLOW query for the channel ID(s) 120363399204776509@newsletter, using the victim's authenticated session and without telling them. Same behaviour as the PhantomSub family (MAL-2026-17342).
LPM's AI review found this version suspicious. That disagrees with the OpenSSF/OSV advisory, which supplies the block.
The package adds a recurring WhatsApp query for a hard-coded newsletter to its keepalive path. The inspected code does not establish a follow, post, or other account-changing action, so this is a warning rather than a confirmed malicious action.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review; source fingerprint signature matched known malicious package; routed for review
Trigger
A WhatsApp socket is open and its keepalive timer fires.
Impact
The code automatically interacts with a publisher-selected newsletter target, but the inspected request is a GET and no account-changing action is established.
Mechanism
The timer sends a `w:mex` query to `S_WHATSAPP_NET` containing newsletter ID `120363399204776509@newsletter`.
Evidence
lib/Socket/socket.js
Network endpoints1
S_WHATSAPP_NET (WhatsApp)
Independent scan evidence
public snapshot
AI called this Suspicious at 78.0% confidence as Unknown with medium false-positive risk.
Evidence for AI warning decision
When the WebSocket is open, the keepalive timer sends a `w:mex` query to WhatsApp with a hard-coded newsletter ID.
The query runs inside the repeating keepalive timer, so it is sent automatically while the socket remains active.
Evidence against
The preinstall hook only runs a Node.js version check and exits on versions below 20.
The `w:mex` request is marked `type: "get"`; the inspected code does not show it subscribing, posting, or following the newsletter.
Behavioral surface
SourceChild process · Crypto · Eval · Filesystem · Network · Web socket
Avoid installing vendetazuu-baileys@1.0.0. Remove it from direct dependencies and check your lockfile for transitive copies.
Choose an independently verified alternative or release. This report does not establish that other versions are safe.
If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.