Malicious Code in tpgetpywhttp (PyPI)
Summary
MAL-2023-7052: Malicious code in tpgetpywhttp (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
tpgetpywhttp is a package available on PyPI that provides functionality for HTTP requests in Python. It is vulnerable to a malicious code injection that was introduced in version 0. The package has been identified as part of a larger group of nearly 6000 malicious PyPi and NPM packages published by the EsqueleSquad group. These packages execute spyware and information-stealing malware.
Vulnerability Detail
The vulnerability in tpgetpywhttp allows for the execution of malicious code, which can lead to various security risks. The malicious code can be introduced through the package's dependencies or directly in the package itself. This can result in unauthorized access to sensitive information, data exfiltration, and potential compromise of the host system. The specific details of the malicious code and its impact may vary depending on the version of tpgetpywhttp being used.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall tpgetpywhttp
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 follow secure coding practices, such as input validation and sanitization, to mitigate the risk of code injection vulnerabilities.
Conclusion
The tpgetpywhttp package on PyPI has been found to contain malicious code, potentially leading to security risks. It is crucial to update or remove the package to a non-malicious version and regularly review project dependencies. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for tpgetpywhttp →
FAQ
tpgetpywhttp is a Python package available on PyPI that provides functionality for HTTP requests.
The malicious code injection can occur through the package's dependencies or directly in the package itself.
The potential risks include unauthorized access to sensitive information, data exfiltration, and compromise of the host system.
To fix the vulnerability, remove or update the tpgetpywhttp package to a non-malicious version from a trusted source.
There are no specific workarounds mentioned for this vulnerability. Following secure coding practices can help mitigate the risk.