Skip to main content
MalwarePublished

@yshtxxproject/baileys (npm) · Malicious Code

Affects @yshtxxproject/baileysSource GCVE Database

0

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

Data as of 20 Nov 2026, 21:47 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-19072

What to do

Remove @yshtxxproject/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@yshtxxproject/baileyspkg:npm/%40yshtxxproject%2FbaileysOther threatsAffected
  • =0.0.0-stage
  • =0.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 npm package '@yshtxxproject/baileys' is a trojanized fork of the legitimate Baileys WhatsApp library. It contains malicious code that, upon connection, automatically subscribes the victim to attacker-controlled WhatsApp newsletter channels using hardcoded newsletter JIDs. This behavior is not present in the legitimate Baileys library. All published versions of this malicious package are affected. Systems with this package installed should be considered fully compromised.

References

Community reviews

Loading reviews…