{"id":"MAL-2025-4245","summary":"Malicious code in tronlib (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (7b299597be11bab32fd63419a38161e9f3d21a6ab3ee73d1f8cb6b00e397625f)\nPackage appears to be designed for private key exfiltration, but no known usage. The name appears to be related to the cryptocurrency TRX (Tron / Tronix). Some packages additionally clone the readme of other, legit libraries. The similar packages are repeating uploaded to PyPI\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-04-tronix\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-generic\n\n\n - crypto-related\n","modified":"2026-03-19T12:57:47.264976Z","published":"2025-04-28T16:54:05Z","database_specific":{"iocs":{"domains":["68076f26e81df7060eba3e58.mockapi.io","66c0dc0bba6f27ca9a57c4bf.mockapi.io","67b9f37c51192bd378dee810.mockapi.io","reda-sequestered-justine.ngrok-free.dev"]},"malicious-packages-origins":[{"id":"RLMA-2025-02603","import_time":"2025-05-22T14:06:38.147218157Z","modified_time":"2025-05-22T12:33:50Z","sha256":"a751b32531cfbe8cb8bb703124aad6441523cb805e5ff67a5c119b443a671e3e","source":"reversing-labs","versions":["0.0.1"]},{"sha256":"6ef35a9173feb48ff6e55590b578d21f9cee16885ba08eec0955967100da6914","source":"kam193","id":"pypi/2025-04-tronix/tronlib","import_time":"2025-12-02T22:30:55.67550702Z","modified_time":"2025-04-28T16:54:05Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}]},{"import_time":"2025-12-02T23:07:18.719577091Z","modified_time":"2025-04-28T16:54:05Z","ranges":[{"events":[{"introduced":"0"}],"type":"ECOSYSTEM"}],"sha256":"7b299597be11bab32fd63419a38161e9f3d21a6ab3ee73d1f8cb6b00e397625f","source":"kam193","id":"pypi/2025-04-tronix/tronlib"},{"source":"kam193","versions":["0.0.1"],"id":"pypi/2025-04-tronix/tronlib","import_time":"2025-12-10T21:38:57.896887556Z","modified_time":"2025-04-28T16:54:05Z","sha256":"43da46bbfbf87273ad293edfa4b0a1bef3b57deb9126be04ae2aafe679851459"},{"import_time":"2026-03-19T12:20:37.227101722Z","modified_time":"2026-03-18T12:19:50Z","sha256":"98c7df4aa395660dba0925d4519e8a5800b6e4827fe667f4ebd3abe1b229a0aa","source":"reversing-labs","id":"RLUA-2026-00856"}]},"references":[{"type":"WEB","url":"https://en.wikipedia.org/wiki/Tron_(blockchain)"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/tronlib"}],"affected":[{"package":{"name":"tronlib","ecosystem":"PyPI","purl":"pkg:pypi/tronlib"},"versions":["0.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/tronlib/MAL-2025-4245.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":"ANALYST"},{"name":"ReversingLabs","contact":["https://www.reversinglabs.com"],"type":"FINDER"}]}