@prototypevip/baileys (npm) · Malicious Code
Affects @prototypevip/baileysSource GCVE Database
Malicious package : remove @prototypevip/baileys and rotate any secrets on hosts that installed it.
Data as of 7 Aug 2026, 08:02 UTC
Malicious package
Published to npm · OSV MAL-2026-13480
What to do
Remove @prototypevip/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@prototypevip/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 @prototypevip/baileys npm package version 0.0.3 contains malicious code that intercepts incoming WhatsApp messages and, if the bot is not tagged with a specific hardcoded owner string, uses the installer's authenticated WhatsApp session to send an unauthorized Arabic message to the installer's contacts. This behavior is hidden by base64 obfuscation and disrupts normal message handling by throwing an error.