bcnfjndwbkf2npm
Advisory published Updated
bcnfjndwbkf2 is a confirmed malicious npm package (MAL-2026-13783) that typosquats a legitimate package to trick installs (malicious version 1.0.0). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in bcnfjndwbkf2 (npm)
What this malware does
The package contains only index.html and declares main: 'index.html' with no scripts, no bin, and no JavaScript library surface. The HTML mimics a Cloudflare 'Just a moment...' interstitial and, after a 1s timeout, runs obfuscator.io-style code that reconstructs a target URL from a rotated base64 string array (visible fragments include 'gin.microc' and '/') and calls window.location.replace() to it, forwarding current URL search params. Because main points at an HTML file, the package cannot be require()'d or import()'d, has no lifecycle hooks, and does not execute code on npm install. Installing or depending on this package does not run the redirector against the installer — the content only affects browser visitors who fetch the HTML via an npm CDN mirror (unpkg/jsdelivr). This is npm-as-static-host abuse for a browser-side redirect page rather than a supply-chain attack against installers.
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
TyposquatFind it
Search your lockfiles and build artifacts for bcnfjndwbkf2 (version 1.0.0).
If you installed it — respond
bcnfjndwbkf2 is a typosquat — you almost certainly intended a legitimately-named package. Remove bcnfjndwbkf2, 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 bcnfjndwbkf2 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 bcnfjndwbkf2-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.