LWA-2026-14109 MAL-2026-19028 ↗ confirmed malware

venzuu-baileys@1.0.0

Malicious code in venzuu-baileys (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1036 · MasqueradingT1071.001 · Web Protocols

Analysis

This package is a fork of the Baileys WhatsApp library with a hidden routine injected into its connection keep-alive code. On the recurring keep-alive timer in lib/Socket/socket.js (started after the WhatsApp session handshake completes), the package sends an extra request to WhatsApp's web-mex query endpoint using query_id 7871414976211147 — the library's own newsletter-FOLLOW operation — with the hardcoded channel identifier 120363399204776509@newsletter. The effect is that any application using this package silently follows a specific WhatsApp channel with the linked account on every keep-alive tick, without exposing it through any documented API and without the user being notified. The injected block is spliced into unrelated connection-maintenance code and its errors are swallowed with an empty .catch() so it stays invisible. The only other behaviour found is stock Baileys functionality: the WhatsApp websocket endpoint wss://web[.]whatsapp[.]com/ws/chat and the normal npm dependency fetches. No attacker-controlled destination or IP is present, and no credential, token or environment data is read or sent.

analyzed by
Leitwacht
first seen
Nov 15, 2026, 10:00 AM
analyzed
Nov 16, 2026, 12:09 AM
weekly installs
238

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.