Malicious code in tpvirtualhttp (PyPI)
Summary
MAL-2023-7707: Malicious code in tpvirtualhttp (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
The tpvirtualhttp package is an open-source Python package available on PyPI. It is designed to provide a virtual HTTP server for testing purposes. This package allows developers to simulate HTTP requests and responses in their local development environment. However, the package has been found to contain malicious code, which can lead to the execution of spyware and information-stealing malware.
Vulnerability Detail
The tpvirtualhttp package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages include spyware and information-stealing malware. The specific vulnerability in tpvirtualhttp allows the execution of this malicious code when the package is installed and used in a Python project. This can result in unauthorized access to sensitive information, data breaches, and potential harm to the affected system.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpvirtualhttp
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 direct workaround for this vulnerability. The best course of action is to remove the tpvirtualhttp package and follow the recommended steps for remediation.
Conclusion
The tpvirtualhttp package on PyPI has been found to contain malicious code, posing a significant security risk to Python projects that use it. It is crucial to take immediate action to remove the package, scan for compromise, and update security measures. For further assistance and support, please contact DevNack.com.
See every vulnerability recorded for tpvirtualhttp →
FAQ
tpvirtualhttp is a Python package available on PyPI that provides a virtual HTTP server for testing purposes.
The tpvirtualhttp package was compromised by the EsqueleSquad group, who published malicious versions of the package on PyPI.
The potential consequences of this vulnerability include unauthorized access to sensitive information, data breaches, and the execution of spyware and information-stealing malware.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities without requiring access to the code or installation.
If your application is affected by this vulnerability, it is recommended to remove the tpvirtualhttp package, scan your system for signs of compromise, and update your security measures. You can also reach out to info@devnack.com for further support on vulnerability remediation.