{"id":"MAL-2026-12081","title":"Malicious code in bitcoinlib-py (PyPI)","summary":"Malicious code in bitcoinlib-py (PyPI)","severity":"none","vendor":"bitcoinlib-py","product":"bitcoinlib-py","ecosystem":"pip","affected":["bitcoinlib-py"],"published":"2026-08-05","updated":"2026-08-05","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-12081","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/bitcoinlib-py"}],"tags":["osv","pip"],"ingestedAt":"2026-08-05T19:12:55.218Z","slug":"MAL-2026-12081","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (32582a69a108bf3ab34d8bd16122918dd29a56bff6f68a771b77c6c946bf9308)\nDuring installation, the package exfiltrates sensitive env variables, browser data, crypto wallets files, ssh keys and other configuration files.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-08-bip39-py\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - exfiltration-crypto\n\n\n - exfiltration-browser-data\n\n\n - exfiltration-env-variables\n\n\n - exfiltration-ssh-keys\n\n\n - exfiltration-credentials\n\n\n - uses-telegram-bot\n\n\n## Affected packages\n\n- `bitcoinlib-py`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}