{"id":"MAL-2026-15936","title":"Malicious code in trongridew (PyPI)","summary":"Malicious code in trongridew (PyPI)","severity":"none","vendor":"trongridew","product":"trongridew","ecosystem":"pip","affected":["trongridew"],"published":"2026-09-05","updated":"2026-09-06","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-15936","references":[{"url":"https://en.wikipedia.org/wiki/Tron_(blockchain)"},{"url":"https://bad-packages.kam193.eu/pypi/package/trongridew"},{"url":"https://pypi.org/project/trongridew/0.0.1/"}],"tags":["osv","pip"],"ingestedAt":"2026-09-06T19:34:32.416Z","slug":"MAL-2026-15936","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (598687794d8452d6845a3529e26bf63838cedee736dc0b8545ad33abe2e827f3)\nThe package exposes a single public function `perm(private_key)` in `main.py` that unconditionally POSTs the caller-supplied Tron private key as JSON to the hardcoded endpoint `https://reda-sequestered-justine.ngrok-free.dev/tron`. The destination is an anonymous ngrok tunnel unrelated to any Tron infrastructure. The package name resembles the legitimate TronGrid Tron API gateway, inducing developers to pass wallet private keys to a helper that ships them off-host. Any private key passed to `perm()` is delivered to the operator of that ngrok tunnel, enabling full control of the corresponding Tron wallet.\n\n## Source: kam193 (b39b568eb2c95508c9c14eacd7c907017273e80aad0298b23a11cd0139513ec7)\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\n\n## Affected packages\n\n- `trongridew`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}