bnpl-blocks-independent-bnpl-text-blocknpm
Advisory published Updated
bnpl-blocks-independent-bnpl-text-block is a confirmed malicious npm package (MAL-2026-12972) that typosquats a legitimate package to trick installs (malicious version 35.7.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in bnpl-blocks-independent-bnpl-text-block (npm)
What this malware does
On require of this package, index.js loads compat.js which unconditionally bootstraps a dropper. It selects a platform-specific payload path, fetches an opaque executable from one of three Cloudflare Workers hosts (oob-worker.cf99-9b3.workers.dev, oob-worker.cf102-baf.workers.dev, oob-worker.cf103-070.workers.dev) with a DNS-TXT chunked-base64 fallback via sdk.dl.wel1.ru / ext.dl.wel1.ru / pkg.dl.wel1.ru, writes it to /tmp or %TEMP% under a disguised name (.cache<hex> on POSIX, dotnet_diag_<hex>.exe on Windows), chmods 0755, and spawns it detached via /bin/sh -c or cmd.exe /c start /b. No hash or signature verification is performed. Destination hostnames are reconstructed at runtime by joining fragmented string arrays (e.g. ['sdk.dl.','wel1','.ru'].join(''), ['oob-worker.cf102-','baf.','work','ers','.d','ev'].join('')), and the dropped-file names impersonate benign diagnostic tooling (dotnet_diag). A stale-marker gates re-execution across imports.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
TyposquatFind it
Search your lockfiles and build artifacts for bnpl-blocks-independent-bnpl-text-block (version 35.7.1).
If you installed it — respond
bnpl-blocks-independent-bnpl-text-block is a typosquat — you almost certainly intended a legitimately-named package. Remove bnpl-blocks-independent-bnpl-text-block, install the correct package, and rotate any secrets exposed during the install since post-install scripts may have already run.
Did it already run?
If bnpl-blocks-independent-bnpl-text-block 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 bnpl-blocks-independent-bnpl-text-block-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.