@mikudeveloper/baileys (npm) · Malicious Code
Affects @mikudeveloper/baileysSource GCVE Database
Malicious package : remove @mikudeveloper/baileys and rotate any secrets on hosts that installed it.
Data as of 12 Oct 2026, 22:08 UTC
Malicious package
Published to npm · OSV MAL-2026-16386
What to do
Remove @mikudeveloper/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@mikudeveloper/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 @mikudeveloper/baileys npm package version 1.0.0 contains malicious code that executes unauthorized actions during installation and runtime. It depends on an unverified git repository for a critical library, allowing the repository owner to execute arbitrary code on any system installing the package. Additionally, it silently subscribes the user's WhatsApp session to channels controlled by the attacker by fetching a mutable remote list, without user disclosure.