Skip to main content

Malicious code in chalk-logger-prettier (npm)

0
Critical
Published: 07/06/2026 (07/06/2026, 18:51:56 UTC)
Source: GCVE Database
Product: chalk-logger-prettier

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

npmghsa
chalk-logger-prettier
Affected versions
=1.0.8=1.0.7=1.0.5=1.0.3=1.0.2=1.0.1

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

AILast updated: 09/12/2026, 20:01:59 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses