MAL-2026-6676: Malicious code in terminal-prettier (npm)
The terminal-prettier npm package contains malicious code that fully compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, trusted machine. Simply removing the package does not guarantee removal of all malicious software introduced by it, as the attacker may have gained full control of the system.
AI Analysis
Technical Summary
The terminal-prettier package in the npm ecosystem is identified as containing malicious code that compromises the host system completely. Installation or execution of this package results in a full compromise, potentially allowing attackers to access all stored secrets and keys. Due to the extent of the compromise, remediation requires secret/key rotation from a separate trusted environment, and removal of the package alone is insufficient to ensure system integrity. No CVSS score or detailed technical exploit information is provided.
Potential Impact
Full system compromise on any computer with the terminal-prettier package installed or running. All stored secrets and keys on the compromised system are at risk and must be rotated. The attacker may maintain persistent access beyond the presence of the malicious package itself.
Mitigation Recommendations
Remove the terminal-prettier package immediately. Rotate all secrets and keys from a different, uncompromised computer. Because the system may be fully compromised, consider rebuilding or restoring the system from a known good backup to ensure removal of all malicious components.
MAL-2026-6676: Malicious code in terminal-prettier (npm)
Description
The terminal-prettier npm package contains malicious code that fully compromises any computer on which it is installed or running. The compromise is severe enough that all secrets and keys stored on the affected system should be rotated immediately from a different, trusted machine. Simply removing the package does not guarantee removal of all malicious software introduced by it, as the attacker may have gained full control of the system.
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 terminal-prettier package in the npm ecosystem is identified as containing malicious code that compromises the host system completely. Installation or execution of this package results in a full compromise, potentially allowing attackers to access all stored secrets and keys. Due to the extent of the compromise, remediation requires secret/key rotation from a separate trusted environment, and removal of the package alone is insufficient to ensure system integrity. No CVSS score or detailed technical exploit information is provided.
Potential Impact
Full system compromise on any computer with the terminal-prettier package installed or running. All stored secrets and keys on the compromised system are at risk and must be rotated. The attacker may maintain persistent access beyond the presence of the malicious package itself.
Mitigation Recommendations
Remove the terminal-prettier package immediately. Rotate all secrets and keys from a different, uncompromised computer. Because the system may be fully compromised, consider rebuilding or restoring the system from a known good backup to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6676
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-m8cr-hv9p-pg3f"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a44530527e9c797199198c9
Added to database: 06/30/2026, 23:36:37 UTC
Last enriched: 07/01/2026, 00:02:31 UTC
Last updated: 07/01/2026, 00:02:31 UTC
Views: 3
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.