twork-data-services-invest-box-account@20.8.8
Malicious code in twork-data-services-invest-box-account (npm)
Analysis
On require(), the package detects the host OS and architecture (Windows/Linux/macOS, x64/arm64) and downloads a platform-specific second-stage binary from attacker-controlled Cloudflare Workers infrastructure. Primary download hosts: oob-worker[.]cf100-416[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev, oob-worker[.]cf99-9b3[.]workers[.]dev — fetching paths like /pkg/package, /pkg/package-arm64, /pkg/loader_mac, or /pkg/package.exe. If HTTPS download fails, a DNS TXT-based fallback C2 at tin[.]dl[.]well1[.]site (queried via c[.]tin[.]dl[.]well1[.]site) retrieves the payload via base64-encoded TXT records. The downloaded binary is written to /var/tmp/.cache_<hex> (Linux) or %TEMP%\dotnet_diag_<hex>.exe (Windows) and executed as a detached background process (cmd.exe /c start /b on Windows, /bin/sh -c on Linux). A rate-limiting timestamp file at /tmp/.analytics_state (Linux) or %TEMP%\analytics_state (Windows) limits re-execution to once per ~5.6 hours. The package also ships an 81KB decoy telemetry module (lib/telemetry.js) that is never invoked — it serves as camouflage.
- analyzed by
- Leitwacht
- first seen
- Aug 2, 2026, 04:44 PM
- analyzed
- Aug 2, 2026, 04:45 PM
Related advisories
- statist-browser-typed-client-coretech.web.metrics@20.1.8
- dolyame-boxy-independent-bnpl-info-images@20.7.2
- pvm-autodoc@20.4.6
- tinkoff-statist-browser-typed-client-jumptaxi.feature.contacts@20.6.6
- statist-browser-typed-client-ddp.mentat.ui.web@20.9.4
- fb-hr-sites--boxified-form-meetup-subcribe@20.6.4
- scandoc-scandoc-core@20.8.5
- tinkoff-pwa-confac-types@20.7.7
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.