{"id":"MAL-2026-17563","summary":"Malicious code in risk-detection (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4b74a904a25687bbc34ad321ea019c5083f9a3651457750ed36207a209798f77)\npackage.json declares a dependency `ltidisafe` whose source is an off-registry tarball URL (`https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.8.1.tgz`) rather than a semver range on the npm registry. The shipped `index.js` is an empty stub (`module.exports = {}`), so the manifest URL is the entire install-time surface. On `npm install`, npm fetches whatever bytes that URL returns — unpinned, no integrity hash, no registry publisher check — installs the resulting package, and runs any lifecycle scripts inside it. Whoever controls that bucket path controls code execution on the installer's machine.\n","modified":"2026-10-05T04:15:05.598307291Z","published":"2026-10-05T03:38:10Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-10-05T03:57:40.103215367Z","modified_time":"2026-10-05T03:38:10Z","sha256":"4b74a904a25687bbc34ad321ea019c5083f9a3651457750ed36207a209798f77","source":"amazon-inspector","versions":["99.9.1"],"id":"IN-MAL-2026-021030"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/risk-detection/v/99.9.1"}],"affected":[{"package":{"name":"risk-detection","ecosystem":"npm","purl":"pkg:npm/risk-detection"},"versions":["99.9.1"],"database_specific":{"cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"}],"indicators":{"package_integrity":[{"filename":"risk-detection-99.9.1.tgz","hashes":{"sha1":"40b3c9f9dc6c0dea5b907091d19d615aa08036dc","sha512_sri":"sha512-amzre5e7+U5EZSQdLNlwl+FZtsYmfXSLTdWQEveiFe85UPMUjoCTRwU+Pg/7dupOnFBk+ZUDxPDMbdlIaZ9rVQ=="}}],"evidence_files":[{"tlsh":"53e0c2305a65a6334fca11b6482b655bf3718e5f0818bc0c5aeb042c459dab368fa3ad","path":"package.json","sha256":"8c736df10a5fdc25cd8998c3bdccb89494ea0f3064b2cfaae5f6553f9ccf58ac"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/risk-detection/MAL-2026-17563.json"}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}