@sauruslord/baileys (npm) · Malicious Code
Affects @sauruslord/baileysSource GCVE Database
Malicious package : remove @sauruslord/baileys and rotate any secrets on hosts that installed it.
Data as of 15 Jul 2026, 12:52 UTC
Malicious package
Published to npm · OSV MAL-2026-10657
What to do
Remove @sauruslord/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@sauruslord/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 npm package @sauruslord/baileys contains malicious code that can fully compromise any computer on which it is installed or running. The compromise includes potential unauthorized access to all secrets and keys stored on the affected system. Removal of the package alone does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a different, trusted computer is strongly advised.