Malicious code in eslintcmd (npm)
The npm package eslintcmd version 0.2.0 contains malicious code executed during installation. Its postinstall script downloads and runs arbitrary code from a mutable, author-controlled endpoint without integrity verification. This behavior is inconsistent with the package's stated purpose, indicating a cover story. Installing this package can lead to full system compromise.
AI Analysis
Technical Summary
The eslintcmd npm package (version 0.2.0) executes arbitrary code during installation via its postinstall script. This script fetches a JSON configuration from a mutable URL, downloads a tarball referenced therein, extracts it, runs npm install within the extracted directory, and executes a JavaScript file from the bundle. No integrity checks are performed on the downloaded content, allowing the package author to execute any code on the installer's machine. The package's declared functionality does not match this behavior, indicating malicious intent. This results in full compromise of any system where the package is installed.
Potential Impact
Any system that installs eslintcmd version 0.2.0 is fully compromised, as arbitrary code execution occurs during installation. Attackers gain full control over the affected machine, potentially accessing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious software introduced, necessitating secret/key rotation from a trusted environment.
Mitigation Recommendations
Remove the eslintcmd package version 0.2.0 immediately. Rotate all secrets and keys stored on the compromised machine from a separate, secure system. Because the package executes arbitrary code during installation, full system compromise is likely; therefore, consider rebuilding or thoroughly auditing the affected system. No official patch or fix is available; avoid installing this package.
Malicious code in eslintcmd (npm)
Description
The npm package eslintcmd version 0.2.0 contains malicious code executed during installation. Its postinstall script downloads and runs arbitrary code from a mutable, author-controlled endpoint without integrity verification. This behavior is inconsistent with the package's stated purpose, indicating a cover story. Installing this package can lead to full system compromise.
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 eslintcmd npm package (version 0.2.0) executes arbitrary code during installation via its postinstall script. This script fetches a JSON configuration from a mutable URL, downloads a tarball referenced therein, extracts it, runs npm install within the extracted directory, and executes a JavaScript file from the bundle. No integrity checks are performed on the downloaded content, allowing the package author to execute any code on the installer's machine. The package's declared functionality does not match this behavior, indicating malicious intent. This results in full compromise of any system where the package is installed.
Potential Impact
Any system that installs eslintcmd version 0.2.0 is fully compromised, as arbitrary code execution occurs during installation. Attackers gain full control over the affected machine, potentially accessing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious software introduced, necessitating secret/key rotation from a trusted environment.
Mitigation Recommendations
Remove the eslintcmd package version 0.2.0 immediately. Rotate all secrets and keys stored on the compromised machine from a separate, secure system. Because the package executes arbitrary code during installation, full system compromise is likely; therefore, consider rebuilding or thoroughly auditing the affected system. No official patch or fix is available; avoid installing this package.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10670
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a577ed868715ace43b3fac3
Added to database: 07/15/2026, 12:36:40 UTC
Last enriched: 07/30/2026, 09:21:02 UTC
Last updated: 09/01/2026, 08:57:24 UTC
Views: 89
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.