Skip to main content
MalwarePublished

@kropa/baileys (npm) · Malicious Code

Affects @kropa/baileysSource GCVE Database

0

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

Data as of 20 Nov 2026, 22:00 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-20310

What to do

Remove @kropa/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@kropa/baileysAffected
  • 1.0.0 – 1.0.3
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

The @kropa/baileys npm package is a fork of the Baileys WhatsApp library that contains malicious code. It includes an obfuscated module and reconstructs an outbound HTTPS URL to a third-party domain unrelated to WhatsApp infrastructure. This URL is contacted during normal message sending, potentially enabling covert data relay or interception of credentials or messages.

References

Community reviews

Loading reviews…