b20minernpm
Advisory published Updated
b20miner is a confirmed malicious npm package (MAL-2026-18365) that hijacks the host to mine cryptocurrency (malicious version 0.3.1). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in b20miner (npm)
What this malware does
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
CryptominerFind it
Search your lockfiles and build artifacts for b20miner (version 0.3.1).
If you installed it — respond
b20miner hijacks resources to mine cryptocurrency. Remove it, check for abnormal CPU/GPU and cloud-cost spikes, and rotate any credentials exposed to the compromised process.
Did it already run?
If b20miner 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
Detect & block this
O3 blocks b20miner-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the mining traffic and severs the channel.