MAL-2026-6660: Malicious code in cdocs-markdoc (npm)
The cdocs-markdoc npm package contains malicious code that fully compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, uncompromised device. Simply removing the package does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The cdocs-markdoc package in the npm ecosystem is identified as containing malicious code that grants full control of the affected computer to an attacker. This level of compromise means that any sensitive information, including secrets and keys, may be exposed or stolen. The package removal alone is insufficient to ensure system integrity, as the attacker may have installed additional persistent malicious components.
Potential Impact
Full system compromise on any computer with the package installed or running. Potential exposure and theft of all stored secrets and keys. Persistent malicious presence may remain even after package removal.
Mitigation Recommendations
Immediately remove the cdocs-markdoc package from all affected systems. Rotate all secrets and keys from a separate, uncompromised device. Conduct a thorough investigation and remediation of the affected systems to identify and remove any additional malicious software. There is no official patch or fix; remediation relies on removal and system recovery procedures.
MAL-2026-6660: Malicious code in cdocs-markdoc (npm)
Description
The cdocs-markdoc npm package contains malicious code that fully compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, uncompromised device. Simply removing the package does not guarantee removal of all malicious software introduced by 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 cdocs-markdoc package in the npm ecosystem is identified as containing malicious code that grants full control of the affected computer to an attacker. This level of compromise means that any sensitive information, including secrets and keys, may be exposed or stolen. The package removal alone is insufficient to ensure system integrity, as the attacker may have installed additional persistent malicious components.
Potential Impact
Full system compromise on any computer with the package installed or running. Potential exposure and theft of all stored secrets and keys. Persistent malicious presence may remain even after package removal.
Mitigation Recommendations
Immediately remove the cdocs-markdoc package from all affected systems. Rotate all secrets and keys from a separate, uncompromised device. Conduct a thorough investigation and remediation of the affected systems to identify and remove any additional malicious software. There is no official patch or fix; remediation relies on removal and system recovery procedures.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6660
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-8g7g-fgv9-26pp"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a42ed4327e9c797199356e1
Added to database: 06/29/2026, 22:10:11 UTC
Last enriched: 06/29/2026, 22:26:33 UTC
Last updated: 06/30/2026, 01:05:18 UTC
Views: 4
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.