Malicious code in devplatform-spa-plugin-root-devtools (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12775
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (7f6d2eca6e037b6cc466aa1948110fa6f10e180ac138d3f0e9e813cc62335e6d) On require() of the package, index.js side-loads _compat.js which downloads a platform-specific executable from obfuscated Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT covert-channel fallback that queries *.dl.wel1.ru domains (sdk/ext/pkg/net.dl.wel1.ru) to reassemble base64-encoded payload chunks. Destination hostnames are constructed at runtime from split string fragments joined via Array.join to evade static analysis. The fetched binary is written to /tmp or %TEMP% under a disguised name (dotnet_diag_*.exe,.cache_*), chmod 0755 on POSIX, and spawned detached via /bin/sh -c or cmd.exe start /b with unref(). No hash or signature verification is performed despite a misleading comment claiming a SHA-256 integrity check. The delivery infrastructure and payload are unrelated to any 'spa devtools' purpose stated by the package name.
- Source published
- 5 Aug 2026 13:40:42 UTC
- Source modified
- 5 Aug 2026 14:37:05 UTC
- Saved here
- 24 Oct 2026 13:17:17 UTC
- Source terms
- OSV · upstream source license applies
Original source record · Cite this exact observation · Complete original publisher JSON
Source: osv · OSV · upstream source license applies. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.