{"id":"MAL-2026-12704","revision":"ea00587ec3a846d6a631e2bff8f7d2ea","records":[{"revision":"ea00587ec3a846d6a631e2bff8f7d2ea","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12704","aliases":[],"title":"Malicious code in devplatform-cli-spa (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (1bb41284069ba395bf67ceb847dc579c7a79c753ea89107116e91559ebbece2a)\nOn require('devplatform-cli-spa'), index.js loads _support.js which selects a payload by OS and architecture, downloads a native binary over HTTPS from string-obfuscated Cloudflare Workers hostnames (oob-worker.cf1-01-adf.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev), with a DNS TXT base64 fallback served from *.dl.wel1.ru. The fetched bytes are written to /tmp/.cache_<rnd> on Unix or %TEMP%/dotnet_diag_<rnd>.exe on Windows, chmod'd to 0755, and executed detached via spawn('/bin/sh', ['-c',...]) or spawn('cmd', ['/c', 'start',...]). The C2 hostnames and the DNS fallback domains are assembled at runtime by joining split string fragments (_NODES and _DNS_HOSTS arrays) to evade static string matching. The Windows drop path uses a 'dotnet_diag' decoy filename, and a stamp file gates re-runs across installs.\n","state":0,"publishedAt":"2026-08-05T13:51:46+00:00","modifiedAt":"2026-08-05T14:36:32.9224665+00:00","affected":[{"ecosystem":"npm","name":"devplatform-cli-spa","ranges":[],"versions":["35.7.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-cli-spa/v/35.7.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12704","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12704","identifiers":["MAL-2026-12704"]},"retained":false,"historicalAffected":[]}],"coverage":[]}