datavaultx (npm) · Malicious Code
Affects datavaultxSource GCVE Database
Malicious package : remove datavaultx and rotate any secrets on hosts that installed it.
Data as of 14 Jul 2026, 09:59 UTC
Malicious package
Published to npm · OSV MAL-2026-10460
What to do
Remove datavaultx 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 |
|---|---|---|
| npmdatavaultx | 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 datavaultx npm package version 1.7.1 contains malicious code that acts as a two-stage dropper. When required, it attempts to load an undeclared dependency 'auth-gen-next'; if missing, it silently installs this attacker-controlled package at runtime and loads it. This design allows the real malicious payload to be fetched dynamically without being part of the original package dependencies. The package also uses obfuscated error messages and suppressed logging to hide this behavior.