MAL-2026-6857: Malicious code in npm-doc-dev (npm)
The npm package 'npm-doc-dev' versions 1.0.4 through 1.1.1 contain malicious code that can fully compromise any computer on which it is installed or running. The compromise may allow an attacker to gain full control over the affected system. Removal of the package does not guarantee elimination of all malicious components, and all secrets and keys on the compromised system should be rotated immediately from a separate, secure device.
AI Analysis
Technical Summary
The 'npm-doc-dev' package, specifically versions =1.0.4, =1.0.5, =1.0.6, =1.0.7, =1.0.8, =1.0.9, =1.1.0, and =1.1.1, contains malicious code that results in a full system compromise upon installation or execution. This malicious package can lead to an attacker gaining complete control over the affected computer. Due to the severity of the compromise, simply uninstalling the package may not remove all malicious artifacts. Immediate rotation of all secrets and keys stored on the compromised system is recommended, using a different, uncompromised machine.
Potential Impact
Any system with the affected versions of 'npm-doc-dev' installed or running should be considered fully compromised. Attackers may have obtained full control of the system, potentially accessing or exfiltrating sensitive data including secrets and keys. The compromise is severe enough that removal of the package alone is insufficient to ensure system integrity.
Mitigation Recommendations
Remove the 'npm-doc-dev' package immediately from affected systems. Rotate all secrets and keys stored on the compromised computer using a separate, secure device. Because full system compromise is possible, consider rebuilding or thoroughly cleaning the affected system. No official patch or fix is indicated; remediation relies on removal and secret rotation.
MAL-2026-6857: Malicious code in npm-doc-dev (npm)
Description
The npm package 'npm-doc-dev' versions 1.0.4 through 1.1.1 contain malicious code that can fully compromise any computer on which it is installed or running. The compromise may allow an attacker to gain full control over the affected system. Removal of the package does not guarantee elimination of all malicious components, and all secrets and keys on the compromised system should be rotated immediately from a separate, secure device.
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 'npm-doc-dev' package, specifically versions =1.0.4, =1.0.5, =1.0.6, =1.0.7, =1.0.8, =1.0.9, =1.1.0, and =1.1.1, contains malicious code that results in a full system compromise upon installation or execution. This malicious package can lead to an attacker gaining complete control over the affected computer. Due to the severity of the compromise, simply uninstalling the package may not remove all malicious artifacts. Immediate rotation of all secrets and keys stored on the compromised system is recommended, using a different, uncompromised machine.
Potential Impact
Any system with the affected versions of 'npm-doc-dev' installed or running should be considered fully compromised. Attackers may have obtained full control of the system, potentially accessing or exfiltrating sensitive data including secrets and keys. The compromise is severe enough that removal of the package alone is insufficient to ensure system integrity.
Mitigation Recommendations
Remove the 'npm-doc-dev' package immediately from affected systems. Rotate all secrets and keys stored on the compromised computer using a separate, secure device. Because full system compromise is possible, consider rebuilding or thoroughly cleaning the affected system. No official patch or fix is indicated; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6857
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-m89x-q3jv-q5q2"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c343227e9c797195fa7f4
Added to database: 07/06/2026, 23:03:14 UTC
Last enriched: 07/07/2026, 00:06:20 UTC
Last updated: 07/07/2026, 01:56:50 UTC
Views: 5
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.