bnpl-blocks-atom-bnpl-badgenpm
Advisory published Updated
bnpl-blocks-atom-bnpl-badge is a confirmed malicious npm package (MAL-2026-12864) that executes malicious code on install (malicious version 35.6.8). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in bnpl-blocks-atom-bnpl-badge (npm)
What this malware does
On require of the package, index.js unconditionally loads polyfill.js, which downloads a platform-specific binary from one of three obfuscated Cloudflare Workers endpoints (oob-worker.cf99-9b3.workers.dev, oob-worker.cf103-070.workers.dev, oob-worker.cf101-adf.workers.dev) with a DNS-TXT base64-chunk fallback under *.wel1.ru, writes it to a hidden file in /tmp or %TEMP% (e.g..cache<hex>, dotnet_diag_<hex>.exe), chmods it 0755, and spawns it detached via /bin/sh -c or cmd.exe. Destination hostnames and DNS domains are reconstructed at runtime by Array.join to evade static string matching. A sibling module lib/telemetry.js (~81 KB) contains the same dropper primitives (base64 chunk decoding, cp.spawn('/bin/sh',...), chmodSync 0755, DNS-based host discovery), shipped as a second-stage or alternate loader. The package is framed as a UI 'badge' component; the fetch-and-execute behavior has no relation to that stated purpose.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Malicious versions
Indicators of compromise (SHA-256)
Detection & response playbook
Malicious packageFind it
Search your lockfiles and build artifacts for bnpl-blocks-atom-bnpl-badge (version 35.6.8).
If you installed it — respond
Remove bnpl-blocks-atom-bnpl-badge 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 bnpl-blocks-atom-bnpl-badge 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-atom-bnpl-badge-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.