MAL-2026-12480Malicious code in tms-x-headers (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.2.9 | unavailable | — | — | — |
| Ecosystem | Package | Version |
|---|---|---|
| npm | tms-x-headers | 20.2.9 |
{"schema_version":"1.7.4","id":"MAL-2026-12480","published":"2026-08-05T12:37:59Z","modified":"2026-08-25T16:28:08.541163106Z","aliases":["GHSA-35hv-47hh-35xx"],"summary":"Malicious code in tms-x-headers (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2d2d5c1a35629a169457029c69505622c3f6a7b6bdc8958480aea47ffe08266b)\nOn require() of the package, _helpers.js fetches a platform-specific binary from hostnames assembled by concatenating string fragments (oob-worker.cf101-adf.workers.dev and sibling cf103-070 / cf100-416 workers.dev hosts), with a DNS-TXT fallback channel resolved through fragment-joined *.dl.well1.site names. The fetched bytes are written to a temp file with a cover-story name (dotnet_diag_<hex>.exe on Windows,.cache_<hex> on Unix), chmod 0755, and spawned detached via cmd.exe /c start or /bin/sh -c with no hash or signature verification. The child_process module is also required via a split string (\"child_\" + \"process\") in lib/telemetry.js. The destination hosts are not the package publisher, are deliberately fragmented to evade static string matching, and the temp filename mimics legitimate.NET diagnostics tooling. Installing or loading the package therefore runs attacker-controlled native code on the installer's host.\n\n## Source: ghsa-malware (dc4e635fba20ad19c36644478038a2ae0339d2429dde01c41aa8b8de446644c6)\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":"tms-x-headers","ecosystem":"npm"},"versions":["20.2.9"],"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":"_helpers.js","sha256":"79c22c531098339baac8354bba8a181b2a00440bb28d45de78d2598bd48e12ad","tlsh":"50a1869a0269301d4bb0dbe597174416f65bf6533280c6c4f7ac69941fb712483b2efc"}],"package_integrity":[{"filename":"tms-x-headers-20.2.9.tgz","hashes":{"sha1":"858c9c239e05a49fbb9535094eacc7b5589788a2","sha512_sri":"sha512-eX7PVXH+ohClqnZCpMcJbZNP+zHywFGxThvdxWODaC+PCVjzBL6n5twGWTe0u2rpymt9s9d4irQOeBvZ7HVzfA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tms-x-headers/v/20.2.9"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-35hv-47hh-35xx"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014736","import_time":"2026-08-05T13:08:42.122334165Z","modified_time":"2026-08-05T12:37:59Z","sha256":"2d2d5c1a35629a169457029c69505622c3f6a7b6bdc8958480aea47ffe08266b","source":"amazon-inspector","versions":["20.2.9"]},{"id":"GHSA-35hv-47hh-35xx","import_time":"2026-08-25T16:26:04.993053836Z","modified_time":"2026-08-25T16:07:43Z","sha256":"dc4e635fba20ad19c36644478038a2ae0339d2429dde01c41aa8b8de446644c6","source":"ghsa-malware","versions":["20.2.9"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0