Malicious Code Vulnerability in tronlibapi Package
Summary
MAL-2025-6608: Malicious code in tronlibapi (PyPI). Affects tronlibapi versions 0.0.1. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
tronlibapi is a Python package available on PyPI that provides functionalities related to the Tron blockchain. It is designed for developers looking to interact with Tron’s ecosystem, offering features such as transaction management and smart contract interaction. However, the package has been identified to contain malicious code, posing significant security risks to users and their applications.
Vulnerability Detail
The vulnerability in the tronlibapi package stems from the inclusion of malicious code that can compromise the security of applications utilizing this package. This code may lead to unauthorized access, data breaches, or other malicious activities. The vulnerability was discovered by ReversingLabs and affects version 0.0.1 of the package, which was published on July 31, 2025. Users of this package are at risk if they do not take immediate action to mitigate the threat.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tronlibapi
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 workaround, users should refrain from using the tronlibapi package until a secure version is released. Consider using alternative libraries that provide similar functionalities without the associated risks.
Conclusion
The tronlibapi package has been identified to contain malicious code that poses significant risks to users. Immediate action is required to mitigate these risks by uninstalling the affected version and monitoring for updates. Utilizing tools like Vulert can help keep your applications secure against such vulnerabilities.
See every vulnerability recorded for tronlibapi →
FAQ
tronlibapi is a Python package designed for developers to interact with the Tron blockchain, offering features for transaction management and smart contract interaction.
The vulnerability involves malicious code embedded within the tronlibapi package, which can lead to unauthorized access and potential data breaches.
You can use Vulert, a tool that monitors open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without needing to sign up.
If you are using tronlibapi, it is crucial to uninstall the package immediately and look for alternative solutions until a secure version is released.
The vulnerability was discovered by ReversingLabs, a cybersecurity firm specializing in threat detection and analysis.