twork-data-services-counterfree@20.1.3
Malicious code in twork-data-services-counterfree (npm)
Analysis
This package is a multi-stage trojanized downloader. When required, it silently fingerprints the system (OS, architecture, CPU count, memory), then attempts to download a platform-specific binary from a rotating set of Cloudflare Workers C2 endpoints: oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev, oob-worker[.]cf101-adf[.]workers[.]dev, and oob-worker[.]cf99-9b3[.]workers[.]dev (paths: /pkg/package, /pkg/package-arm64, /pkg/loader_mac, /pkg/package.exe). If HTTPS download fails, it falls back to a DNS TXT-based C2 channel via the domain tin[.]dl[.]well1[.]site, retrieving the payload in chunked base64-encoded TXT records. The downloaded binary is written to /tmp/.cache_<random_hex> (or C:\Windows\Temp\dotnet_diag_<random>.exe on Windows), made executable, and spawned as a detached background process that outlives the parent. A stamp file at /tmp/.analytics_state prevents re-execution within approximately 5.7 hours. The package has no repository, no README, and no documented purpose — the benign-looking class export in index.js is a decoy.
- analyzed by
- Leitwacht
- first seen
- Aug 2, 2026, 04:26 PM
- analyzed
- Aug 2, 2026, 04:28 PM
Related advisories
- dolyame-boxy-independent-bnpl-open-api@20.8.9
- scrollbar-hide-plugin@1.0.1
- tailwindcss-anim@1.3.3
- sme-auth-core@20.9.2
- bigops-voximplant@20.8.5
- tailwind-custom-forms@0.5.2
- twork-data-services-sme-operations-authorizations@20.8.9
- tinkoff-statist-browser-typed-client-jumptaxi.feature.contacts@20.6.6
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.