---
id: "MAL-2026-15936"
kind: "package"
aliases: ["MAL-2026-15936"]
title: "Malicious code in trongridew (PyPI)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "trongridew", "fixed": [], "affected": "= 0.0.1", "ecosystem": "pypi"}]
ecosystems: ["pypi"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-09-05T20:26:18+00:00"
first_seen_at: "2026-10-26T20:51:56+00:00"
updated_at: "2026-10-26T21:10:31+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-15936", "first_seen_at": "2026-10-26T20:51:56+00:00"}]
---

# Malicious code in trongridew (PyPI)

## Affected

- pypi:trongridew affected = 0.0.1 fixed ?

## Timeline

- 2026-10-26T20:51:56+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-15936

## From the sources

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

## Source: amazon-inspector (598687794d8452d6845a3529e26bf63838cedee736dc0b8545ad33abe2e827f3)
The package exposes a single public function `perm(private_key)` in `main.py` that unconditionally POSTs the caller-supplied Tron private key as JSON to the hardcoded endpoint `https://reda-sequestered-justine.ngrok-free.dev/tron`. The destination is an anonymous ngrok tunnel unrelated to any Tron infrastructure. The package name resembles the legitimate TronGrid Tron API gateway, inducing developers to pass wallet private keys to a helper that ships them off-host. Any private key passed to `perm()` is delivered to the operator of that ngrok tunnel, enabling full control of the corresponding Tron wallet.

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

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
