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. Secrets and keys stored on affected systems must be rotated immediately from a secure, unaffected device. Removing the package alone does not guarantee removal of all malicious software introduced by it.
AI Analysis
Technical Summary
The chalk-logger-prettier npm package in specified versions contains embedded malicious code that compromises any computer on which it is installed or executed. The compromise is severe enough that full control may be given to an attacker, necessitating immediate secret/key rotation and thorough remediation beyond just uninstalling the package.
Potential Impact
Systems with the affected versions of chalk-logger-prettier installed are fully compromised, risking exposure of all stored secrets and keys. Attackers may have persistent control, and simply removing the package does not ensure complete eradication of malicious components.
Mitigation Recommendations
Remove the chalk-logger-prettier package immediately from affected systems. Rotate all secrets and keys from a separate, secure computer to prevent unauthorized access. Conduct a full system investigation and remediation as the compromise may extend beyond the package itself. No official patch or fix is indicated; the package should be considered malicious and untrusted.
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. Secrets and keys stored on affected systems must be rotated immediately from a secure, unaffected device. 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-logger-prettier npm package in specified versions contains embedded malicious code that compromises any computer on which it is installed or executed. The compromise is severe enough that full control may be given to an attacker, necessitating immediate secret/key rotation and thorough remediation beyond just uninstalling the package.
Potential Impact
Systems with the affected versions of chalk-logger-prettier installed are fully compromised, risking exposure of all stored secrets and keys. Attackers may have persistent control, and simply removing the package does not ensure complete eradication of malicious components.
Defensive Guidance
Remove the chalk-logger-prettier package immediately from affected systems. Rotate all secrets and keys from a separate, secure computer to prevent unauthorized access. Conduct a full system investigation and remediation as the compromise may extend beyond the package itself. No official patch or fix is indicated; the package should be considered malicious and untrusted.
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"]
Threat ID: 6a4c344227e9c797195fb564
Added to database: 07/06/2026, 23:03:30 UTC
Last enriched: 09/12/2026, 20:01:59 UTC
Last updated: 09/15/2026, 03:50:36 UTC
Views: 102
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.