Skip to main content
MalwarePublished

tronhap (PyPI) · Malicious Code

Affects tronhapSource GCVE Database

0

Malicious package : remove tronhap and rotate any secrets on hosts that installed it.

Data as of 8 Jul 2026, 13:29 UTC

Classification

Malicious package

Published to PyPI · OSV MAL-2026-6971

What to do

Remove tronhap 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

ProductAffectedFixed in
PyPItronhapAffected
  • =0.0.1
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 'tronhap' version 0.0.1 is identified as malicious software designed for private key exfiltration. It is associated with a campaign targeting cryptocurrency-related users, specifically referencing Tron (TRX). The package may impersonate legitimate libraries by cloning their readme files and has been repeatedly uploaded to PyPI. There are no known exploits in the wild at this time.

References

Community reviews

Loading reviews…