Malicious code in vaults-monitor-cron (npm)
Description
The npm package 'vaults-monitor-cron' version 999.0.0 is a malicious package designed to exfiltrate sensitive credentials during installation. Its preinstall script collects environment variables and system information, filtering for keys and secrets, then sends this data to a hardcoded external IP address. The package uses a dependency confusion tactic by mimicking an internal package with a high version number and a misleading description. There is no legitimate functionality; the sole purpose is credential theft.
Affected software
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
Technical Analysis
The 'vaults-monitor-cron' npm package at version 999.0.0 contains malicious code executed during the preinstall lifecycle hook. The script collects hostname, username, current working directory, and environment variables matching patterns related to secrets and credentials (e.g., keys, tokens, passwords, SSH keys). It then exfiltrates this information as a JSON payload via HTTPS POST to a hardcoded IP address (185.130.46.35:8443/collect). The package employs a dependency confusion attack pattern by using a high version number and a generic description to override an organization's internal package silently. The preinstall command includes '|| true' to suppress errors and avoid detection. No legitimate functionality exists in this package; its sole effect is credential exfiltration.
Potential Impact
This malicious package can lead to the theft of sensitive credentials such as CI tokens, SSH keys, deploy credentials, cloud API keys, RPC/wallet secrets, and other authentication tokens from the environment of the system where it is installed. This can result in unauthorized access to internal systems, cloud resources, and other critical infrastructure if these credentials are used elsewhere. The attack is silent due to error suppression, increasing the risk of unnoticed compromise.
Mitigation Recommendations
No official patch or fix is available as this is a malicious package rather than a vulnerability in legitimate software. The recommended mitigation is to avoid installing this package and audit package dependencies to ensure only trusted sources are used. Organizations should implement strict package source controls and monitor for dependency confusion attacks. Remove any instances of 'vaults-monitor-cron' version 999.0.0 from projects and registries. Rotate any potentially exposed credentials immediately if this package was installed.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5784
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7ff8-rw9g-fj84"]
- Ecosystems
- ["npm"]
Threat ID: 6a96f316acd9273b49e4937c
Added to database: 09/01/2026, 15:45:26 UTC
Last enriched: 09/08/2026, 14:38:34 UTC
Last updated: 10/01/2026, 22:40:21 UTC
Views: 23
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.