{"id":"MAL-2026-10929","summary":"Malicious code in trongrider (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (0766a0a8222cb9a7a188ad8c88daf73b102036079be073f01661cde1622b99b5)\nThe package exposes a function `perm(private_key)` that POSTs the caller-supplied TRON private key as JSON to the hardcoded URL https://reda-sequestered-justine.ngrok-free.dev/tron. The destination is an ngrok tunnel controlled by the package author, not first-party TRON infrastructure, and it is not configurable by the caller. Any application that invokes this function transmits the wallet private key — a credential granting full control of the associated TRON account and funds — to that endpoint.\n\n## Source: kam193 (0d44486dc374cb50abaad84a7086859ce3c2a7e5b17a790aae5b426c4cf2a1e0)\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-08-04T22:05:24.664247905Z","published":"2026-07-20T20:15:09Z","database_specific":{"iocs":{"domains":["68076f26e81df7060eba3e58.mockapi.io","66c0dc0bba6f27ca9a57c4bf.mockapi.io","67b9f37c51192bd378dee810.mockapi.io","reda-sequestered-justine.ngrok-free.dev"]},"malicious-packages-origins":[{"versions":["0.0.1"],"id":"pypi/2025-04-tronix/trongrider","import_time":"2026-07-20T20:54:32.299061548Z","modified_time":"2026-07-20T20:15:40.376093Z","sha256":"0d44486dc374cb50abaad84a7086859ce3c2a7e5b17a790aae5b426c4cf2a1e0","source":"kam193"},{"modified_time":"2026-08-04T21:31:20Z","sha256":"0766a0a8222cb9a7a188ad8c88daf73b102036079be073f01661cde1622b99b5","source":"amazon-inspector","versions":["0.0.1"],"id":"IN-MAL-2026-011092","import_time":"2026-08-04T21:33:16.507642726Z"}]},"references":[{"type":"WEB","url":"https://en.wikipedia.org/wiki/Tron_(blockchain)"},{"type":"WEB","url":"https://bad-packages.kam193.eu/pypi/package/trongrider"},{"type":"PACKAGE","url":"https://pypi.org/project/trongrider/0.0.1/"}],"affected":[{"package":{"name":"trongrider","ecosystem":"PyPI","purl":"pkg:pypi/trongrider"},"versions":["0.0.1"],"database_specific":{"cwes":[{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"evidence_files":[{"tlsh":"eb317a5206da280e8201b42bdc497e0d3cd768ff3e9f263836dc489a7fe613445a5192","path":"trongrider/main.py","sha256":"3e075389e4101fc247bc5fb09a8bc0e223664568746f73792b54b27b486b2d6b"}],"package_integrity":[{"hashes":{"blake2b_256":"4234c8a16ca210afbf1020675d3c517af6d28ee8a297d6db5945dc6f054ebb72","md5":"4263f26fd64ac07ea43581f7d9216611","sha256":"b1c04ca6e980adde6079c9ae0c03ac12d6d78cbc32fdbefeef6bd762b2edbc26"},"filename":"trongrider-0.0.1-py3-none-any.whl"},{"filename":"trongrider-0.0.1.tar.gz","hashes":{"blake2b_256":"4ee48e260355edbb0fa8fce275d3e28b50bd45b66111c3f83c1ec1dd94bc9afe","md5":"e5526261fa9f59a94d63d1f013919252","sha256":"aa28978d87f6a5165da87546ce3212b919b09130cc4ec2897ba221115b97eabc"}}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/trongrider/MAL-2026-10929.json"}}],"schema_version":"1.8.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"Kamil Mańkowski (kam193)","contact":["https://github.com/kam193","https://bad-packages.kam193.eu/"],"type":"REPORTER"}]}