Critical Malicious Code Vulnerability in tronpropy Package
Summary
MAL-2025-191913: Malicious code in tronpropy (PyPI). Affects tronpropy versions 0.1.0. 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
The tronpropy package, available on PyPI, is purportedly designed for interacting with the TRON cryptocurrency ecosystem. However, it has been identified as malicious, with indications that it is intended for private key exfiltration. The package has been observed to clone the readme files of legitimate libraries, raising concerns about its authenticity and security. Users of this package should be aware of its potential risks and the malicious intent behind its deployment.
Vulnerability Detail
The vulnerability in the tronpropy package stems from its design for private key exfiltration, which poses significant risks to users handling cryptocurrency transactions. This malicious code can lead to unauthorized access to sensitive information, including private keys, potentially resulting in financial loss. The package was identified as part of a broader campaign targeting cryptocurrency users, with similar malicious packages frequently uploaded to PyPI, indicating a systematic effort to exploit vulnerabilities in the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tronpropy
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 consider using alternative libraries that provide similar functionality without the associated risks. Always ensure to verify the authenticity and security of packages before installation. Additionally, you can monitor your project for vulnerabilities using tools like Vulert, which can alert you in real-time for open-source vulnerabilities.
Conclusion
The tronpropy package poses a significant security risk due to its malicious intent for private key exfiltration. Users are strongly advised to uninstall the package and seek secure alternatives. Regular monitoring of your projects for vulnerabilities is essential to safeguard against such threats.
See every vulnerability recorded for tronpropy →
FAQ
The tronpropy package is a Python library intended for interacting with the TRON cryptocurrency ecosystem, but it has been identified as malicious.
The vulnerability allows for the exfiltration of private keys, which can lead to unauthorized access to users' cryptocurrency wallets and potential financial loss.
You should uninstall the tronpropy package immediately using the command: pip uninstall tronpropy.
Yes, consider using other libraries that provide similar functionalities but are verified to be secure and legitimate.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.