Malicious code in express-dotenv (npm)
--- _-= 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.
AI Analysis
Technical Summary
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.
Malicious code in express-dotenv (npm)
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
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 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.
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 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.
External Links
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.