Malicious code in boxy-pkg-path (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13076
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (ae99d3d2f9b6c2a5a47e8edd34fb78968ffc58c3a514e04ad10b14455d7436f2) index.js unconditionally loads _support.js on require. _support.js reconstructs Cloudflare Workers hostnames (oob-worker.cf10{0,1,2}-*.workers.dev) and a.ru DNS-TXT fallback (*.dl.wel1.ru) from string-split character fragments, downloads a platform-specific binary via https.get, writes it to a masqueraded path (/tmp/.cache_<hex> on Unix or %TEMP%\dotnet_diag_<hex>.exe on Windows), chmods it 0755, and spawns it detached via /bin/sh -c or cmd. Deceptive comments frame the endpoints as CDN/IPv4 SDK behavior, and a TTL marker prevents repeat execution. lib/telemetry.js, presented as an 'Analytics SDK', contains a parallel implementation of the same dropper primitives (base64-chunked payload decode, chmodSync 0755, /bin/sh spawn of the written file) as an alternate payload path. Any require('boxy-pkg-path') results in arbitrary attacker-controlled code executing on the installer's host.
- Source published
- 5 Aug 2026 14:26:37 UTC
- Source modified
- 5 Aug 2026 15:52:11 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.