GHSA-xghh-wmw4-rp87
Malicious code in bitcoinlib-dev (PyPI)
Auswirkung
## Source: kam193 (a198ee5e2df9c67dcbd24ed19a8fec5d462bbb3c0eb474cf00cd299e75074ef5) 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/bitcoinlib-dev/MAL-2025-3436.json))
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | bitcoinlib-dev | = 0.4.16 | nicht erfasst |
| pip | bitcoinlib-dev | = 0.4.17 | nicht erfasst |
| pip | bitcoinlib-dev | = 0.4.18 | nicht erfasst |
| pip | bitcoinlib-dev | = 0.4.19 | nicht erfasst |
| pip | bitcoinlib-dev | = 0.4.20 | nicht erfasst |
| pip | bitcoinlib-dev | = 0.4.21 | nicht erfasst |
Schwachstellenklasse
Referenzen
- GitHub-Advisory
- https://github.com/advisories/GHSA-xghh-wmw4-rp87
- https://github.com/1200wd/bitcoinlib/issues/455#issuecomment-2764513104
- https://bad-packages.kam193.eu/pypi/package/bitcoinlib-dev
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/bitcoinlib-dev/MAL-2025-3436.json
- https://security.snyk.io/vuln/SNYK-PYTHON-BITCOINLIBDEV-9667327
- https://www.reversinglabs.com/blog/malicious-python-packages-target-popular-bitcoin-library