Skip to main content
MalwarePublished Updated

@fhkry/baileys (npm) · Malicious Code

Affects @fhkry/baileysSource GCVE Database

0

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

Data as of 15 Jul 2026, 12:50 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-4803

What to do

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

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

Description

The @fhkry/baileys npm package (version 8.0.13) is a malicious fork of the Baileys WhatsApp Web library. It silently performs unauthorized WhatsApp newsletter subscription actions on the user's authenticated WhatsApp account by fetching a remote, mutable list controlled by the attacker. The malicious behavior is obfuscated in the source code to evade detection. Any application using this package and calling makeWASocket() unknowingly acts as a node amplifying the attacker's newsletter subscriptions. The package compromises the host system, potentially exposing all stored secrets and keys.

References

Community reviews

Loading reviews…