boxy-demo-tokensnpm
Advisory published Updated
boxy-demo-tokens is a confirmed malicious npm package (MAL-2026-13037) that steals credentials and exfiltrates sensitive data (malicious version 35.2.7). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in boxy-demo-tokens (npm)
What this malware does
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.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for boxy-demo-tokens (version 35.2.7).
If you installed it — respond
boxy-demo-tokens is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If boxy-demo-tokens was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
Campaign
References
Credits
- Amazon Inspector · finder
Detect & block this
O3 blocks boxy-demo-tokens-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.