{"id":"MAL-2026-16417","summary":"Malicious code in eslint-config-compact-utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (414c7f8397efb591ffe6f87f9c44e8eb803606eb4789d357abe337d3225cc46f)\nOn require, index.js collects host reconnaissance data (os.hostname(), os.userInfo().username, os.platform(), architecture, Node version, current working directory) together with CI/repository environment variables (CI, RUNNER_NAME, GITHUB_REPOSITORY) and sends them as query parameters via https.get to the hardcoded endpoint https://cbrsuo9293.execute-api.us-east-1.amazonaws.com/c. The exfiltration fires as a side effect of importing the module and is unrelated to the package's advertised ESLint configuration purpose. The shape (import-time beacon carrying host identity plus CI/repo identifiers to a non-first-party AWS API Gateway) is consistent with dependency-confusion / typosquat reconnaissance.\n\n## Source: ossf-package-analysis (bc5522528e8b5b20c598dc3047008916fc237ee068e6e1a24d8709ee5d451de5)\nThe OpenSSF Package Analysis project identified 'eslint-config-compact-utils' @ 1.0.0 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","modified":"2026-09-23T05:30:09.538092503Z","published":"2026-09-22T17:31:11Z","database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-020312","import_time":"2026-09-22T22:16:11.405998928Z","modified_time":"2026-09-22T21:51:47Z","sha256":"414c7f8397efb591ffe6f87f9c44e8eb803606eb4789d357abe337d3225cc46f","source":"amazon-inspector","versions":["1.0.2"]},{"modified_time":"2026-09-22T17:31:11Z","sha256":"bc5522528e8b5b20c598dc3047008916fc237ee068e6e1a24d8709ee5d451de5","source":"ossf-package-analysis","versions":["1.0.0"],"import_time":"2026-09-23T05:18:31.884126093Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/eslint-config-compact-utils/v/1.0.2"}],"affected":[{"package":{"name":"eslint-config-compact-utils","ecosystem":"npm","purl":"pkg:npm/eslint-config-compact-utils"},"versions":["1.0.2","1.0.0"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"hashes":{"sha1":"f94878324fa6d77564f6a227caed6e8bb6d24fe7","sha512_sri":"sha512-H8xP7qkM1rz+Oew6lGdzZ9HeKuZyHe87cvs8a+oeBfV70FOxddMrs+Gt7z1uVV6+FB9N3K9hwaacH7qnErOaDQ=="},"filename":"eslint-config-compact-utils-1.0.2.tgz"}],"evidence_files":[{"path":"index.js","sha256":"cdbe732cdb1e8311ec26aee730d042c1933b6169e0108f86f5c689d5ddce1933","tlsh":"5a01fdf2575c487621d63600c40f010be5d7d62309c8f2a01a2a916c6f7493503b1374"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/eslint-config-compact-utils/MAL-2026-16417.json"}}],"schema_version":"1.9.0","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"}]}