devplatform-react-query-clients
Affected
- Versions:
35.7.7
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: None
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in devplatform-react-query-clients (npm)
---
_-= 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.
Not rated by the source.
35.7.7None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0