pypi · Malicious package advisory
Malwarebitcoinlibdbfix
GHSA-vmh3-gfx6-72rc
Malicious code in bitcoinlibdbfix (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.4.8` ## Source: kam193 (a5cb52fa4f2ac6a68416c59a513399e01bb388d5e238260b712a513db3d97233) It overwrites the 'clw' command from legit bitconinlib package and attempts to exfiltrate its database on the usage. As a context, it appears to be created to lure users seeking for help with the bitconinlib package: https://github.com/1200wd/bitcoinlib/issues/455#issuecomment-2764513104 --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-03-bitcoinlibdbfix Reasons (based on the campaign): - files-exfiltration - crypto-related - action-hidden-in-lib-usage - exfiltration-crypto --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/bitcoinlibdbfix/MAL-2025-3437.json)) **References:** - https://github.com/1200wd/bitcoinlib/issues/455#issuecomment-2764513104 - https://bad-packages.kam193.eu/pypi/package/bitcoinlibdbfix - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/bitcoinlibdbfix/MAL-2025-3437.json - https://security.snyk.io/vuln/SNYK-PYTHON-BITCOINLIBDBFIX-9667328 - https://www.reversinglabs.com/blog/malicious-python-packages-target-popular-bitcoin-library - https://github.com/advisories/GHSA-vmh3-gfx6-72rc
Compromised versions (1)
- = 0.4.8
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.