Skip to main content
MalwarePublished Updated

@modss/baileys (npm) · Malicious Code

Affects @modss/baileysSource GCVE Database

0

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

Data as of 26 Oct 2026, 16:28 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-15918

What to do

Remove @modss/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@modss/baileysAffected
  • 1.0.0 – 2.0.0
4 affected builds
Fixed in–

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

Description

@modss/baileys is a maliciously modified fork of the Baileys WhatsApp Web library that automatically follows publisher-controlled WhatsApp channels at runtime. It fetches a remote list of newsletter IDs from a GitHub URL and issues follow commands on the user's authenticated WhatsApp session without user consent. This behavior is embedded in all published versions of the package. No credential or session key theft was observed, but the package grants an attacker control over the WhatsApp session's follow actions. The package should be considered fully compromised and removed immediately.

References

Community reviews

Loading reviews…