{"id":"MAL-2026-18109","summary":"Malicious code in rs-lookout-sandbox-poc (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4f28ed1c404dad5afc7b70b345eeef6f81e04dcee77be3a7553956c7a43f8e7c)\nOn module load, index.js reads os.userInfo().username and issues an HTTPS GET to a hardcoded third-party collector at https://webhook.site/553dad0e-c841-46a8-b07d-213b52a24686/, transmitting the installer's local username to an anonymous external endpoint. The same top-level code performs AWS Instance Metadata Service reconnaissance against 169.254.169.254: it PUTs /latest/api/token to obtain an IMDSv2 session token and then GETs /latest/meta-data/iam/security-credentials/ to enumerate the IAM role attached to the host. Both behaviors fire automatically when the package is required, with no caller action.\n","modified":"2026-10-20T19:00:04.366436158Z","published":"2026-10-20T18:45:31Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-10-20T18:46:13.674706765Z","modified_time":"2026-10-20T18:45:31Z","sha256":"4f28ed1c404dad5afc7b70b345eeef6f81e04dcee77be3a7553956c7a43f8e7c","source":"amazon-inspector","versions":["1.0.1"],"id":"IN-MAL-2026-021548"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/rs-lookout-sandbox-poc/v/1.0.1"}],"affected":[{"package":{"name":"rs-lookout-sandbox-poc","ecosystem":"npm","purl":"pkg:npm/rs-lookout-sandbox-poc"},"versions":["1.0.1"],"database_specific":{"indicators":{"evidence_files":[{"path":"index.js","sha256":"7bdac5b84fece5c9d8101fe1317ec7e5838062bd7777ec25a558e25fa33c8b14","tlsh":"8b2163d491e4703377b168acf4269b43e913ea442883c5c4f67447d7fd88490bc227b8"}],"package_integrity":[{"filename":"rs-lookout-sandbox-poc-1.0.1.tgz","hashes":{"sha512_sri":"sha512-SFlisk2msScb8QsQ5Tj1Vok19Q5UGmCkCvFAKv5XzASXlba6H+6WoODyLLb6QqfUSkSg1p4YflnAqsKw1tvI3Q==","sha1":"f08e0c6a06b3086fed2ccd73000a9ec546d7733e"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/rs-lookout-sandbox-poc/MAL-2026-18109.json","cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}]}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}