Skip to main content
MalwarePublished

@erlanzz/baileys (npm) · Malicious Code

Affects @erlanzz/baileysSource GCVE Database

0

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

Data as of 10 Nov 2026, 15:21 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17440

What to do

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

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

Description

The @erlanzz/baileys npm package version 1.0.0 is a malicious fork of the Baileys WhatsApp Web library that covertly uses the installer's authenticated WhatsApp session to subscribe the account to specific WhatsApp Channels without user consent. This behavior inflates the publisher's channel subscribers by sending WhatsApp FOLLOW queries to predefined channel JIDs. The malicious code runs when an application creates a WhatsApp socket with the library and does not send credentials off-host or persist beyond runtime.

References

Community reviews

Loading reviews…