ranux-dev (npm) · Malicious Code
Affects ranux-devSource GCVE Database
Malicious package : remove ranux-dev and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:25 UTC
Malicious package
Published to npm · OSV MAL-2026-14259
What to do
Remove ranux-dev 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 |
|---|---|---|
| npmranux-dev | 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 npm package ranux-dev version 5.0.0 includes a malicious dependency substitution where it resolves the widely-used WhatsApp Web library @whiskeysockets/baileys from an unaffiliated GitHub repository instead of the official npm registry. The package source code is heavily obfuscated and includes hardcoded encrypted credentials and configuration constants. This setup enables the package to harvest WhatsApp session data and tenant information, potentially funneling sensitive data to an attacker-controlled backend.