Skip to main content
MalwarePublished Updated

dzyhaxz-baileys (npm) · Malicious Code

Affects dzyhaxz-baileysSource GCVE Database

0

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

Data as of 29 Oct 2026, 14:18 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17622

What to do

Remove dzyhaxz-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
npmdzyhaxz-baileysAffected
  • =1.1.1
  • =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 dzyhaxz-baileys npm package is a malicious fork of the Baileys WhatsApp library that automatically causes WhatsApp-authenticated users to follow a hardcoded channel without their consent. It also aliases critical cryptographic dependencies to author-controlled packages with mutable version tags, enabling supply-chain manipulation. This behavior violates the package's own documentation and poses a deceptive supply-chain risk. Although it does not steal credentials or enable remote code execution directly, any system with this package installed should be considered fully compromised.

References

Community reviews

Loading reviews…