MAL-2026-14410Malicious code in @temptation.js/utils (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
999.9.16 | archived | — | — | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | @temptation.js/utils | 999.9.15 |
| npm | @temptation.js/utils | 999.9.16 |
{"schema_version":"1.7.4","id":"MAL-2026-14410","published":"2026-08-24T13:50:49Z","modified":"2026-08-24T16:51:03.018779277Z","summary":"Malicious code in @temptation.js/utils (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (3b8ac41747a5c926627c28c9f1a651df91cd3447b07ca4cafabc1916004d1e70)\nThe package registers a preinstall hook (node index.js) that runs on npm install and harvests installer-side data: os.hostname(), OS username, home directory, local IPv4, public IP resolved via https://api.ipify.org / https://icanhazip.com / https://ifconfig.me, DNS resolver info, INIT_CWD, parent project package.json fields, CI context (GitHub Actions/GitLab/Jenkins/Azure DevOps repo, actor, run id), AWS_REGION, npm registry URL, git user.email domain, and the output of `gh api user --jq.login` and `npm whoami` — using the installer's authenticated gh/npm CLI sessions to attribute the install to a real developer account. The collected JSON is hex-encoded, split into 60-character chunks, and exfiltrated via DNS resolutions of the form `<i>-<hex>.u-<uuid>.da51rv0hb2uc72tg4gvgdepinjcallbk1.oast.fun` (an OAST/interactsh callback host) as well as HTTPS/HTTP POSTs to /poc/<uuid> at the same host. A source comment describes the DNS channel as designed to survive corporate egress filtering. The version number 999.9.15 is a dependency-confusion overshoot intended to win private-name resolution against an internal package of the same name.\n\n## Source: ossf-package-analysis (c8d0cfc44fc0fd8c597831c7da133a0e02ba0f1644f9777edb7629099bb367b8)\nThe OpenSSF Package Analysis project identified '@temptation.js/utils' @ 999.9.16 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","affected":[{"package":{"name":"@temptation.js/utils","ecosystem":"npm"},"versions":["999.9.16","999.9.15"],"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":"index.js","sha256":"f77db9c8f574d32a28c10108a6a19b4f1e6885e06f5644f595f7cfd6ea8f8f6a","tlsh":"2412c79702f6243013e265682e8784c4776bd517374aebf0b94d47605fee26883b37ea"}],"package_integrity":[{"filename":"utils-999.9.16.tgz","hashes":{"sha1":"e1dfb52779eae91993df2ab36f3f571f91cd89eb","sha512_sri":"sha512-lFhEBJBR/FYinqeqjIrizSC/Zjy7/MO5dPbXD913aig3g6hZ9o/2V6gDHYIw0W38/OMZbeVLZ/musQ1JaxYPEA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@temptation.js/utils/v/999.9.16"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@temptation.js/utils/v/999.9.15"}],"database_specific":{"malicious-packages-origins":[{"import_time":"2026-08-24T13:51:35.952648601Z","modified_time":"2026-08-24T13:50:49Z","sha256":"c8d0cfc44fc0fd8c597831c7da133a0e02ba0f1644f9777edb7629099bb367b8","source":"ossf-package-analysis","versions":["999.9.16"]},{"id":"IN-MAL-2026-018627","import_time":"2026-08-24T16:49:13.316680299Z","modified_time":"2026-08-24T16:38:40Z","sha256":"b729ceb1ad2301a684d94c580ee75c4d6b352fd05061b84076e959975645777b","source":"amazon-inspector","versions":["999.9.16"]},{"id":"IN-MAL-2026-018631","import_time":"2026-08-24T16:49:13.596551896Z","modified_time":"2026-08-24T16:39:22Z","sha256":"3b8ac41747a5c926627c28c9f1a651df91cd3447b07ca4cafabc1916004d1e70","source":"amazon-inspector","versions":["999.9.15"]}]},"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"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0