santana-baileys (npm) · Malicious Code
Affects santana-baileysSource GCVE Database
Malicious package : remove santana-baileys and rotate any secrets on hosts that installed it.
Data as of 12 Sep 2026, 06:46 UTC
Malicious package
Published to npm · OSV MAL-2026-13456
What to do
Remove santana-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 |
|---|---|---|
| npmsantana-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 santana-baileys npm package, a fork of the Baileys WhatsApp library, contains malicious code that covertly sends message data to an attacker-controlled external host. The package reconstructs a hidden URL via character-code obfuscation and directs WhatsApp session messages to this unauthorized third-party endpoint. Installation or use of this package compromises the host system, potentially exposing all stored secrets and keys.
References
- npmjs.com/package/santana-baileys/v/2.0.4 (opens in a new tab)
- npmjs.com/package/santana-baileys/v/2.0.2 (opens in a new tab)
- npmjs.com/package/santana-baileys/v/2.0.3 (opens in a new tab)
- github.com/advisories/GHSA-g55h-m33r-qg9r (opens in a new tab)
- npmjs.com/package/santana-baileys/v/2.0.0 (opens in a new tab)
- npmjs.com/package/santana-baileys/v/2.0.1 (opens in a new tab)