Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

bitcoin-main-libnpm

Malicious code in bitcoin-main-lib (npm) Remove it immediately and rotate any exposed credentials.

MAL-2025-191477
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall bitcoin-main-lib

What this malware does

The package bitcoin-main-lib was found to contain malicious code.

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.

The OpenSSF Package Analysis project identified 'bitcoin-main-lib' @ 7.1.6 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Malicious versions

7 flagged
7.1.07.1.17.1.27.1.47.1.67.1.77.1.8

Indicators of compromise (SHA-256)

7f254e52b887f72fbe7ddd7d8f5c38eba4fbb3a08c845c34f2d6dcf790017eaa
06ed1aa4aa61f36d953368c74cb3daf102b02842a6a27843021b499b033d71b0
054a38c3f0ef13d700fd10fae31053babcfe33fa983b170d4bafca9b44164482
0bedb99d5abf7b3e4e2dedba092a3124f7858b3153fbb135b2b85c49343d0917
73907f05ac4fa2d28e5e012a5a05f9d502a96a44dda66872764c75208190bf8e
b5dfcb3d7ee3ceba7d33dc7da0e380f84c69eaf12a7c31ed001038742e8bec4b
bd46e3f440615dbe75731ac06ed22f0f1b36513dc228181c6c8a61f8352157fa
e897ed7e870743b446ea45a6dba531c1bc438069a626f6f5848c9a00cbc996af
b4f6833ddd073b7c036ec32739e3cb826bd1eda9d3c350eed423548f64f047b2

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for bitcoin-main-lib (7 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging bitcoin-main-lib across your stack and pipelines.

  2. If you installed it — respond

    Remove bitcoin-main-lib 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.

  3. Did it already run?

    If bitcoin-main-lib was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks bitcoin-main-lib before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. bitcoin-main-lib on npm has been identified as a malicious package (versions 7.1.0, 7.1.1, 7.1.2, 7.1.4, 7.1.6, 7.1.7, 7.1.8 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GHSA-2869-rqcg-vfpc

References

Credits

  • Amazon Inspector · finder
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks bitcoin-main-lib-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.

bitcoin-main-lib (npm) malicious package — MAL-2025-191477 | O3 Security