Skip to main content
MalwarePublished Updated

bitcoin-main-lib (npm) · Malicious Code

Affects bitcoin-main-libSource GCVE Database

0

Malicious package : remove bitcoin-main-lib and rotate any secrets on hosts that installed it.

Data as of 20 Nov 2026, 01:23 UTC

Classification

Malicious package

Published to npm · OSV MAL-2025-191477

What to do

Remove bitcoin-main-lib from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmbitcoin-main-libAffected
  • 7.1.0 – 7.1.8
7 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'bitcoin-main-lib' versions 7.1.0, 7.1.1, 7.1.2, 7.1.4, 7.1.6, 7.1.7, and 7.1.8 contains malicious code. This package communicates with domains linked to malicious activity and executes commands associated with harmful behavior. Systems with this package installed should be considered fully compromised, and all secrets and keys stored on those systems must be rotated immediately from a secure, unaffected device. Removal of the package alone may not eliminate all malicious software introduced by it.

References

Community reviews

Loading reviews…