MAL-2026-6567
Malicious code in eslint-commit-parser (npm)
Details
--- _-= Per source details. Do not edit below this line.=-_
## Source: amazon-inspector (5fc51e200a141d1dbbb4f7eb9e5e3dec18507572e5dc9562278713c554fad195) The package is published under the name `eslint-commit-parser` but its contents are a verbatim copy of the `supertest` HTTP-testing library — `package.json` carries supertest's description ("SuperAgent driven library for testing HTTP servers") and repository URL (https://github.com/ladjs/supertest.git), and the shipped source is supertest's. A developer who installs `eslint-commit-parser` expecting an ESLint commit parser receives unrelated code. `package.json` additionally declares a runtime dependency on `express-mocha-test@^0.0.1`, but no file in the tarball requires or imports that module — its only effect on the installer is to be resolved and installed alongside the carrier. The combination of a deceptive package name, contents that have no relation to the advertised identity, and an unused low-version unfamiliar transitive is the standard namespace-abuse / dependency-confusion carrier shape: the host package is hollow with respect to its declared identity and its purpose on install is to drag `express-mocha-test` onto the installer's machine.
## Source: ghsa-malware (3705df26e8974022b1cb292288fcd4e043255e0e9e65ead22a287bf148d4bf55) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
## Source: ossf-package-analysis (8631c673a2ca9fdebee382762a69c849485f6e2aa3c749173dea8d0f0f6e090b) The OpenSSF Package Analysis project identified 'eslint-commit-parser' @ 1.0.0 (npm) as malicious.
It is considered malicious because:
- The package communicates with a domain associated with malicious activity.
Are you affected?
Enter the version of the package you're using.
Affected packages
0 No fixed version published yet for eslint-commit-parser (npm). Pin to a known-safe version or switch to an alternative.