trongridi (PyPI) · Malicious Code
Affects trongridiSource GCVE Database
Malicious package : remove trongridi and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 16:09 UTC
Malicious package
Published to PyPI · OSV MAL-2026-15858
What to do
Remove trongridi 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 |
|---|---|---|
| PyPItrongridi | 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 PyPI package 'trongridi' version 0.0.1 is a malicious package designed to exfiltrate TRON cryptocurrency wallet private keys. It exposes a public function that sends the caller's private key to a hardcoded remote endpoint controlled by the attacker. Additionally, the package includes a remote control mechanism that allows the attacker to influence the package's behavior. The package name is a typosquat of the legitimate 'trongrid' TRON gateway, potentially tricking users into exposing sensitive wallet secrets.