Malicious code in devplatform-react-query-clients (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12738
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (192681d10673d935bcba617102ed5581cc928ba8ebedda203cebe5d33d7f067a) On require() of the package, index.js loads _adapter.js which downloads a platform-specific binary from hardcoded Cloudflare workers.dev endpoints (oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) with a DNS-TXT fallback channel to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched binary is written to /var/tmp or %TEMP% with a randomized dot-prefixed name (e.g. dotnet_diag_<hex>.exe,.cache_<hex>), chmod'd 0755, and spawned detached via /bin/sh -c or cmd /c start. Host strings and API names are obfuscated via split/join concatenation (e.g. ["oob-worker.cf99-9b3.workers.d","ev"].join(""), fs["chmod"+"Sync"], require("child_"+"process")) to evade static scanners. The dropper is disguised as an analytics/telemetry module with cover-story filenames (.analytics_state, dotnet_diag_* impersonating a Microsoft diagnostic tool) and env-variable opt-out gates (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK). lib/telemetry.js (81 KB) mirrors the same fetch/chmod/spawn pattern under an apm.node label. Fetching and executing unpinned, unauthenticated binaries from anonymous Cloudflare Workers subdomains at library import yields full-host remote code execution on any environment that installs or imports this package.
- Source published
- 5 Aug 2026 13:47:07 UTC
- Source modified
- 5 Aug 2026 14:36:49 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.