VYPR

pypi · Malicious package advisory

Malware

tronhexpy

GHSA-5cfr-f8m7-fqx2

Malicious code in tronhexpy (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.1`

## Source: kam193 (87c2e19fbf3db867f8f5e0103196bcfa8e7b76e1b48431ade425fceaa6f7d86f)
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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/tronhexpy/MAL-2025-48904.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/tronhexpy
- https://en.wikipedia.org/wiki/Tron_(blockchain)
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/tronhexpy/MAL-2025-48904.json
- https://github.com/advisories/GHSA-5cfr-f8m7-fqx2

Compromised versions (1)

  • = 0.0.1

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.