boring-vault (npm) · Malicious Code
Affects boring-vaultSource GCVE Database
Malicious package : remove boring-vault and rotate any secrets on hosts that installed it.
Data as of 12 Aug 2026, 16:52 UTC
Malicious package
Published to npm · OSV MAL-2026-13771
What to do
Remove boring-vault 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 |
|---|---|---|
| npmboring-vault | 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 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.
References
- npmjs.com/package/boring-vault (opens in a new tab)
- o3.security/blog/crypto-defi-npm-supply-chain-attack-npmrc-exfiltration (opens in a new tab)
- npmjs.com/package/boring-vault/v/1.1.1 (opens in a new tab)
- npmjs.com/package/boring-vault/v/1.1.0 (opens in a new tab)
- npmjs.com/package/boring-vault/v/1.0.0 (opens in a new tab)