Skip to main content
MalwarePublished

danz-bails (npm) · Malicious Code

Affects danz-bailsSource GCVE Database

0

Malicious package : remove danz-bails and rotate any secrets on hosts that installed it.

Data as of 16 Nov 2026, 18:04 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17444

What to do

Remove danz-bails 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
npmdanz-bailsAffected
  • =1.0.0
  • =1.1.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 danz-bails npm package, a fork of the Baileys WhatsApp Web library, contains malicious code that covertly uses the installer's authenticated WhatsApp session to subscribe the account to specific WhatsApp Channels without user consent. This behavior occurs automatically when a WhatsApp socket is created and cannot be disabled for three hidden channels. The package does not exfiltrate credentials or maintain persistence but abuses the victim's account to inflate channel subscriber counts. Versions 1.0.0 and 1.1.0 are affected.

References

Community reviews

Loading reviews…