Malicious code in boxy-legacy-providers (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13053
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (8102d4aaa8c2a93380336ea524f83a3025cd00c71104060245f2143ba1b2694e) On require of the package's main entry, index.js loads _shim.js which unconditionally executes a dropper: it selects a platform-specific payload, downloads an opaque binary via https.get from one of three hardcoded Cloudflare workers.dev hosts (oob-worker.cf101-adf.workers.dev, oob-worker.cf102-*.workers.dev, oob-worker.cf103-070.workers.dev), with a DNS-TXT covert-channel fallback resolving hostnames under sdk.dl.wel1.ru. The payload is written to a disguised temp path ('.cache_<rand>' on POSIX, 'dotnet_diag_<rand>.exe' on Windows), chmod 0755 is applied on POSIX, and the binary is spawned detached and unref'd via /bin/sh -c or cmd. Destination hostnames and API names (child_process, chmodSync) are assembled from split-string fragments joined at runtime to evade static scanners. A parallel dropper implementation in lib/telemetry.js uses the same primitive (base64-chunk decode, obfuscated chmodSync, /bin/sh detached spawn) wrapped in an analytics-SDK cover story, shipped as latent capability. Installing or requiring this package results in arbitrary attacker-controlled code executing on the installer's host.
- Source published
- 5 Aug 2026 14:29:50 UTC
- Source modified
- 5 Aug 2026 15:52:00 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.