MAL-2026-6856: Malicious code in node-env-detector (npm)
The node-env-detector npm package versions 1.0.0 and 1.0.1 contain malicious code that fully compromises any computer on which it is installed or running. The compromise allows an attacker to gain full control, risking exposure of all secrets and keys stored on the affected system. Removal of the package alone does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a different, uncompromised computer is strongly advised.
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.
MAL-2026-6856: Malicious code in node-env-detector (npm)
Description
The node-env-detector npm package versions 1.0.0 and 1.0.1 contain malicious code that fully compromises any computer on which it is installed or running. The compromise allows an attacker to gain full control, risking exposure of all secrets and keys stored on the affected system. Removal of the package alone does not guarantee elimination of all malicious software introduced. Immediate secret and key rotation from a different, uncompromised computer is strongly advised.
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/06/2026, 23:53:23 UTC
Views: 2
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.