{"id":"MAL-2026-12432","summary":"Malicious code in runtime-sentinel (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (f44234b49595ac2b15e3b5249920f7ff64cf897b7543da959e95621814948da1)\nThe package's postinstall script (src/test.js) issues an HTTPS GET to https://workconfig.vercel.app with TLS certificate verification disabled (rejectUnauthorized: false), and passes the response body directly to `new Function('require', data)(require)`. This executes attacker-controlled code with full Node.js `require` access on the installer's machine at `npm install` time. The remote content is unpinned, unverified, and served from a mutable third-party host; whatever bytes the endpoint returns run on the installer. The package presents itself as a runtime monitoring toolkit and ships generic placeholder author metadata (`Your Name`), which does not match the postinstall behavior.\n","modified":"2026-08-05T13:35:53.768991828Z","published":"2026-08-05T12:32:18Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-05T13:08:52.865677621Z","modified_time":"2026-08-05T13:06:16Z","sha256":"9ab7fe9b1d524fefdba9c46d4857cad10abac9de2b31584472043bb1fc526e35","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-014883"},{"versions":["1.0.2"],"id":"IN-MAL-2026-014696","import_time":"2026-08-05T13:08:38.344373763Z","modified_time":"2026-08-05T12:32:18Z","sha256":"f44234b49595ac2b15e3b5249920f7ff64cf897b7543da959e95621814948da1","source":"amazon-inspector"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/runtime-sentinel/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/runtime-sentinel/v/1.0.2"}],"affected":[{"package":{"name":"runtime-sentinel","ecosystem":"npm","purl":"pkg:npm/runtime-sentinel"},"versions":["1.0.1","1.0.2"],"database_specific":{"indicators":{"package_integrity":[{"filename":"runtime-sentinel-1.0.1.tgz","hashes":{"sha512_sri":"sha512-8YOLaUwkA1Ho54d3dtIFI2XXpSaBKpLmUTZ8dVwxsIhxxC88/vhYArckPl8Kj1DYxjTH7nNMiz2VJjLrOnCvaw==","sha1":"48bdc19a9f98186a215d8f894d3ebf357565b49a"}}],"evidence_files":[{"path":"src/test.js","sha256":"376e4f83d10ddc3cde12b6cc3507873b32cd90021a677cdd82cf2194eadded00","tlsh":"a6e07df532c6207a3a921adc80107548c067e3303252c0f6d00c02d701e68f833d27f4"},{"path":"package.json","sha256":"0d242694daeb02dcba392062cb9bf78bb8880b068873c3528cd58c84757ea51a","tlsh":"d5114034cda44d231dd43fa6a8652586f622895b49647c0db7d7057c4b9e07710ff26c"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/runtime-sentinel/MAL-2026-12432.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}]}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}