{"schema_version":"1.9.2","id":"MAL-2026-18340","published":"2026-10-27T15:49:52Z","modified":"2026-10-29T13:48:10.807463787Z","aliases":["GHSA-w9mp-cvjp-jfqp"],"summary":"Malicious code in fetch-hash-cache-atomic (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7fa5c13f5b907c79079d9030292f1a6dac9d2f0ced56c2efe0e1bfd7021acdb4)\npackage.json declares its sole dependency as a direct HTTPS URL (https://artifacts.creditslib.com/npm/plugin-client-queue-field) rather than a registry version range, with no version pin and no integrity hash. On npm install, npm fetches whatever bytes that URL currently returns and installs them, executing any lifecycle scripts the fetched tarball contains. The shipped index.js is a one-line re-export of that dependency, so the manifest line is effectively the entire published surface of the package. The host artifacts.creditslib.com is unrelated to any registry or declared publisher, and the content it serves can be changed at any time without a package republish.\n\n## Source: ghsa-malware (2fe31e64c3fbc62b9e89b7b27b225663277114a17af5c84b4ea75ec3de4ccc8f)\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","affected":[{"package":{"name":"fetch-hash-cache-atomic","ecosystem":"npm","purl":"pkg:npm/fetch-hash-cache-atomic"},"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":"52738f6954a35e39b3df3251f6a59dac694608dcef81b71ecd004d052b99457a","tlsh":"37e02b724658a97326e84bc48c6491c6a3265f5b9518ec587352119d878a2bb0abd23c"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/fetch-hash-cache-atomic/MAL-2026-18340.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-w9mp-cvjp-jfqp"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/fetch-hash-cache-atomic/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-w9mp-cvjp-jfqp","import_time":"2026-10-27T16:23:53.314508899Z","modified_time":"2026-10-27T15:49:53Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"2fe31e64c3fbc62b9e89b7b27b225663277114a17af5c84b4ea75ec3de4ccc8f","source":"ghsa-malware"},{"id":"IN-MAL-2026-021865","import_time":"2026-10-29T13:37:13.892983744Z","modified_time":"2026-10-29T13:18:11Z","sha256":"7fa5c13f5b907c79079d9030292f1a6dac9d2f0ced56c2efe0e1bfd7021acdb4","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}