Skip to main content
MalwarePublished Updated

vault-strategies (npm) · Malicious Code

Affects vault-strategiesSource GCVE Database

0

Malicious package : remove vault-strategies and rotate any secrets on hosts that installed it.

Data as of 8 Sep 2026, 14:38 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-5783

What to do

Remove vault-strategies 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
npmvault-strategiesAffected
  • =999.0.0
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 'vault-strategies' version 999.0.0 contains malicious code that executes during installation. Its preinstall script runs a JavaScript file that collects environment variables matching credential-related keywords along with system information and sends this data to a hardcoded external IP address. The exfiltration is designed to be silent by swallowing errors. This package appears to be crafted for dependency confusion attacks, masquerading as an internal package to harvest sensitive credentials at install time.

References

Community reviews

Loading reviews…