venzuu-baileys@1.0.0
Malicious code in venzuu-baileys (npm)
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
- testpackage83@1.0.1
- amanexfujimiya-baileys@8.6.25
- @devil-fight/baileys@1.0.5
- @xzvbailss/baileys@6.0.8
- 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.