---
id: MAL-2026-6971
title: Malicious code in tronhap (PyPI)
summary: Malicious code in tronhap (PyPI)
severity: none
vendor: tronhap
product: tronhap
ecosystem: pip
affected:
  - tronhap
published: '2026-07-08'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-6971'
references:
  - url: 'https://en.wikipedia.org/wiki/Tron_(blockchain)'
  - url: 'https://bad-packages.kam193.eu/pypi/package/tronhap'
tags:
  - osv
  - pip
ingestedAt: '2026-07-08T18:25:55.284Z'
---

## Overview


---
_-= Per source details. Do not edit below this line.=-_

## Source: kam193 (68bc0a9899e67f3051efaf26534a1a979b7e7ef6b7fc1b839e4083dedfec16e7)
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


## Affected packages

- `tronhap`

## Remediation

Refer to the advisory for the patched release.
