@js-lib-team/env-parser (npm) · Malicious Code
Affects @js-lib-team/env-parserSource GCVE Database
Malicious package : remove @js-lib-team/env-parser and rotate any secrets on hosts that installed it.
Data as of 21 Aug 2026, 14:43 UTC
Malicious package
Published to npm · OSV MAL-2026-14344
What to do
Remove @js-lib-team/env-parser 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 |
|---|---|---|
| npm@js-lib-team/env-parser | 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 npm package @js-lib-team/env-parser version 1.0.0 is a malicious package that masquerades as an environment-variable parser. Upon import or require, it executes code that reads the installer's local.env file to extract private keys and secrets matching a 64-hex pattern. It then uses these keys to create wallet instances that sign and broadcast unauthorized transactions, transferring native tokens from the installer's wallets to attacker-controlled addresses. The package disguises its process name to evade detection and includes code for process hiding and encryption. This behavior results in theft of wallet key material and direct loss of funds.