Skip to main content
MalwarePublished

@zanta/baileys (npm) · Malicious Code

Affects @zanta/baileysSource GCVE Database

0

Malicious package : remove @zanta/baileys and rotate any secrets on hosts that installed it.

Data as of 12 Oct 2026, 22:01 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17443

What to do

Remove @zanta/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
npm@zanta/baileysAffected
  • =1.0.0
  • =1.0.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The @zanta/baileys npm package, a fork of the Baileys WhatsApp Web library, contains malicious code that automatically subscribes the user's authenticated WhatsApp account to a specific WhatsApp Channel controlled by the publisher without user consent. This behavior occurs during the login-success event and is present in versions 1.0.0 and 1.0.1. The package does not exfiltrate credentials or maintain persistence, but it covertly inflates the publisher's channel subscribers using the victim's account.

References

Community reviews

Loading reviews…