noxleys (npm) · Malicious Code
Affects noxleysSource GCVE Database
Malicious package : remove noxleys and rotate any secrets on hosts that installed it.
Data as of 12 Aug 2026, 16:41 UTC
Malicious package
Published to npm · OSV MAL-2026-13831
What to do
Remove noxleys 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 |
|---|---|---|
| npmnoxleys | 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 noxleys npm package, a fork of the Baileys WhatsApp library, contains malicious code that automatically follows and mutes WhatsApp channels controlled by the package author without user consent. This behavior is triggered on every WhatsApp connection update when the connection opens, after a 30-second delay, by fetching a mutable list of channel IDs from an author-controlled GitHub URL. The package does not disclose this behavior and uses the installer's authenticated WhatsApp account to perform these actions. No credential theft or environment scraping is reported, but the package effectively grants the author control over the user's WhatsApp interactions. The package versions 1.0.0 through 1.1.6 are affected.
References
- github.com/advisories/GHSA-rch8-8p8v-23j7 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.1.6 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.1.5 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.1.4 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.0.0 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.1.1 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.1.0 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.1.3 (opens in a new tab)
- npmjs.com/package/noxleys/v/1.1.2 (opens in a new tab)