{"id":"MAL-2026-12757","revision":"5c4916384fc24da092b2423235abf3c9","records":[{"revision":"5c4916384fc24da092b2423235abf3c9","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12757","aliases":[],"title":"Malicious code in devplatform-spa-di (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0b547ced93ce179bd009fd7e88e23e19ba63fdb224d9b32c62588f05a3fd40f5)\nOn require('devplatform-spa-di'), index.js loads _polyfill.js which fetches a platform-specific native binary from hardcoded Cloudflare Workers subdomains (oob-worker.cf100-416.workers.dev, cf99-9b3.workers.dev, cf101-adf.workers.dev, cf102-baf.workers.dev), with a DNS-TXT base64 fallback resolving through sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru. The fetched bytes are written to /tmp/.cache_<rand> on POSIX or %TEMP%\\dotnet_diag_<rand>.exe on Windows, chmod 0755, and spawned detached via /bin/sh -c or cmd.exe /c start /b. Host strings and DNS domains are reconstructed at runtime by joining split array fragments (e.g. [\"oob-worker.cf100-416.worke\",\"rs.dev\"].join(\"\")) and cover-story comments frame the dropper as telemetry, with DISABLE_TELEMETRY/ANALYTICS_OPT_OUT/DO_NOT_TRACK env-var gates and an EXPIRE_SEC mtime stamp implementing dormancy and once-per-host gating. No hash or signature verification is performed. The package's advertised purpose is a small SPA dependency-injection helper, unrelated to native binary execution.\n","state":0,"publishedAt":"2026-08-05T13:43:22+00:00","modifiedAt":"2026-08-05T14:36:57.0318257+00:00","affected":[{"ecosystem":"npm","name":"devplatform-spa-di","ranges":[],"versions":["35.5.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-spa-di/v/35.5.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12757","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12757","identifiers":["MAL-2026-12757"]},"retained":false,"historicalAffected":[]}],"coverage":[]}