Skip to main content

Malicious code in vault-strategies (npm)

0
Critical
Published: 06/15/2026 (06/15/2026, 15:09:23 UTC)
Source: GCVE Database
Product: vault-strategies

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.

Affected software

npmghsa
vault-strategies
Affected versions
=999.0.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 14:38:28 UTC

Technical Analysis

The 'vault-strategies' npm package version 999.0.0 includes a preinstall hook executing 'postinstall.js', which enumerates environment variables filtering keys with broad credential-related patterns (e.g., key, secret, token, pass, private, ssh, deploy, auth, api, rpc, wallet, sentry, docker, graph, slack, host). It collects these values along with hostname, username, current working directory, and npm configuration, then sends the aggregated data via HTTPS POST to the hardcoded IP address 185.130.46.35 on port 8443 at the '/collect' endpoint. The script suppresses errors to avoid detection. This behavior aligns with a canonical dependency confusion attack, where a malicious package mimics an internal package to steal credentials during installation.

Potential Impact

Sensitive environment variables and system information can be exfiltrated silently during package installation, potentially leading to credential compromise and unauthorized access to systems or services that rely on these secrets. The malicious payload is triggered automatically on 'npm install' without user interaction beyond installing the package.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid installing the 'vault-strategies' package version 999.0.0 from untrusted sources. Verify package authenticity and source before installation, especially for packages that appear to be internal or private. Monitor for suspicious network activity to the IP address 185.130.46.35 and consider blocking it at network perimeter controls. Remove the malicious package if already installed and rotate any potentially exposed credentials.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-5783
Osv Schema Version
1.7.4
Aliases
["GHSA-43qg-3v2q-g62x"]
Ecosystems
["npm"]

Threat ID: 6a96f316acd9273b49e4938a

Added to database: 09/01/2026, 15:45:26 UTC

Last enriched: 09/08/2026, 14:38:28 UTC

Last updated: 10/01/2026, 22:40:21 UTC

Views: 40

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses