Malicious code in tprampingload (PyPI)
Summary
MAL-2023-7507: Malicious code in tprampingload (PyPI). Affected versions are not published. 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
tprampingload is a package available on PyPI that provides functionality for loading and manipulating data related to traffic ramping. It is commonly used in traffic analysis and simulation applications. However, this package has been found to contain malicious code that can execute spyware and information-stealing malware.
Vulnerability Detail
The vulnerability in tprampingload originates from a malicious package published by the EsqueleSquad group. This package, identified by the SHA256 hash 4139bb1ca958278f5722d53ae4d5b57f7c73e3b447e71927427b7ead99e2bfc9, was introduced in version 0 of tprampingload. The malicious code can be triggered when using this version or any subsequent versions. The code can download and execute additional malware from the following URLs: https://dl.dropbox.com/s/tpykidpdjz99202/esquele.exe and https://cdn.discordapp.com/attachments/1090710876639744062/1102575056925761587/bypass2.ps1. This poses a significant risk to systems that use tprampingload, as it can lead to unauthorized access, data theft, and other malicious activities.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tprampingload
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
There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to implement security measures such as using virtual environments, verifying package integrity, and monitoring for any suspicious behavior or unexpected network connections.
Conclusion
The presence of malicious code in the tprampingload package poses a significant security risk to systems that use it. It is crucial to take immediate action to remove or update the affected package to mitigate the risk of unauthorized access, data theft, and other malicious activities. Regularly reviewing and updating the packages used in your application is essential to ensure the security and integrity of your software.
See every vulnerability recorded for tprampingload →
FAQ
You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock file, and Vulert will analyze it for any open-source vulnerabilities, including this one.
Yes, updating to a non-affected version of tprampingload will ensure that you can continue using the package without the risk of executing malicious code. It is important to regularly update your packages to stay protected against known vulnerabilities.
It is recommended to search for alternative packages on PyPI that provide similar functionality to tprampingload. Ensure that the chosen package has a good reputation, a large user base, and regular updates to minimize the risk of using vulnerable or malicious code.
If you have already installed an affected version of tprampingload, it is crucial to remove it from your system immediately. You should also scan your system for any signs of compromise or unauthorized access. Consider restoring from a clean backup if necessary.
If you would like to report this vulnerability or seek further assistance, you can contact the finder of this vulnerability, Checkmarx, at mailto:supplychainsecurity@checkmarx.com or visit their website at https://bit.ly/checkmarx-malicious-packages. Additionally, you can reach out to the Devnack team at mailto:info@devnack.com for further support on vulnerability remediation.