hexcon (PyPI) · Malicious Code
Affects hexconSource GCVE Database
Malicious package : remove hexcon and rotate any secrets on hosts that installed it.
Data as of 22 Nov 2026, 02:54 UTC
Malicious package
Published to PyPI · OSV MAL-2025-191755
What to do
Remove hexcon from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| PyPIhexcon | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The hexcon package on PyPI appears to be malicious software designed for private key exfiltration, potentially targeting cryptocurrency users. It is related to the Tron (TRX) cryptocurrency ecosystem and has been observed cloning legitimate library readme files to appear authentic. This package is part of a broader malicious campaign identified as 2025-04-tronix, which involves repeated uploads of similar malicious packages to PyPI.