Malicious code in devplatform-cli-plugin-test (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12703
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (307cdf72132de0cbce8bbbe7fd65b7c89d9c879fd917ff6a9e06e41ff56d299e) On require(), _runtime.js selects a platform-specific asset, downloads a binary over https.get from hardcoded Cloudflare Workers hosts (with a DNS TXT base64 fallback under dl.wel1.ru), writes it to /var/tmp or %TEMP% under names mimicking diagnostic tools (dotnet_diag_*.exe,.cache_*,.analytics_state), chmods it 0o755, and spawns it detached via spawn('/bin/sh', ['-c', fp+' &'], {detached:true}) or cmd.exe /c start /b. C2 hostnames and fallback domains are reconstructed at runtime from split-string arrays to evade static scanners. No hash or signature verification. The destinations are non-publisher, mutable, and disguised, and the package advertises itself as test fixtures while performing this drop-and-execute on load.
- Source published
- 5 Aug 2026 13:52:24 UTC
- Source modified
- 5 Aug 2026 14:36:32 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.