{"id":"MAL-2026-12727","revision":"ecdaa9d1aecc4185b71ca4b8d74cbb94","records":[{"revision":"ecdaa9d1aecc4185b71ca4b8d74cbb94","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-12727","aliases":[],"title":"Malicious code in devplatform-nx-spa (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b8fa5cc0213b5b28609ba1035cb25dd701d3e8690f25b5a3b4dc37f5139fa740)\nOn require of the package, index.js loads _support.js, whose top-level init() selects a platform-specific asset, downloads a native binary from one of four Cloudflare Workers subdomains (oob-worker.cf100-416.workers.dev through cf103), and falls back to reconstructing the binary from base64-encoded DNS TXT records under *.dl.wel1.ru (sdk./ext./pkg./net.dl.wel1.ru) when HTTPS fails. The fetched bytes are written to /var/tmp (POSIX) or %TEMP% (Windows) under a cover filename ('dotnet_diag_<rand>.exe' or '.cache_<rand>'), chmod 0755'd on POSIX, and spawned detached via /bin/sh -c or cmd.exe /c start. Hostnames are assembled at runtime via.join(\"\") on split string literals to evade static analysis, and a state file named '.analytics_state' is used as cover. A sibling lib/telemetry.js is unreferenced in this version but reimplements the same drop-and-exec primitives behind an 'analytics SDK' framing.\n","state":0,"publishedAt":"2026-08-05T13:49:07+00:00","modifiedAt":"2026-08-05T14:36:44.2533682+00:00","affected":[{"ecosystem":"npm","name":"devplatform-nx-spa","ranges":[],"versions":["35.8.7"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/devplatform-nx-spa/v/35.8.7"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12727","license":"OSV · upstream source license applies","key":"osv:MAL-2026-12727","identifiers":["MAL-2026-12727"]},"retained":false,"historicalAffected":[]}],"coverage":[]}