MAL-2026-6893: Malicious code in test-prettier (npm)
The npm package 'test-prettier' version 1.0.9 contains malicious code that can fully compromise any computer on which it is installed or running. The compromise may lead to unauthorized access to all secrets and keys stored on the affected system. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys from a separate, uncompromised system is strongly advised.
AI Analysis
Technical Summary
The 'test-prettier' npm package version 1.0.9 is identified as containing malicious code that compromises the host system completely. According to the source advisory, any system with this package installed should be considered fully compromised, with potential unauthorized control by an external entity. The advisory warns that simply removing the package may not remove all malicious artifacts. No CVSS score or detailed technical exploitation methods are provided. There is no indication of known exploits in the wild or available patches.
Potential Impact
Full system compromise on any computer with 'test-prettier' version 1.0.9 installed. Potential exposure and unauthorized access to all stored secrets and keys. The malicious package may enable persistent control by an attacker beyond the presence of the package itself.
Mitigation Recommendations
Remove the 'test-prettier' package version 1.0.9 immediately from affected systems. Rotate all secrets and keys from a different, uncompromised computer to prevent unauthorized access. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected environment. No official patch or fix is available; remediation relies on removal and secret rotation.
MAL-2026-6893: Malicious code in test-prettier (npm)
Description
The npm package 'test-prettier' version 1.0.9 contains malicious code that can fully compromise any computer on which it is installed or running. The compromise may lead to unauthorized access to all secrets and keys stored on the affected system. Removal of the package does not guarantee elimination of all malicious software introduced. Immediate rotation of all secrets and keys from a separate, uncompromised system is strongly advised.
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 'test-prettier' npm package version 1.0.9 is identified as containing malicious code that compromises the host system completely. According to the source advisory, any system with this package installed should be considered fully compromised, with potential unauthorized control by an external entity. The advisory warns that simply removing the package may not remove all malicious artifacts. No CVSS score or detailed technical exploitation methods are provided. There is no indication of known exploits in the wild or available patches.
Potential Impact
Full system compromise on any computer with 'test-prettier' version 1.0.9 installed. Potential exposure and unauthorized access to all stored secrets and keys. The malicious package may enable persistent control by an attacker beyond the presence of the package itself.
Mitigation Recommendations
Remove the 'test-prettier' package version 1.0.9 immediately from affected systems. Rotate all secrets and keys from a different, uncompromised computer to prevent unauthorized access. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected environment. No official patch or fix is available; remediation relies on removal and secret rotation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6893
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-6h3j-xcmr-vmwx"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4c342427e9c797195f9b77
Added to database: 07/06/2026, 23:03:00 UTC
Last enriched: 07/06/2026, 23:21:55 UTC
Last updated: 07/06/2026, 23:21:55 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.