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 express-dotenv (npm)

0
Critical
Published: 07/06/2026 (07/06/2026, 18:53:07 UTC)
Source: GCVE Database
Product: express-dotenv

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (32d2aa353711781fe6c36cdd812494ae741f85925d1bebdb2a21532dee6800cf) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
express-dotenv
Affected versions
=1.3.5

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: 07/06/2026, 23:26:53 UTC

Technical Analysis

The express-dotenv package version 1.3.5 is identified as containing malicious code that results in a full system compromise upon installation or execution. The malicious package grants attackers full control over the affected computer, posing a severe security risk. Because the attacker may have established persistent access or installed additional malware, simply uninstalling the package does not guarantee remediation. The advisory strongly recommends rotating all secrets and keys from a different, uncompromised system to prevent further unauthorized access.

Potential Impact

Any system with express-dotenv version 1.3.5 installed or running is fully compromised, meaning attackers can execute arbitrary code, access sensitive data, and maintain persistent control. This includes exposure of all stored secrets and keys, which must be considered compromised and rotated immediately. The integrity and confidentiality of the affected system cannot be assured.

Mitigation Recommendations

Remove the express-dotenv package version 1.3.5 immediately from all affected systems. Rotate all secrets, keys, and credentials stored on the compromised systems using a separate, secure computer. Because the system is fully compromised, consider rebuilding or restoring the system from a known good backup to ensure complete removal of malicious components. No official patch or fix is available; remediation relies on removal and credential rotation.

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-6820
Osv Schema Version
1.7.4
Aliases
["GHSA-f463-5xm8-8r3r"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4c343c27e9c797195faeb4

Added to database: 07/06/2026, 23:03:24 UTC

Last enriched: 07/06/2026, 23:26:53 UTC

Last updated: 07/31/2026, 07:07:07 UTC

Views: 54

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