MAL-2026-6567Malicious code in eslint-commit-parser (npm)
| Ecosystem | Package | Version |
|---|---|---|
| npm | eslint-commit-parser | * |
| npm | eslint-commit-parser | 1.0.0 |
{"schema_version":"1.7.4","id":"MAL-2026-6567","published":"2026-06-29T04:00:16Z","modified":"2026-08-20T01:09:04.474217547Z","aliases":["GHSA-qmq6-r6mp-r586"],"summary":"Malicious code in eslint-commit-parser (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (5fc51e200a141d1dbbb4f7eb9e5e3dec18507572e5dc9562278713c554fad195)\nThe 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.\n\n## Source: ghsa-malware (3705df26e8974022b1cb292288fcd4e043255e0e9e65ead22a287bf148d4bf55)\nAny 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.\n\n## Source: ossf-package-analysis (8631c673a2ca9fdebee382762a69c849485f6e2aa3c749173dea8d0f0f6e090b)\nThe OpenSSF Package Analysis project identified 'eslint-commit-parser' @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"name":"eslint-commit-parser","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"package.json","sha256":"19f18d80ea31deeb4ea38fccb82f6483f0f3f9d80adbaf73d05818a2c28b1b57","tlsh":"fb319b33d8988d6b46f5a7ae79798381f1219b1f50a0cc0ff5ba139c8fb205710a9b95"}],"package_integrity":[{"filename":"eslint-commit-parser-1.0.0.tgz","hashes":{"sha1":"f3a4bdcff0635da367afc0ea6336c77556369b64","sha512_sri":"sha512-rh+9ACcYrTPkHPchTpGz0grLudQkphQFzjJHS8EUsJk5BwGmzdyq/h0z6iJVydUyfKnAVoDUUz2gFw9dt/O8Mg=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/eslint-commit-parser/v/1.0.0"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-qmq6-r6mp-r586"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2026-06-29T05:06:59.969737726Z","modified_time":"2026-06-29T04:00:16Z","sha256":"8631c673a2ca9fdebee382762a69c849485f6e2aa3c749173dea8d0f0f6e090b","source":"ossf-package-analysis","versions":["1.0.0"]},{"id":"IN-MAL-2026-007769","import_time":"2026-06-29T07:09:11.290201044Z","modified_time":"2026-06-29T06:45:57Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"5fc51e200a141d1dbbb4f7eb9e5e3dec18507572e5dc9562278713c554fad195","source":"amazon-inspector","versions":["1.0.0"]},{"id":"GHSA-qmq6-r6mp-r586","import_time":"2026-08-20T01:06:54.123111862Z","modified_time":"2026-08-19T15:15:52Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"3705df26e8974022b1cb292288fcd4e043255e0e9e65ead22a287bf148d4bf55","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0