{"id":"MAL-2025-191909","summary":"Malicious code in transaction-utils (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (c1efc9cf33a18e7f3c4294c39aabadf136974e4e2ee56c874ba337ac609c6b77)\nThe only thing the package does is send out all the given data about a cryptocurrency transaction, including the private key, to a hardcoded webhook.\n\nFeedback from PyPI Team: the package \"transaction-utils\" may also exploit a known pip behavior to overwrite files of an existing legitime package and replace it with malicious content.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-02-transaction-utils\n\n\nReasons (based on the campaign):\n\n\n - crypto-related\n\n\n - action-hidden-in-lib-usage\n\n\n - A Telegram webhook is used to send collected data.\n","modified":"2025-12-31T02:55:21.136479Z","published":"2025-02-21T21:50:10Z","database_specific":{"malicious-packages-origins":[{"source":"kam193","import_time":"2025-12-02T22:30:55.658060024Z","sha256":"5fe7c88b0f2c7b577871f1cbf57dea7dafafbe8f49ed614fe91045ae46986353","modified_time":"2025-02-21T21:50:10Z","id":"pypi/2025-02-transaction-utils/transaction-utils","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"source":"kam193","import_time":"2025-12-02T23:07:18.701665029Z","sha256":"c1efc9cf33a18e7f3c4294c39aabadf136974e4e2ee56c874ba337ac609c6b77","modified_time":"2025-02-21T21:50:10Z","id":"pypi/2025-02-transaction-utils/transaction-utils","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"source":"kam193","import_time":"2025-12-10T21:38:57.886762331Z","versions":["0.1.1","0.1"],"modified_time":"2025-02-21T21:50:10Z","id":"pypi/2025-02-transaction-utils/transaction-utils","sha256":"1b1fd665949fe7b8145ab0c6aeb26c6950171b4ca1e449d9ba8eda9227e6c7ae"},{"source":"kam193","import_time":"2025-12-30T22:39:04.199269464Z","versions":["0.1","0.1.1"],"modified_time":"2025-02-21T21:50:10Z","id":"pypi/2025-02-transaction-utils/transaction-utils","sha256":"2a0fde628104dfcff959e7931714a1c5868630a2aa2f47c88ffc3b2cdc83cc31"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/transaction-utils"}],"affected":[{"package":{"name":"transaction-utils","ecosystem":"PyPI","purl":"pkg:pypi/transaction-utils"},"versions":["0.1.1","0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/transaction-utils/MAL-2025-191909.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"}]}