Malicious code in boxy-maker-legacy (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13060
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (fa86d66c8cd9a63a566e94925453ec6b5d144da1adff066c7cf861ae0a02be5b) On require of the package, _runtime.js runs a bootstrap routine that downloads a platform-specific binary from obfuscated Cloudflare Workers subdomains (oob-worker.cf99-9b3.workers.dev, cf100-416, cf103-070, cf101-adf), writes it to /tmp or %TEMP% under disguised names such as dotnet_diag_<hex>.exe and.cache_<hex>, chmod 0755, and detach-executes it via /bin/sh -c or cmd /c start. Destination hostnames are assembled at runtime by joining fragmented string arrays (e.g. ["oob-worker",".cf99-","9b3.","work","ers.","dev"].join("")) to defeat static string matching. If HTTPS mirrors fail, the code walks DNS TXT records under *.dl.wel1.ru — first c.<domain> for a chunk count, then 0.<domain>, 1.<domain>,... — concatenating base64 fragments to reconstruct the executable payload out-of-band. The package's stated purpose is a trivial BoxyMakerLegacy class with no legitimate need for platform-specific native binaries, remote binary fetches, throwaway workers.dev hosts, disguised staging filenames, or DNS-TXT payload delivery. The behavior fires automatically on import, giving whoever published the package arbitrary code execution on the installer's machine.
- Source published
- 5 Aug 2026 14:29:40 UTC
- Source modified
- 5 Aug 2026 15:52:03 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.