MAL-2026-6810: Malicious code in chalk-prettier (npm)
The chalk-prettier npm package versions 1.0.8 and 1.0.9 contain malicious code that can fully compromise any computer on which it is installed or running. The presence of this package indicates a severe security risk, as attackers may gain full control over the affected system. Immediate removal of the package is necessary, but it may not be sufficient to fully remediate the compromise. All secrets and keys stored on the affected machine should be rotated from a secure, uncompromised device.
AI Analysis
Technical Summary
The npm package chalk-prettier versions 1.0.8 and 1.0.9 have been identified as containing malicious code that compromises the host system. Installation or execution of these versions can lead to full system compromise, allowing attackers to potentially access all stored secrets and keys. Due to the nature of the compromise, simply removing the package does not guarantee elimination of all malicious artifacts. This threat is classified as a malicious package rather than a traditional vulnerability with a CVSS score. No known exploits in the wild have been reported as of the publication date.
Potential Impact
Systems with chalk-prettier versions 1.0.8 or 1.0.9 installed or running are considered fully compromised. Attackers may have gained full control of the system, including access to sensitive secrets and keys. This can lead to unauthorized data access, credential theft, and further system compromise. Removal of the package alone may not restore system integrity.
Mitigation Recommendations
Remove the chalk-prettier package versions 1.0.8 and 1.0.9 immediately from all affected systems. Rotate all secrets and keys stored on compromised machines using a separate, secure system. Because full system compromise is possible, consider rebuilding or thoroughly auditing affected systems to ensure all malicious components are eradicated. Monitor for any suspicious activity related to this compromise.
MAL-2026-6810: Malicious code in chalk-prettier (npm)
Description
The chalk-prettier npm package versions 1.0.8 and 1.0.9 contain malicious code that can fully compromise any computer on which it is installed or running. The presence of this package indicates a severe security risk, as attackers may gain full control over the affected system. Immediate removal of the package is necessary, but it may not be sufficient to fully remediate the compromise. All secrets and keys stored on the affected machine should be rotated from a secure, uncompromised 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 package chalk-prettier versions 1.0.8 and 1.0.9 have been identified as containing malicious code that compromises the host system. Installation or execution of these versions can lead to full system compromise, allowing attackers to potentially access all stored secrets and keys. Due to the nature of the compromise, simply removing the package does not guarantee elimination of all malicious artifacts. This threat is classified as a malicious package rather than a traditional vulnerability with a CVSS score. No known exploits in the wild have been reported as of the publication date.
Potential Impact
Systems with chalk-prettier versions 1.0.8 or 1.0.9 installed or running are considered fully compromised. Attackers may have gained full control of the system, including access to sensitive secrets and keys. This can lead to unauthorized data access, credential theft, and further system compromise. Removal of the package alone may not restore system integrity.
Mitigation Recommendations
Remove the chalk-prettier package versions 1.0.8 and 1.0.9 immediately from all affected systems. Rotate all secrets and keys stored on compromised machines using a separate, secure system. Because full system compromise is possible, consider rebuilding or thoroughly auditing affected systems to ensure all malicious components are eradicated. Monitor for any suspicious activity related to this compromise.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6810
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-29vc-mxj2-mvrg"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c344227e9c797195fb56a
Added to database: 07/06/2026, 23:03:30 UTC
Last enriched: 07/06/2026, 23:27:46 UTC
Last updated: 07/06/2026, 23:27:46 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.