chalk-ts-logger (npm): malicious package compromises any machine where it is installed; no safe version exists
Severity: critical · Patch status: no-fix-needed · Since 2026-12-03
GitHub published advisory GHSA-j2gg-hgj6-q2m8 on 2026-12-03 flagging the npm package chalk-ts-logger as malware (CWE-506, embedded malicious code). Every published version (= 0) is affected and there are no patched versions, meaning the package should never be installed. GitHub's guidance states that any computer with the package installed or running should be considered fully compromised, with control potentially ceded to an outside entity, and that removal of the package does not guarantee removal of all malicious software it deployed. Developers and CI systems that installed chalk-ts-logger are affected; secrets and keys on those machines are presumed stolen. No fix exists; remediation is host-level incident response, not a version upgrade.
What to do
- Treat any machine with chalk-ts-logger installed or running as fully compromised; isolate it immediately
- Rotate all secrets, keys, tokens and credentials stored on or accessible from affected machines, from a clean computer
- Remove the package and rebuild/reimage affected hosts and CI runners rather than trusting cleanup
- Audit lockfiles, dependency trees and CI logs for chalk-ts-logger usage and block the package name in registries/proxies
- Review for signs of follow-on compromise (persistence, unexpected network egress, credential use)
Sources
All live incidents on Threat Watch