Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in @js-lib-team/env-parser (npm)

0
Critical
Published: 08/21/2026 (08/21/2026, 03:56:26 UTC)
Source: GCVE Database
Product: @js-lib-team/env-parser

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.

Affected software

npmghsa
@js-lib-team/env-parser
Affected versions
=1.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: 08/21/2026, 14:43:34 UTC

Technical Analysis

The @js-lib-team/env-parser npm package (version 1.0.0) contains malicious code that executes immediately upon module load. It reads the installer's local environment file to extract sensitive cryptographic keys such as PRIVATE_KEY, SECRET, and MNEMONIC using a 64-hexadecimal character regex. These keys are used to instantiate ethers.Wallet objects that sign and send transactions moving native tokens (ETH, BNB, Polygon, Avalanche, and others) from the installer's wallets to five hardcoded attacker addresses. The package also modifies the Node.js process title to 'systemd: [logrotate]' to conceal its activity in process listings and includes helper stubs for process hiding and polymorphic encryption layers. The advertised functionality as an environment-variable parser is a cover for this theft and unauthorized fund transfer.

Potential Impact

This malicious package results in the compromise of private wallet keys stored in the installer's environment files, leading to unauthorized signing and broadcasting of transactions that transfer native cryptocurrency assets to attacker-controlled addresses. This causes direct financial loss to the installer. The package also attempts to evade detection by disguising its process and employing obfuscation techniques.

Defensive Guidance

No official patch or remediation is currently documented. Users should immediately uninstall the @js-lib-team/env-parser package version 1.0.0 and avoid using it. Review environment files for potential compromise of private keys and consider those keys compromised; rotate or revoke them as appropriate. Monitor wallet activity for unauthorized transactions and consider moving remaining funds to new wallets with secure keys. Exercise caution when installing npm packages, especially those not from trusted sources. Patch status is not yet confirmed — check the vendor advisory or trusted security sources for updates.

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-14344
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a885f31acd9273b493f846c

Added to database: 08/21/2026, 14:22:41 UTC

Last enriched: 08/21/2026, 14:43:34 UTC

Last updated: 08/21/2026, 23:20:11 UTC

Views: 6

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