MAL-2026-6811: Malicious code in chalks-logger (npm)
The chalks-logger npm package versions 1.0.9 through 1.1.3 contain malicious code that fully compromises any computer where the package is installed or running. Removal of the package does not guarantee elimination of all malicious software, and all secrets and keys on the affected system should be rotated immediately from a different, secure machine.
AI Analysis
Technical Summary
The chalks-logger package on npm, specifically versions 1.0.9, 1.1.0, 1.1.1, 1.1.2, and 1.1.3, contains embedded malicious code. Installation or execution of this package results in a full compromise of the host system, potentially allowing an attacker complete control. Due to the severity of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors introduced. Immediate secret and key rotation from a secure environment is strongly advised.
Potential Impact
Any system with the affected versions of chalks-logger installed or running is considered fully compromised. This includes potential unauthorized access, data exfiltration, and persistent backdoors. All credentials and secrets stored on the compromised system are at risk and must be rotated. The malicious code may have installed additional malware beyond the package itself.
Mitigation Recommendations
Remove the chalks-logger package immediately from all affected systems. Because the system is likely fully compromised, perform a thorough incident response including forensic analysis and system restoration from known good backups. Rotate all secrets and keys that were stored or used on the compromised system from a separate, secure machine. No official patch or fix is available; remediation relies on removal and recovery procedures.
MAL-2026-6811: Malicious code in chalks-logger (npm)
Description
The chalks-logger npm package versions 1.0.9 through 1.1.3 contain malicious code that fully compromises any computer where the package is installed or running. Removal of the package does not guarantee elimination of all malicious software, and all secrets and keys on the affected system should be rotated immediately from a different, secure machine.
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 chalks-logger package on npm, specifically versions 1.0.9, 1.1.0, 1.1.1, 1.1.2, and 1.1.3, contains embedded malicious code. Installation or execution of this package results in a full compromise of the host system, potentially allowing an attacker complete control. Due to the severity of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors introduced. Immediate secret and key rotation from a secure environment is strongly advised.
Potential Impact
Any system with the affected versions of chalks-logger installed or running is considered fully compromised. This includes potential unauthorized access, data exfiltration, and persistent backdoors. All credentials and secrets stored on the compromised system are at risk and must be rotated. The malicious code may have installed additional malware beyond the package itself.
Mitigation Recommendations
Remove the chalks-logger package immediately from all affected systems. Because the system is likely fully compromised, perform a thorough incident response including forensic analysis and system restoration from known good backups. Rotate all secrets and keys that were stored or used on the compromised system from a separate, secure machine. No official patch or fix is available; remediation relies on removal and recovery procedures.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6811
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-vc46-r5xf-fw6g"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c344227e9c797195fb561
Added to database: 07/06/2026, 23:03:30 UTC
Last enriched: 07/06/2026, 23:27:35 UTC
Last updated: 07/06/2026, 23:27:35 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.