Malicious code in eslint-prettier-js (npm)
Description
The eslint-prettier-js npm package contains malicious code that can fully compromise any computer on which it is installed or run. This 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, as the attacker may have established persistent control.
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 eslint-prettier-js package distributed via npm includes malicious code that, when installed or executed, can result in a full system compromise. The attacker may gain complete control over the affected computer, potentially accessing and exfiltrating sensitive information such as 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
Full compromise of the affected computer, including potential unauthorized access to all stored secrets and keys. The attacker may maintain persistent control beyond the presence of the malicious package itself, posing a significant risk to confidentiality and system integrity.
Defensive Guidance
Immediately remove the eslint-prettier-js package from all affected systems. Rotate all secrets and keys stored on compromised computers from a separate, trusted device. Because full control may have been granted to an attacker, consider rebuilding or thoroughly cleaning affected systems to ensure removal of all malicious components.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-15601
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-fp43-fcrg-6w93"]
- Ecosystems
- ["npm"]
Threat ID: 6a95a101acd9273b4947e95f
Added to database: 08/31/2026, 15:42:57 UTC
Last enriched: 09/09/2026, 10:38:33 UTC
Last updated: 10/04/2026, 06:47:43 UTC
Views: 32
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.