{"id":"MAL-2026-12778","revision":"09068a827c71464f9fcea1ef739d9cec","records":[{"revision":"09068a827c71464f9fcea1ef739d9cec","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12778","aliases":[],"title":"Malicious code in devplatform-spa-plugin-s3-feature-toggle (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (7574ec8653333519f651022c1d008eca37f884dc753ad8825cda3facdcd9aa61)\nOn require() of the package, index.js loads _runtime.js which selects a platform-specific endpoint, downloads a binary over HTTPS from obfuscated Cloudflare Workers subdomains (oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev), writes it to /var/tmp/.cache_<hex> on POSIX or %TEMP%\\dotnet_diag_<hex>.exe on Windows, chmods 0755, and spawns it detached via /bin/sh -c or cmd. Destination hostnames are reconstructed by array-join to defeat static string scanning (e.g. [\"oob-work\",\"er.cf1\",\"03-070.w\",\"orke\",\"rs\",\".d\",\"ev\"].join(\"\")). When HTTPS delivery fails, _runtime.js falls back to a DNS-tunneled channel over TXT records at sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru / net.dl.wel1.ru: it queries c.<domain> for a chunk count, iterates <i>.<domain> to retrieve base64-encoded chunks, concatenates and decodes them into a Buffer, writes the resulting binary to disk, chmods 0755, and spawns it. No hash or signature verification is performed; the payload is opaque and delivered from anonymous infrastructure; staging paths use hidden dot-file and dotnet_diag cover names; env-var opt-out gates (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) and analytics-themed comments frame the behavior as telemetry. The combination of import-time execution, obfuscated attacker-controlled hosts, DNS-TXT covert-channel fallback, and unverified native-binary execution gives full remote code execution on the installer's host on npm install / require().\n","state":0,"publishedAt":"2026-08-05T13:40:04+00:00","modifiedAt":"2026-08-05T14:37:06.6516271+00:00","affected":[{"ecosystem":"npm","name":"devplatform-spa-plugin-s3-feature-toggle","ranges":[],"versions":["35.7.1"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-spa-plugin-s3-feature-toggle/v/35.7.1"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12778","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12778","identifiers":["MAL-2026-12778"]},"retained":false,"historicalAffected":[]}],"coverage":[]}