hubert-react-query@20.6.8
Malicious code in hubert-react-query (npm)
Analysis
hubert-react-query@20.6.8 is a combosquat of the legitimate react-query library. On require(), it runs a multi-stage downloader: fingerprints the OS and architecture, then fetches a second-stage binary from Cloudflare Workers C2 hosts (oob-worker[.]cf99-9b3[.]workers[.]dev, oob-worker[.]cf103-070[.]workers[.]dev, oob-worker[.]cf102-baf[.]workers[.]dev, oob-worker[.]cf100-416[.]workers[.]dev) via HTTPS GET /pkg/package (or platform-specific paths). If HTTP fails, it falls back to DNS TXT-based retrieval from c[.]tin[.]dl[.]well1[.]site (and platform-specific variants tina[.]dl[.]well1[.]site, ldr[.]dl[.]well1[.]site, win[.]dl[.]well1[.]site), reassembling base64-encoded chunks. The downloaded payload is written to /var/tmp/.cache_<hex> (or C:\Windows\Temp\dotnet_diag_<hex>.exe on Windows) and executed as a detached background process via /bin/sh or cmd.exe. A cache file at /tmp/.analytics_state prevents re-download within ~6 hours. The package has no repository, no README, and no declared purpose matching its behaviour.
- analyzed by
- Leitwacht
- first seen
- Aug 2, 2026, 05:10 PM
- analyzed
- Aug 2, 2026, 05:11 PM
Related advisories
- deposits-overnight@20.8.5
- checkout-create-pos-order-am@20.9.5
- statist-browser-typed-client-nfs.grocery.mobile.events@20.3.3
- tinkoff-ui-action@20.5.7
- specials-obid-webpack@20.5.4
- tinkoff-pfp-atom-styles-tiles@20.2.8
- tinkoff-boxy-atom-text-link@20.5.9
- tinkoff-fb-rf-add-application@20.3.5
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.