Malicious code in chalk-prettier (npm)
The chalk-prettier npm package versions 1.0.8 and 1.0.9 contain malicious code that 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 machine. Removing the package alone does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The chalk-prettier npm package versions 1.0.8 and 1.0.9 have been identified as containing malicious code. Installation or execution of these versions results in a full compromise of the affected system, potentially allowing an attacker to gain control. Due to the severity of the compromise, all stored secrets and keys on the affected machine must be rotated from a separate, secure device. The package removal is recommended but may not fully eradicate the malicious presence.
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, risking exposure or theft of sensitive data, credentials, and keys. The integrity and confidentiality of the affected system cannot be assured without comprehensive remediation.
Mitigation Recommendations
Remove the chalk-prettier package versions 1.0.8 and 1.0.9 immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Because full control may have been given to an attacker, additional forensic analysis and remediation steps may be necessary to ensure complete removal of malicious software.
Malicious code in chalk-prettier (npm)
Description
The chalk-prettier npm package versions 1.0.8 and 1.0.9 contain malicious code that 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 machine. Removing the package alone 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 chalk-prettier npm package versions 1.0.8 and 1.0.9 have been identified as containing malicious code. Installation or execution of these versions results in a full compromise of the affected system, potentially allowing an attacker to gain control. Due to the severity of the compromise, all stored secrets and keys on the affected machine must be rotated from a separate, secure device. The package removal is recommended but may not fully eradicate the malicious presence.
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, risking exposure or theft of sensitive data, credentials, and keys. The integrity and confidentiality of the affected system cannot be assured without comprehensive remediation.
Mitigation Recommendations
Remove the chalk-prettier package versions 1.0.8 and 1.0.9 immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Because full control may have been given to an attacker, additional forensic analysis and remediation steps may be necessary to ensure complete removal of malicious software.
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"]
Threat ID: 6a4c344227e9c797195fb56a
Added to database: 07/06/2026, 23:03:30 UTC
Last enriched: 09/12/2026, 20:01:54 UTC
Last updated: 09/12/2026, 20:01:54 UTC
Views: 76
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.