MAL-2026-12476Malicious code in tcb-web-header (npm)
| 版本 | 状态 | 大小 | SHA-256 | 获取方式 |
|---|---|---|---|---|
20.5.7 | archived | — | — | VIP 下载 |
| Ecosystem | Package | Version |
|---|---|---|
| npm | tcb-web-header | * |
| npm | tcb-web-header | 20.5.7 |
{"schema_version":"1.7.4","id":"MAL-2026-12476","published":"2026-08-05T12:48:48Z","modified":"2026-08-06T01:00:42.712396898Z","aliases":["GHSA-v68w-vmp6-9p6v"],"summary":"Malicious code in tcb-web-header (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (115bda849ee7aff33e1ccc649f492e892e31243bfb026eea8048c158c885bdf0)\nOn require() of tcb-web-header, _platform.js selects an OS/arch-specific endpoint, downloads a binary from Cloudflare workers.dev hosts whose names are reconstructed at runtime by joining split string fragments (e.g. oob-worker.cf99-9b.3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev), writes the payload to /var/tmp or %TEMP% under a deceptive name (dotnet_diag_<tag>.exe on Windows,.cache_<tag> on Unix), fs.chmodSync to 0o755, and spawns it detached via /bin/sh -c \"<path> &\" or cmd.exe /c start /b. A base64-encoded chunked DNS TXT retrieval channel over c.<domain>/N.<domain> under tin.dl.well1.site, tina.dl.well1.site, ldr.dl.well1.site, and win.dl.well1.site serves as a covert fallback transport when HTTPS is blocked. The package's declared purpose is a web header helper and there is no build/native-addon rationale for downloading and executing an unverified binary at import time; destination hosts are attacker-controlled, string-reassembled to defeat static scanners, and a token-gated DISABLE_TELEMETRY flag is used as a cover story.\n\n## Source: ghsa-malware (77922987a2e7e78e43a4eda61cd08125e62f1bcb4d74fbe3c39abcb5c63be148)\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":"tcb-web-header","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["20.5.7"],"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":"_platform.js","sha256":"6dc3bdddfdb87d9e6d1ab5b10d26d8dd01f21326eb3a1b0a4854c54fe32a6194","tlsh":"eaa197961665302d8bb0a7f487079419f65be2633780c2d0fbac64842fb716483b2efc"}],"package_integrity":[{"filename":"tcb-web-header-20.5.7.tgz","hashes":{"sha1":"3a97f19adc715e015a234c606c04d499a3150632","sha512_sri":"sha512-JCvT3+vZ/wjJLYgPtI5z4VYaQdXVVwOsxeXEnBpk6tpyVIDGLNH7t2rLkzSVuDnGvhlRDaQAkO9HK5Cl36G1OA=="}}]}}}],"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/tcb-web-header/v/20.5.7"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v68w-vmp6-9p6v"}],"database_specific":{"malicious-packages-origins":[{"id":"IN-MAL-2026-014771","import_time":"2026-08-05T13:08:45.19410855Z","modified_time":"2026-08-05T12:48:48Z","sha256":"115bda849ee7aff33e1ccc649f492e892e31243bfb026eea8048c158c885bdf0","source":"amazon-inspector","versions":["20.5.7"]},{"id":"GHSA-v68w-vmp6-9p6v","import_time":"2026-08-06T00:58:53.456564608Z","modified_time":"2026-08-05T16:42:12Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"77922987a2e7e78e43a4eda61cd08125e62f1bcb4d74fbe3c39abcb5c63be148","source":"ghsa-malware"}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}数据来源:OpenSSF Malicious Packages · Apache-2.0