@rixxcodex/baileys (npm) · Malicious Code
Affects @rixxcodex/baileysSource GCVE Database
Malicious package : remove @rixxcodex/baileys and rotate any secrets on hosts that installed it.
Data as of 24 Sep 2026, 06:54 UTC
Malicious package
Published to npm · OSV MAL-2026-16483
What to do
Remove @rixxcodex/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
| Product | Affected | Fixed in |
|---|---|---|
| npm@rixxcodex/baileys | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The @rixxcodex/baileys npm package is a fork of the Baileys WhatsApp library that includes undocumented functionality allowing the package author to perform actions on the installer's authenticated WhatsApp session at runtime. It loads remote, mutable JSON lists from GitHub URLs and uses them to execute queries on the connected WhatsApp account without user knowledge. Additionally, it depends on a cryptographic library fetched directly from a GitHub repository without integrity verification, introducing further risk. These behaviors are not documented and could enable unauthorized account actions.