{"id":"MAL-2025-2999","summary":"Malicious code in solana-utils (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (4fcf79d026074d2ebc0ce48f578a5078acafca383dbd727a0b2e9f5a723f2702)\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":"2026-03-19T12:56:56.565933Z","published":"2025-02-21T21:50:10Z","database_specific":{"malicious-packages-origins":[{"sha256":"5a5d0fd5dc0fb3c56c738433b9b2c4e703824f7d0b32549cd93da3daaa4393ff","import_time":"2025-03-31T07:07:06.717088774Z","source":"reversing-labs","versions":["0.1.1","0.1.2"],"id":"RLMA-2025-01998","modified_time":"2025-03-28T13:06:15Z"},{"sha256":"b77af7d0f8aa44942052740ef1f9445d4c9832bfe1b146f38bd19f030188a9d8","import_time":"2025-12-02T22:30:55.598037553Z","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2025-02-transaction-utils/solana-utils","modified_time":"2025-02-21T21:50:10Z"},{"sha256":"4fcf79d026074d2ebc0ce48f578a5078acafca383dbd727a0b2e9f5a723f2702","import_time":"2025-12-02T23:07:18.637171302Z","source":"kam193","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"id":"pypi/2025-02-transaction-utils/solana-utils","modified_time":"2025-02-21T21:50:10Z"},{"sha256":"697ed06d1331251802aa126e1816bd4541293f27bf4df24435a2ec385ab4e568","import_time":"2025-12-10T21:38:57.831288159Z","source":"kam193","versions":["0.1.1","0.1.2"],"id":"pypi/2025-02-transaction-utils/solana-utils","modified_time":"2025-02-21T21:50:10Z"},{"sha256":"3930a5f34409d6beb930af2d76f075ad37696fdd4c1fb820d8fe7fcf5ebf576f","import_time":"2026-03-19T12:20:28.648045105Z","source":"reversing-labs","id":"RLUA-2026-00769","modified_time":"2026-03-18T12:18:55Z"}]},"references":[{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/solana-utils"}],"affected":[{"package":{"name":"solana-utils","ecosystem":"PyPI","purl":"pkg:pypi/solana-utils"},"versions":["0.1.1","0.1.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/solana-utils/MAL-2025-2999.json"}}],"schema_version":"1.7.5","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"}]}