Malicious code in boxy-devtools-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-13040
Published--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (902a7b42df643551615d55958546ab9115082ac8eb60ff1208cafa18b804ab3c) The package's main entry (index.js) unconditionally loads _compat.js on require(). _compat.js assembles a rotating list of Cloudflare Workers hostnames (oob-worker.cf99-9b3.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf101-adf.workers.dev, oob-worker.cf102-baf.workers.dev) from split string fragments joined via.join(''), with a DNS TXT fallback channel (c.<domain>/N.<domain> under *.dl.wel1.ru) used when HTTPS delivery is blocked. It downloads a platform-specific binary via https.get, writes it to a temp file with a disguised name, chmods it 0755 on Unix, and spawns it detached via spawn('/bin/sh',...) or spawn('cmd',...). An mtime stamp file suppresses re-execution, and environment variables named to resemble opt-out signals (DISABLE_TELEMETRY, ANALYTICS_OPT_OUT, DO_NOT_TRACK) gate execution. The package is advertised as a token library; the shipped code performs an out-of-band binary drop from attacker-controlled infrastructure with no relationship to that purpose.
- Source published
- 5 Aug 2026 14:32:40 UTC
- Source modified
- 5 Aug 2026 15:51:54 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.