trongridew (PyPI) · Malicious Code
Affects trongridewSource GCVE Database
Malicious package : remove trongridew and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 09:24 UTC
Malicious package
Published to PyPI · OSV MAL-2026-15936
What to do
Remove trongridew 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 |
|---|---|---|
| PyPItrongridew | 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 'trongridew' version 0.0.1 contains malicious code that exfiltrates Tron cryptocurrency private keys. It exposes a function 'perm(private_key)' which sends the provided private key to an attacker-controlled ngrok endpoint unrelated to legitimate Tron infrastructure. The package name mimics a legitimate Tron API gateway to deceive developers into exposing sensitive wallet keys. This behavior enables the attacker to gain full control over the compromised Tron wallets.