Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in eslintcmd (npm)

0
Critical
Published: 07/15/2026 (07/15/2026, 07:55:08 UTC)
Source: GCVE Database
Product: eslintcmd

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

npmghsa
eslintcmd
Affected versions
=0.2.0

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

AILast updated: 07/30/2026, 09:21:02 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses