Malicious code in npm-doc-dev (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (cd9478699eb0ff355280d938bef68818018c0c5cb579b3c144f6c0e134dfad1b) 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 '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.
Malicious code in npm-doc-dev (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (cd9478699eb0ff355280d938bef68818018c0c5cb579b3c144f6c0e134dfad1b) 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 '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/30/2026, 10:01:39 UTC
Views: 26
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.