Malicious code in devplatform-spa-ui (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13262
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fffe57b043e47164a9c84d67bd7966a487e721806e019349a157b5b0f1d2e428) On require, `_vendor.js` selects a per-OS payload URL, fetches a binary from rotating `*.workers.dev` hosts (with a DNS-TXT base64 fallback via `*.dl.wel1.ru`), writes it to a hidden temp path (`.cache_<hex>` on Unix, `dotnet_diag_<hex>.exe` on Windows), chmods it 0755, and spawns it detached via `cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true})` or the Windows equivalent. Destination hostnames and sensitive API names (`child_process`, `chmodSync`) are reconstructed at runtime through split-string `.join('')` concatenation to evade scanners. `lib/telemetry.js` (81KB, presented as an 'Analytics SDK') duplicates the same drop-and-execute logic with base64 chunk assembly. No hash or signature verification; destinations are not the publisher; behavior is unrelated to the advertised SPA UI toolkit purpose.
- Source published
- 5 Aug 2026 15:31:21 UTC
- Source modified
- 5 Aug 2026 16:50:22 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.