{"id":"MAL-2025-3436","summary":"Malicious code in bitcoinlib-dev (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (a198ee5e2df9c67dcbd24ed19a8fec5d462bbb3c0eb474cf00cd299e75074ef5)\nIt overwrites the 'clw' command from legit bitconinlib package and attempts to exfiltrate its database on the usage.\n\nAs 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\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-03-bitcoinlibdbfix\n\n\nReasons (based on the campaign):\n\n\n - files-exfiltration\n\n\n - crypto-related\n\n\n - action-hidden-in-lib-usage\n\n\n - exfiltration-crypto\n","aliases":["SNYK-PYTHON-BITCOINLIBDEV-9667327"],"modified":"2025-12-12T20:36:30.479819Z","published":"2025-03-30T15:18:14Z","database_specific":{"malicious-packages-origins":[{"sha256":"60f9219187ef9ed45dfc3b7c27f27c66f0a32769437a28f83827bad54e7bd624","versions":["0.4.16","0.4.17","0.4.18","0.4.19","0.4.20","0.4.21"],"modified_time":"2025-04-23T16:06:16Z","import_time":"2025-04-25T09:36:45.210811176Z","id":"RLMA-2025-02495","source":"reversing-labs"},{"sha256":"76ff9fe5768d125b1c73e1502902291a8882bfc28b2b333dde6e10b21b372b95","modified_time":"2025-03-30T15:18:14Z","import_time":"2025-12-02T22:30:54.992636288Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2025-03-bitcoinlibdbfix/bitcoinlib-dev","source":"kam193"},{"sha256":"a198ee5e2df9c67dcbd24ed19a8fec5d462bbb3c0eb474cf00cd299e75074ef5","modified_time":"2025-03-30T15:18:14Z","import_time":"2025-12-02T23:07:18.025049824Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2025-03-bitcoinlibdbfix/bitcoinlib-dev","source":"kam193"},{"sha256":"cab20eb85be911dd4de0c38b292bb096aa60beb2cf67c9c2920b8b1ffbbfb2a2","versions":["0.4.16","0.4.17","0.4.18","0.4.19","0.4.20","0.4.21"],"modified_time":"2025-03-30T15:18:14Z","import_time":"2025-12-10T21:38:57.318887515Z","id":"pypi/2025-03-bitcoinlibdbfix/bitcoinlib-dev","source":"kam193"}],"iocs":{"urls":["https://5fde88fde64f4682c2fc1e10e6c.vercel.app/api/send","https://discord.com/api/webhooks/1329712636807610379/eU6AZ5oBM_12FIkwvtiasyjywx7WYW7wzuWJwWU3u2kadKko7QKpXcl3Kd0fJspPhM4w"]}},"references":[{"type":"ARTICLE","url":"https://www.reversinglabs.com/blog/malicious-python-packages-target-popular-bitcoin-library"},{"type":"ADVISORY","url":"https://security.snyk.io/vuln/SNYK-PYTHON-BITCOINLIBDEV-9667327"},{"type":"WEB","url":"https://github.com/1200wd/bitcoinlib/issues/455#issuecomment-2764513104"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/bitcoinlib-dev"}],"affected":[{"package":{"name":"bitcoinlib-dev","ecosystem":"PyPI","purl":"pkg:pypi/bitcoinlib-dev"},"versions":["0.4.16","0.4.17","0.4.18","0.4.19","0.4.20","0.4.21"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bitcoinlib-dev/MAL-2025-3436.json"}}],"schema_version":"1.7.3","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"]},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}