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. Any system with this package installed or running is considered fully compromised. Secrets and keys stored on affected systems should be rotated immediately from a different, trusted machine. Removing the package alone may not eliminate 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 this package results in a full compromise of the affected computer, potentially allowing an attacker to gain complete control. Due to the severity of the compromise, all sensitive credentials on the affected system should be rotated from a secure environment. The package removal does not guarantee the eradication of all malicious artifacts introduced.
Potential Impact
Systems with the affected versions of 'prettier-logger' installed or running are fully compromised. Attackers may have gained complete control over the system, risking exposure and theft of secrets, keys, and other sensitive data. The compromise is severe enough that remediation requires credential rotation from a different machine and cannot rely solely on package removal.
Mitigation Recommendations
Remove the 'prettier-logger' package immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted machine. Because the system is considered fully compromised, additional forensic analysis and remediation may be necessary to ensure all malicious components are removed.
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. Any system with this package installed or running is considered fully compromised. Secrets and keys stored on affected systems should be rotated immediately from a different, trusted machine. Removing the package alone may not eliminate 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 this package results in a full compromise of the affected computer, potentially allowing an attacker to gain complete control. Due to the severity of the compromise, all sensitive credentials on the affected system should be rotated from a secure environment. The package removal does not guarantee the eradication of all malicious artifacts introduced.
Potential Impact
Systems with the affected versions of 'prettier-logger' installed or running are fully compromised. Attackers may have gained complete control over the system, risking exposure and theft of secrets, keys, and other sensitive data. The compromise is severe enough that remediation requires credential rotation from a different machine and cannot rely solely on package removal.
Mitigation Recommendations
Remove the 'prettier-logger' package immediately. Rotate all secrets and keys stored on the compromised system from a separate, trusted machine. Because the system is considered fully compromised, additional forensic analysis and remediation may be necessary to ensure all malicious components are removed.
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"]
Threat ID: 6a4c342827e9c797195f9d37
Added to database: 07/06/2026, 23:03:04 UTC
Last enriched: 09/12/2026, 20:46:49 UTC
Last updated: 09/12/2026, 20:46:49 UTC
Views: 62
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.