Malicious code in boxy-rspack-optimize-sharing-runtime (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13078
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (be4136f667c5959249d83cd2f0a7322d10c005450c7ce18ae1c1723e0a017e80) The package's index.js unconditionally requires./_bridge on module load. _bridge.js selects a platform-specific payload path (linux_x64, linux_arm64, darwin, win32.exe), downloads bytes from a rotating list of *.workers.dev hosts whose hostnames are reconstructed by array-joining string fragments (e.g. ['oob-worker.cf100','-416.worke','rs','.de','v'].join('')), with a DNS-TXT fallback that reassembles a base64 payload from chunked TXT records under *.wel1.ru (sdk./ext./pkg./net.dl.wel1.ru). The fetched bytes are written to /var/tmp/.cache_<hex> or %TEMP%\dotnet_diag_<hex>.exe, chmod 0755, then spawned detached via /bin/sh -c '<path> &' or cmd.exe /c start /b. A second file lib/telemetry.js ships the same drop-and-exec primitives (base64 chunk reassembly, string-concatenated fs['chmod'+'Sync'], /bin/sh spawn) framed as an APM SDK, though it is not on the reachable graph from index.js. Filenames such as.cache_/.analytics_state/dotnet_diag_ and a DISABLE_TELEMETRY env check are cover framing; the endpoint reconstruction and DNS-TXT smuggling are not legitimate telemetry patterns. Any require/import of this package results in remote code execution on the host.
- Source published
- 5 Aug 2026 14:25:44 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.