tms-x-headers@20.2.9
Malicious code in tms-x-headers (npm)
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
- tinkoff-mutual-mgm-form@20.2.9
- tcb-web-copy-to-clipboard@20.1.2
- tinkoff-statist-browser-typed-client-sme.rko.authorization.common@20.5.5
- trapp-configuration@20.5.3
- time-linters-webapp-eslint-config@20.2.2
- time-webkit-tag@20.1.6
- tramvai-tinkoff-module-legacy-popup@20.4.9
- twork-data-services-customer-api-v2-customer-vip-status@20.9.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.