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-6866: Malicious code in prettier-logger (npm)

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

Description

The npm package 'prettier-logger' versions 0.1.4, 0.1.5, and 0.1.6 contains malicious code that can fully compromise any computer on which it is installed or running. This compromise potentially exposes all secrets and keys stored on the affected system. Removal of the package alone does not guarantee elimination of all malicious software introduced by it.

Affected software

npmghsa
prettier-logger
Affected versions
=0.1.6=0.1.5=0.1.4

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:23:46 UTC

Technical Analysis

The 'prettier-logger' npm package versions 0.1.4, 0.1.5, and 0.1.6 have been identified as containing malicious code. Installation or execution of these versions may result in full compromise of the host system, including unauthorized access to stored secrets and keys. Due to the severity of the compromise, simply uninstalling the package may not remove all malicious artifacts or backdoors introduced by the attacker.

Potential Impact

Systems with the affected versions of 'prettier-logger' installed or running are considered fully compromised. Attackers may have gained complete control over the system, risking exposure and theft of sensitive credentials and secrets. The integrity and confidentiality of the affected system cannot be assured without comprehensive remediation.

Mitigation Recommendations

Immediate removal of the 'prettier-logger' package versions 0.1.4, 0.1.5, and 0.1.6 is required. All secrets and keys stored on the compromised system should be rotated from a separate, trusted environment. Due to the potential for persistent malicious code beyond the package itself, a full system investigation and remediation is recommended. No official patch or fix is indicated; therefore, avoidance of these package versions is critical.

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-6866
Osv Schema Version
1.7.4
Aliases
["GHSA-6wq6-hvcw-xmcx"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a4c342827e9c797195f9d37

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

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

Last updated: 07/06/2026, 23:23: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