Malicious Code Vulnerability in tronpyapi Package

tronpyapi Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6610: Malicious code in tronpyapi (PyPI). Affects tronpyapi versions 0.0.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

tronpyapi is a Python package designed for interacting with the TRON blockchain, providing developers with tools to build decentralized applications. It offers functionalities such as transaction handling and smart contract interaction. However, the package has been identified to contain malicious code, posing a significant risk to users who integrate it into their projects.

Vulnerability Detail

The vulnerability stems from the inclusion of malicious code in version 0.0.1 of the tronpyapi package. This code can potentially compromise the security of applications that utilize the package, leading to unauthorized access, data breaches, or other malicious activities. The origin of this vulnerability is linked to the package being flagged by ReversingLabs, a security research firm, which has documented the issue in their database.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall tronpyapi

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary measure, users can avoid using the tronpyapi package altogether and seek alternative libraries that provide similar functionality without the associated risks. Additionally, consider implementing security measures such as code reviews and dependency scanning to identify and mitigate potential vulnerabilities in your projects.

Conclusion

The tronpyapi package has been identified to contain malicious code, posing a significant risk to users. It is essential to remove the affected version and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications.

See every vulnerability recorded for tronpyapi →

Share this vulnerability

FAQ

tronpyapi is a Python library that allows developers to interact with the TRON blockchain, facilitating the development of decentralized applications.

The malicious code can compromise application security, potentially leading to unauthorized access and data breaches.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without any signup.

Currently, there is no patched version of tronpyapi available. Users should refrain from using the package until a secure version is released.

Remove the tronpyapi package from your project and consider using alternative libraries that provide similar functionalities without the associated risks.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

pip uninstall tronpyapi

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback