{"id":"MAL-2026-12739","revision":"f9913fbc657c4f39b32f50689f093eaf","records":[{"revision":"f9913fbc657c4f39b32f50689f093eaf","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12739","aliases":[],"title":"Malicious code in devplatform-react-query-s3-client (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (6ce24f963296b5927f97e05940818b82e397479562fadd357e01c9137f449316)\nOn require()/import of devplatform-react-query-s3-client, index.js loads _vendor.js which selects a platform-specific payload path (linux_x64, linux_arm64, darwin, win32), fetches a binary from one of four Cloudflare Workers hosts whose names are assembled at runtime via array-join obfuscation (oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev), with a DNS-TXT base64 fallback channel to sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The downloaded bytes are written to /tmp or %TEMP% under a deceptive name (.cache_<hex> or dotnet_diag_<hex>.exe impersonating.NET diagnostics), chmod 0755, and spawn-detached via /bin/sh -c '<path> &' or cmd.exe /c start. A second copy of the dropper (base64-chunk assembly, cp.spawn('/bin/sh', ['-c', filePath+' &']), fs.chmodSync(..., 0o755)) is duplicated in lib/telemetry.js under a ServiceDiscovery/WorkerHost class as an alternate loader. Opt-out env vars (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and a /tmp/.analytics_state decoy provide a telemetry cover story; the destinations are hidden through string-split concatenation to defeat static grep. The payload is unpinned, unsigned, opaque, and delivered from hosts unrelated to any legitimate S3 or React Query SDK.\n","state":0,"publishedAt":"2026-08-05T13:46:06+00:00","modifiedAt":"2026-08-05T14:36:49.4273146+00:00","affected":[{"ecosystem":"npm","name":"devplatform-react-query-s3-client","ranges":[],"versions":["35.8.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-react-query-s3-client/v/35.8.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12739","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12739","identifiers":["MAL-2026-12739"]},"retained":false,"historicalAffected":[]}],"coverage":[]}