LWA-2026-7504 MAL-2026-12480 ↗ confirmed malware

tms-x-headers@20.2.9

Malicious code in tms-x-headers (npm)

T1195.002 · Compromise Software Supply ChainT1059.007 · JavaScriptT1105 · Ingress Tool TransferT1071.001 · Web ProtocolsT1573 · Encrypted ChannelT1082 · System Information DiscoveryT1041 · Exfiltration Over C2 Channel

Analysis

On require(), tms-x-headers fingerprints the host platform (OS + architecture) and attempts to download a platform-specific binary from Cloudflare Workers C2 domains (oob-worker[.]cf101-adf[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev, oob-worker[.]cf100-416[.]workers[.]dev) via HTTPS GET requests to paths like /pkg/package, /pkg/package-arm64, /pkg/loader_mac, or /pkg/package.exe. If direct download fails, it falls back to a DNS TXT-based exfiltration channel via c[.]tin[.]dl[.]well1[.]site, reconstructing a base64-encoded payload from chunked TXT records. The downloaded binary is written to /var/tmp/.cache_<random-hex> (Linux/macOS) or %TEMP%\dotnet_diag_<random-hex>.exe (Windows) and executed as a detached background process. A cooldown file at /tmp/.analytics_state or %TEMP%\analytics_state prevents re-downloading for ~6.2 hours. The package can be suppressed by setting DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, or DO_NOT_TRACK environment variables.

analyzed by
Leitwacht
first seen
Aug 2, 2026, 04:12 PM
analyzed
Aug 2, 2026, 04:13 PM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.