Skip to main content

Malicious code in trongridew (PyPI)

0
Critical
Published: 09/05/2026 (09/05/2026, 20:26:18 UTC)
Source: GCVE Database
Product: trongridew

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.

Affected software

PyPIghsa
trongridew
Affected versions
=0.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/07/2026, 09:24:30 UTC

Technical Analysis

The 'trongridew' package on PyPI (version 0.0.1) includes a function 'perm(private_key)' that unconditionally sends any provided Tron private key as JSON to a hardcoded, attacker-controlled ngrok URL. The package name is designed to resemble the legitimate TronGrid API gateway, misleading developers to use it and inadvertently disclose their private keys. The exfiltrated keys allow the attacker full control over the associated Tron wallets. This package is part of a malicious campaign targeting cryptocurrency users by stealing private keys.

Potential Impact

Any Tron private key passed to the 'perm()' function in the 'trongridew' package is sent to an attacker-controlled server, enabling full compromise and control of the victim's Tron cryptocurrency wallet. This results in potential theft of funds and loss of wallet integrity. The malicious package poses a direct threat to developers who unknowingly use it, as it leaks sensitive cryptographic credentials.

Mitigation Recommendations

Users and developers should immediately avoid using the 'trongridew' package, especially version 0.0.1. Remove it from any projects and environments. Since no official patch or fix is available, the best mitigation is to not use this package and verify the authenticity of packages before installation. Monitor for any suspicious activity on Tron wallets whose private keys may have been exposed and consider migrating funds to new wallets with uncompromised keys.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-15936
Osv Schema Version
1.7.4
Ecosystems
["PyPI"]

Threat ID: 6a9d7639acd9273b49d80adf

Added to database: 09/06/2026, 14:18:33 UTC

Last enriched: 09/07/2026, 09:24:30 UTC

Last updated: 10/04/2026, 06:25:29 UTC

Views: 141

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses