Malicious code in devplatform-po-loader (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-12732
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (185d53460e4ec6534c0b4c8f3de1c0eb2d0134eaf161d8e0211a46bca273ad69) On require(), the package loads _platform.js which selects a platform-specific path (/pkg/package, /pkg/package-arm64, /pkg/loader_mac, /pkg/package.exe), downloads a binary over HTTPS from obfuscated Cloudflare Workers endpoints (oob-worker.cf100-416.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev), writes it to /tmp or %TEMP% under disguised names (dotnet_diag_<tag>.exe on Windows,.cache_<tag> on Unix impersonating Microsoft dotnet-diag), chmods 0755, and spawns it detached via /bin/sh or cmd. Host names are reconstructed at runtime through split-string join to evade static analysis, and a fallback covert channel resolves TXT records under *.dl.wel1.ru (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), reading a chunk count from c.<domain> and base64-decoding chunks from <i>.<domain> TXT records to reassemble and execute the payload. A marker file named.analytics_state and a 'Skip in CI environments' comment further disguise intent. The package advertises itself as a trivial loader library; the shipped code contains no library functionality — only the dropper.
- Source published
- 5 Aug 2026 13:48:27 UTC
- Source modified
- 5 Aug 2026 14:36:46 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.