Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-6810: Malicious code in chalk-prettier (npm)

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

Description

The chalk-prettier npm package versions 1.0.8 and 1.0.9 contain malicious code that can fully compromise any computer on which it is installed or running. The presence of this package indicates a severe security risk, as attackers may gain full control over the affected system. Immediate removal of the package is necessary, but it may not be sufficient to fully remediate the compromise. All secrets and keys stored on the affected machine should be rotated from a secure, uncompromised device.

Affected software

npmghsa
chalk-prettier
Affected versions
=1.0.9=1.0.8

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: 07/06/2026, 23:27:46 UTC

Technical Analysis

The npm package chalk-prettier versions 1.0.8 and 1.0.9 have been identified as containing malicious code that compromises the host system. Installation or execution of these versions can lead to full system compromise, allowing attackers to potentially access all stored secrets and keys. Due to the nature of the compromise, simply removing the package does not guarantee elimination of all malicious artifacts. This threat is classified as a malicious package rather than a traditional vulnerability with a CVSS score. No known exploits in the wild have been reported as of the publication date.

Potential Impact

Systems with chalk-prettier versions 1.0.8 or 1.0.9 installed or running are considered fully compromised. Attackers may have gained full control of the system, including access to sensitive secrets and keys. This can lead to unauthorized data access, credential theft, and further system compromise. Removal of the package alone may not restore system integrity.

Mitigation Recommendations

Remove the chalk-prettier package versions 1.0.8 and 1.0.9 immediately from all affected systems. Rotate all secrets and keys stored on compromised machines using a separate, secure system. Because full system compromise is possible, consider rebuilding or thoroughly auditing affected systems to ensure all malicious components are eradicated. Monitor for any suspicious activity related to this compromise.

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-6810
Osv Schema Version
1.7.4
Aliases
["GHSA-29vc-mxj2-mvrg"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4c344227e9c797195fb56a

Added to database: 07/06/2026, 23:03:30 UTC

Last enriched: 07/06/2026, 23:27:46 UTC

Last updated: 07/06/2026, 23:27:46 UTC

Views: 2

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