Malicious code in boring-vault (npm)
The boring-vault npm package is a malicious package impersonating the legitimate BoringVault smart-contract framework. It contains no legitimate functionality and executes a payload during installation that harvests sensitive environment variables, configuration files, and cryptocurrency wallet keys. The stolen data is exfiltrated to a hardcoded external endpoint. Two versions (1.0.0 and 1.1.0) exist, with 1.1.0 expanding the scope of stolen files and credentials. The package uses sandbox evasion techniques and disguises itself with a fake comment in version 1.0.0. Multiple related malicious packages from the same attacker account have been identified. Any environment that installed these versions should consider secrets compromised and rotate them immediately.
AI Analysis
Technical Summary
The boring-vault npm package is a malicious package that impersonates the BoringVault smart-contract framework but contains no legitimate code. Its install-time payload (index.js) executes automatically via preinstall and postinstall hooks. Version 1.0.0 harvests environment variables matching a broad credential regex, reads certain configuration files and directory listings related to credentials and keys, and exfiltrates this data via HTTPS POST to a hardcoded webhook.site URL. Version 1.1.0, published shortly after 1.0.0, expands the harvested data to include full contents of many sensitive credential files (e.g., AWS credentials, SSH private keys, Kubernetes config, Docker config, .netrc, .pgpass, GCP credentials), local .env files, and cryptocurrency wallet keys from multiple blockchain wallets. Both versions exfiltrate to the same external endpoint. The package includes sandbox evasion checks to avoid detection in analysis environments. The attacker account published multiple sibling malicious packages with similar behavior. The package name and initial comment attempt to impersonate legitimate projects. This threat represents a credential and key theft malware embedded in an npm package.
Potential Impact
Installation of either version 1.0.0 or 1.1.0 of the boring-vault package results in exfiltration of sensitive environment variables, credential files, configuration files, and private keys, including cryptocurrency wallet keys. This compromises the confidentiality of secrets, potentially allowing attackers to access cloud services, source code repositories, cryptocurrency wallets, and other sensitive resources. The attacker can use stolen credentials for unauthorized access, financial theft, or further compromise. The malicious code executes silently during installation, making detection difficult. The expanded data theft in version 1.1.0 increases the severity of compromise.
Mitigation Recommendations
No official patch or remediation is available for the malicious boring-vault package itself. The vendor does not manage this package as it is malicious. Environments that installed versions 1.0.0, 1.1.0, or 1.1.1 should immediately rotate all exposed secrets, prioritizing wallet private keys and RPC/API tokens. Treat all harvested credentials as compromised. Remove the malicious package from all systems. Audit for any unauthorized access or suspicious activity resulting from the compromise. Avoid installing packages from untrusted or unknown sources and verify package authenticity before installation.
Malicious code in boring-vault (npm)
Description
The boring-vault npm package is a malicious package impersonating the legitimate BoringVault smart-contract framework. It contains no legitimate functionality and executes a payload during installation that harvests sensitive environment variables, configuration files, and cryptocurrency wallet keys. The stolen data is exfiltrated to a hardcoded external endpoint. Two versions (1.0.0 and 1.1.0) exist, with 1.1.0 expanding the scope of stolen files and credentials. The package uses sandbox evasion techniques and disguises itself with a fake comment in version 1.0.0. Multiple related malicious packages from the same attacker account have been identified. Any environment that installed these versions should consider secrets compromised and rotate them immediately.
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 boring-vault npm package is a malicious package that impersonates the BoringVault smart-contract framework but contains no legitimate code. Its install-time payload (index.js) executes automatically via preinstall and postinstall hooks. Version 1.0.0 harvests environment variables matching a broad credential regex, reads certain configuration files and directory listings related to credentials and keys, and exfiltrates this data via HTTPS POST to a hardcoded webhook.site URL. Version 1.1.0, published shortly after 1.0.0, expands the harvested data to include full contents of many sensitive credential files (e.g., AWS credentials, SSH private keys, Kubernetes config, Docker config, .netrc, .pgpass, GCP credentials), local .env files, and cryptocurrency wallet keys from multiple blockchain wallets. Both versions exfiltrate to the same external endpoint. The package includes sandbox evasion checks to avoid detection in analysis environments. The attacker account published multiple sibling malicious packages with similar behavior. The package name and initial comment attempt to impersonate legitimate projects. This threat represents a credential and key theft malware embedded in an npm package.
Potential Impact
Installation of either version 1.0.0 or 1.1.0 of the boring-vault package results in exfiltration of sensitive environment variables, credential files, configuration files, and private keys, including cryptocurrency wallet keys. This compromises the confidentiality of secrets, potentially allowing attackers to access cloud services, source code repositories, cryptocurrency wallets, and other sensitive resources. The attacker can use stolen credentials for unauthorized access, financial theft, or further compromise. The malicious code executes silently during installation, making detection difficult. The expanded data theft in version 1.1.0 increases the severity of compromise.
Mitigation Recommendations
No official patch or remediation is available for the malicious boring-vault package itself. The vendor does not manage this package as it is malicious. Environments that installed versions 1.0.0, 1.1.0, or 1.1.1 should immediately rotate all exposed secrets, prioritizing wallet private keys and RPC/API tokens. Treat all harvested credentials as compromised. Remove the malicious package from all systems. Audit for any unauthorized access or suspicious activity resulting from the compromise. Avoid installing packages from untrusted or unknown sources and verify package authenticity before installation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-13771
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a7c9b46bf8831d539cdd20f
Added to database: 08/12/2026, 16:11:50 UTC
Last enriched: 08/12/2026, 16:52:46 UTC
Last updated: 08/12/2026, 16:52:46 UTC
Views: 2
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.
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.