@zeronexcode/baileys (npm) · Malicious Code
Affects @zeronexcode/baileysSource GCVE Database
Malicious package : remove @zeronexcode/baileys and rotate any secrets on hosts that installed it.
Data as of 12 Oct 2026, 21:46 UTC
Malicious package
Published to npm · OSV MAL-2026-17326
What to do
Remove @zeronexcode/baileys from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@zeronexcode/baileys | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The @zeronexcode/baileys npm package version 7.0.0-zeronex.8 contains malicious code that causes the user's WhatsApp account to automatically follow a hardcoded channel without user consent. This behavior triggers whenever a connection is opened and cannot be disabled by the user.