boxy-expander-contractnpm
Advisory published Updated
boxy-expander-contract is a confirmed malicious npm package (MAL-2026-13043) that executes malicious code on install (malicious version 35.5.3). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in boxy-expander-contract (npm)
What this malware does
On require() of this package, index.js loads./runtime.js which assembles Cloudflare Workers hostnames via string-split.join('') fragments (e.g. oob-worker.cf103-070.workers.dev, oob-worker.cf100-416.workers.dev, oob-worker.cf99-9b3.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT fallback under *.dl.wel1.ru (sdk.dl.wel1.ru, ext.dl.wel1.ru, pkg.dl.wel1.ru, net.dl.wel1.ru), downloads a platform-specific binary via https.get, writes it to /tmp or %TEMP% under a name masquerading as system tooling (dotnet_diag.exe,.cache_), chmods 755 on unix, and spawns it detached via spawn('/bin/sh', ['-c',...]) or spawn('cmd',...). No hash or signature verification is performed and destination hosts are string-fragmented to evade static analysis. The package's advertised API is an unrelated decoy stub.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for boxy-expander-contract (version 35.5.3).
If you installed it — respond
Remove boxy-expander-contract from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.
Did it already run?
If boxy-expander-contract 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-expander-contract-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.