trapp-check-logs@20.1.9
Malicious code in trapp-check-logs (npm)
Analysis
trapp-check-logs@20.1.9 is a trojanized npm package that downloads and executes a platform-specific binary payload on the victim's machine. When the package is imported, _bridge.js fingerprints the operating system (Linux x64/arm64, macOS, Windows), then fetches a binary from Cloudflare Workers C2 infrastructure (oob-worker[.]cf99-9b3[.]workers[.]dev, oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf101-adf[.]workers[.]dev) via HTTPS GET requests to /pkg/package (or platform-specific paths). If HTTP fails, it falls back to DNS-based retrieval via TXT queries to c[.]tin[.]dl[.]well1[.]site. The downloaded binary is written to /var/tmp/.cache_<random> on Linux/macOS or %TEMP%\dotnet_diag_<random>.exe on Windows, made executable, and spawned as a detached background process (cmd.exe /c start /b on Windows, /bin/sh -c "binary &" on Linux). The package also probed for sandbox detection via a DNS query to _leitwacht.attached.local. The 81KB lib/telemetry.js file is a decoy analytics SDK that masks the malicious _bridge.js downloader.
- analyzed by
- Leitwacht
- first seen
- Aug 2, 2026, 03:26 PM
- analyzed
- Aug 2, 2026, 03:27 PM
Related advisories
- tinkoff-volna-zustate@20.9.2
- sso-tramvai-lib-roles@20.8.3
- boxy-fixture-allure@20.8.1
- bpm-foundation-feature-flags@20.4.2
- tinkoff-statist-web-typed-client-test.golden.retriever@20.4.4
- tramvai-module-feature-toggle@20.5.3
- tinkoff-statist-browser-typed-client-sme.rko.origsmartphonepaytb.common.mobile.events@20.2.5
- saas-f-lego-landings@20.7.5
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.