MAL-2026-6809: Malicious code in chalk-logger-prettier (npm)
The npm package chalk-logger-prettier versions 1.0.1, 1.0.2, 1.0.3, 1.0.5, 1.0.7, and 1.0.8 contains malicious code. Any system with this package installed or running should be considered fully compromised. Removal of the package alone does not guarantee elimination of all malicious software. Immediate rotation of all secrets and keys from a separate, uncompromised system is strongly advised.
AI Analysis
Technical Summary
The chalk-logger-prettier npm package in specified versions contains embedded malicious code that compromises the host system upon installation or execution. This compromise potentially grants full control to an attacker, risking exposure of all stored secrets and keys. The malicious nature of the package means that affected systems cannot be trusted even after removal of the package, as additional malware may have been installed.
Potential Impact
Systems with the affected versions of chalk-logger-prettier installed are fully compromised. Attackers may have gained complete control over the system, leading to potential theft or misuse of sensitive information such as secrets and keys. The compromise extends beyond the package itself, as removing it does not guarantee removal of all malicious artifacts.
Mitigation Recommendations
Remove the affected chalk-logger-prettier package versions immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected system to ensure removal of all malicious software. No official patch or fix is available; mitigation relies on removal and secret rotation.
MAL-2026-6809: Malicious code in chalk-logger-prettier (npm)
Description
The npm package chalk-logger-prettier versions 1.0.1, 1.0.2, 1.0.3, 1.0.5, 1.0.7, and 1.0.8 contains malicious code. Any system with this package installed or running should be considered fully compromised. Removal of the package alone does not guarantee elimination of all malicious software. Immediate rotation of all secrets and keys from a separate, uncompromised system is strongly advised.
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-logger-prettier npm package in specified versions contains embedded malicious code that compromises the host system upon installation or execution. This compromise potentially grants full control to an attacker, risking exposure of all stored secrets and keys. The malicious nature of the package means that affected systems cannot be trusted even after removal of the package, as additional malware may have been installed.
Potential Impact
Systems with the affected versions of chalk-logger-prettier installed are fully compromised. Attackers may have gained complete control over the system, leading to potential theft or misuse of sensitive information such as secrets and keys. The compromise extends beyond the package itself, as removing it does not guarantee removal of all malicious artifacts.
Mitigation Recommendations
Remove the affected chalk-logger-prettier package versions immediately. Rotate all secrets and keys stored on the compromised system from a different, secure computer. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected system to ensure removal of all malicious software. No official patch or fix is available; mitigation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6809
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-5qw7-4jj7-j7vf"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c344227e9c797195fb564
Added to database: 07/06/2026, 23:03:30 UTC
Last enriched: 07/06/2026, 23:27:41 UTC
Last updated: 07/06/2026, 23:27:41 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.