{"id":"MAL-2026-12081","summary":"Malicious code in bitcoinlib-py (PyPI)","details":"\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","modified":"2026-08-05T06:36:44.208886208Z","published":"2026-08-05T05:04:16Z","database_specific":{"iocs":{"domains":["40f955f39128bd79-178-249-214-24.serveousercontent.com"]},"malicious-packages-origins":[{"source":"kam193","versions":["0.9.0"],"id":"pypi/2026-08-bip39-py/bitcoinlib-py","import_time":"2026-08-05T06:01:02.708858512Z","modified_time":"2026-08-05T05:04:16.554779Z","sha256":"32582a69a108bf3ab34d8bd16122918dd29a56bff6f68a771b77c6c946bf9308"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/bitcoinlib-py"}],"affected":[{"package":{"name":"bitcoinlib-py","ecosystem":"PyPI","purl":"pkg:pypi/bitcoinlib-py"},"versions":["0.9.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/bitcoinlib-py/MAL-2026-12081.json"}}],"schema_version":"1.8.0","credits":[{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}