Skip to main content

Malicious code in eslint-commit-parser (npm)

0
High
Published: 06/29/2026 (06/29/2026, 04:00:16 UTC)
Source: GCVE Database
Product: eslint-commit-parser

Description

The npm package 'eslint-commit-parser' version 1.0.0 is a malicious package that impersonates a legitimate tool but contains unrelated code copied from the 'supertest' HTTP-testing library. It includes a deceptive package.json and drags in an unused dependency 'express-mocha-test@^0.0.1'. The package communicates with a domain associated with malicious activity and installing it may fully compromise the host system.

Affected software

npmghsa
eslint-commit-parser
Affected versions
=1.0.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: 08/20/2026, 16:58:00 UTC

Technical Analysis

The 'eslint-commit-parser' package published on npm at version 1.0.0 is a malicious package that abuses namespace and dependency confusion techniques. Instead of providing ESLint commit parsing functionality, it contains a verbatim copy of the 'supertest' library code, misleading developers. Its package.json misrepresents the package identity and declares a runtime dependency on 'express-mocha-test@^0.0.1', which is not used in the code but is installed alongside, potentially introducing further risk. The package has been identified as communicating with domains linked to malicious activity, indicating it may be part of a broader attack or backdoor. Systems with this package installed should be considered fully compromised.

Potential Impact

Installing this package can lead to full compromise of the affected system. The package's malicious nature and communication with malicious domains mean attackers may gain control or exfiltrate data. All secrets and keys on compromised systems should be rotated immediately. Removal of the package alone may not restore system integrity due to potential persistence mechanisms.

Mitigation Recommendations

Remove the 'eslint-commit-parser' package immediately from all systems. Rotate all secrets and keys from a secure, uncompromised environment. Because full system compromise is possible, consider rebuilding affected systems. Monitor for any signs of persistence or additional malicious activity. Patch status is not applicable as this is a malicious package rather than a vulnerability in legitimate software.

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-6567
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a42ed6d27e9c79719938e9a

Added to database: 06/29/2026, 22:10:53 UTC

Last enriched: 08/20/2026, 16:58:00 UTC

Last updated: 09/07/2026, 19:43:14 UTC

Views: 72

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