MAL-2026-12480
Dashboard / Malicious Package / MAL-2026-12480
MAL-2026-12480
Summary: Malicious code in tms-x-headers (npm)
Details: Source: amazon-inspector (2d2d5c1a35629a169457029c69505622c3f6a7b6bdc8958480aea47ffe08266b) On 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. Source: ghsa-malware (dc4e635fba20ad19c36644478038a2ae0339d2429dde01c41aa8b8de446644c6) Any 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.
References: https://www.npmjs.com/package/tms-x-headers/v/20.2.9, https://github.com/advisories/GHSA-35hv-47hh-35xx
Affected packages
Package
Name: tms-x-headers
Purl: pkg:npm/tms-x-headers
Affected ranges
Type: N/A
Events:
