boxy-story-headernpm
Advisory published Updated
boxy-story-header is a confirmed malicious npm package (MAL-2026-13085) that opens a backdoor for remote access (malicious version 35.7.2). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in boxy-story-header (npm)
What this malware does
index.js unconditionally requires./setup on load. setup.js reconstructs C2 hostnames by array-joining string fragments (Cloudflare Workers subdomains including oob-worker.cf99-9b3.workers.dev) and falls back to a base64-chunked DNS-TXT covert channel under numeric subdomains of wel1.ru. It downloads a platform-specific binary via https.get, writes it to /tmp/.cache_<hex> or %TEMP%\dotnet_diag_<hex>.exe under a hidden or system-masquerading name, chmods it 0755, and spawns it detached through /bin/sh -c or cmd.exe /c start /b with no signature or hash verification. lib/telemetry.js reimplements the same fetch-decode-chmod-spawn dropper primitives (Buffer.from(...,'base64'), fs['chmod'+'Sync'](path, mode|0o755), cp.spawn('/bin/sh',['-c',filePath+' &'],{detached:true})). Host obfuscation, DNS-TXT fallback, hidden/masquerading filenames, and unauthenticated remote execution on import satisfy the install-time-rce fingerprint (known-bad-infrastructure dropper).
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Backdoor / remote accessFind it
Search your lockfiles and build artifacts for boxy-story-header (version 35.7.2).
If you installed it — respond
boxy-story-header establishes remote access, so treat any host that installed it as fully compromised. Isolate the machine, remove the package, rotate all credentials it could reach, and rebuild from a trusted image rather than cleaning in place — a backdoor may have planted additional persistence.
Did it already run?
If boxy-story-header 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-story-header-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the C2 callback and severs the channel.