Skip to main content
MalwarePublished Updated

luoxy-baileys (npm) · Malicious Code

Affects luoxy-baileysSource GCVE Database

0

Malicious package : remove luoxy-baileys and rotate any secrets on hosts that installed it.

Data as of 16 Nov 2026, 17:49 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-17446

What to do

Remove luoxy-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
npmluoxy-baileysAffected
  • =7.1.1
  • =7.1.2
  • =7.1.3
Fixed in–

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

Description

The luoxy-baileys npm package, a fork of the Baileys WhatsApp Web library, contains malicious code that automatically subscribes the user's authenticated WhatsApp account to certain WhatsApp Channels (newsletters) chosen by the publisher. This auto-subscription occurs without explicit user consent, triggered 90 seconds after a WhatsApp connection is established. The list of channels to follow is partially hardcoded and partially fetched at runtime from a publisher-controlled GitHub URL, allowing dynamic modification of subscribed channels. The package does not exfiltrate credentials or install persistent backdoors, but it covertly inflates the publisher's channel subscriber counts. This behavior is enabled by default and undocumented except for a comparison table in the README. A user can opt out by setting a configuration flag to false.

References

Community reviews

Loading reviews…