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…

MAL-2026-6856: Malicious code in node-env-detector (npm)

0
Critical
Published: 07/06/2026 (07/06/2026, 18:54:59 UTC)
Source: GCVE Database
Product: node-env-detector

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

npmghsa
node-env-detector
Affected versions
=1.0.1=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: 07/06/2026, 23:53:23 UTC

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.

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-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 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