Malicious code in boxy-demo-tokens (npm)
Historical advisory saved 24 Oct 2026 13:17:17 UTC. The publisher may have updated it since then. Latest advisory.
osv · MAL-2026-13037
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (a4fef0cd8b9f91923e6bf6bf357c229e57bb3b108b48ddc3bc9f0faa8f16b8db) On require(), index.js loads _bridge.js which fetches a platform-specific executable from Cloudflare Workers subdomains whose hostnames are reassembled from split string arrays (oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf99-9b3.workers.dev). The fetched bytes are written to /tmp or %TEMP% under disguising names (.cache_<hex>, dotnet_diag_<hex>.exe), chmodded 0755, and spawned as a detached child process via cp.spawn('/bin/sh', ['-c', fp + ' &'], {detached:true}) or the Windows equivalent. If the HTTPS fetch fails, _bridge.js falls back to a DNS-TXT covert channel at *.dl.wel1.ru subdomains (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru): a count is read from c.<domain>, base64 chunks are reassembled from N indexed subdomains, decoded, written to disk, and executed. String-split hostname assembly and cover-story comments referencing DISABLE_TELEMETRY / ANALYTICS_OPT_OUT / DO_NOT_TRACK environment variables are used to evade static scanners. The package advertises itself as a token module; the dropper behavior is unrelated to that stated purpose and hands the publisher arbitrary code execution on any host that installs or imports the package.
- Source published
- 5 Aug 2026 14:32:07 UTC
- Source modified
- 5 Aug 2026 15:51:53 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.