Skip to main content
MalwarePublished Updated

santana-baileys (npm) · Malicious Code

Affects santana-baileysSource GCVE Database

0

Malicious package : remove santana-baileys and rotate any secrets on hosts that installed it.

Data as of 12 Sep 2026, 06:46 UTC

Classification

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

ProductAffectedFixed in
npmsantana-baileysAffected
  • =2.0.4
  • =2.0.2
  • =2.0.3
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

Community reviews

Loading reviews…