Skip to main content
MalwarePublished Updated

@nexustechpro/baileys (npm) · Malicious Code

Affects @nexustechpro/baileysSource GCVE Database

0

Malicious package : remove @nexustechpro/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-16104

What to do

Remove @nexustechpro/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@nexustechpro/baileysAffected
  • =2.2.7
  • =2.2.5
  • =2.2.4
Fixed in–

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

Description

@nexustechpro/baileys version 2.2.7 is a maliciously modified fork of the WhatsApp library 'baileys' containing heavily obfuscated code in a core module that handles sensitive WhatsApp session state. It includes a floating dependency on 'whatsapp-rust-bridge' with no version pinning or integrity checks, allowing arbitrary code execution. Installation or use of this package compromises the host system, risking exposure of all stored secrets and keys.

References

Community reviews

Loading reviews…