MAL-2026-6866: Malicious code in prettier-logger (npm)
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.
AI Analysis
Technical Summary
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.
MAL-2026-6866: Malicious code in prettier-logger (npm)
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
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 '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.
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 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.