Malicious code in node-env-detector (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (0f28e9e57fb0e1cc42f084ab5c8422bdd3b10dd056022e7f133ae2177c7f0043) 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 node-env-detector package versions 1.0.0 and 1.0.1 distributed via npm contain malicious code that results in a full system compromise. According to the source advisory, any system with this package installed or running should be considered fully compromised. The attacker may have obtained full control over the system, and all stored secrets and keys are at risk of exposure. Simply uninstalling the package does not ensure removal of all malicious artifacts. No CVSS score or official patch information is provided.
Potential Impact
Systems with node-env-detector versions 1.0.0 or 1.0.1 installed are fully compromised, potentially allowing attackers complete control over the affected computer. All secrets and keys stored on the system are exposed and must be rotated. The presence of the malicious package implies persistent risk even after removal due to possible additional malware installed.
Mitigation Recommendations
Remove the node-env-detector package versions 1.0.0 and 1.0.1 immediately. Consider any affected system fully compromised and perform secret and key rotation from a separate, secure computer. Because removal of the package may not eliminate all malicious software, a full system reinstallation or forensic analysis is recommended. Patch status is not confirmed; check vendor or repository advisories for updates.
Malicious code in node-env-detector (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (0f28e9e57fb0e1cc42f084ab5c8422bdd3b10dd056022e7f133ae2177c7f0043) 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 node-env-detector package versions 1.0.0 and 1.0.1 distributed via npm contain malicious code that results in a full system compromise. According to the source advisory, any system with this package installed or running should be considered fully compromised. The attacker may have obtained full control over the system, and all stored secrets and keys are at risk of exposure. Simply uninstalling the package does not ensure removal of all malicious artifacts. No CVSS score or official patch information is provided.
Potential Impact
Systems with node-env-detector versions 1.0.0 or 1.0.1 installed are fully compromised, potentially allowing attackers complete control over the affected computer. All secrets and keys stored on the system are exposed and must be rotated. The presence of the malicious package implies persistent risk even after removal due to possible additional malware installed.
Mitigation Recommendations
Remove the node-env-detector package versions 1.0.0 and 1.0.1 immediately. Consider any affected system fully compromised and perform secret and key rotation from a separate, secure computer. Because removal of the package may not eliminate all malicious software, a full system reinstallation or forensic analysis is recommended. Patch status is not confirmed; check vendor or repository advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6856
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-q48r-9hm8-j2j5"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c343227e9c797195fa7f7
Added to database: 07/06/2026, 23:03:14 UTC
Last enriched: 07/06/2026, 23:53:23 UTC
Last updated: 07/30/2026, 01:09:26 UTC
Views: 34
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.