Malicious code in superhttp (pypi)
Summary
MAL-2023-6847: Malicious code in superhttp (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 superhttp package is an open-source Python package available on PyPI. It provides functionality for handling HTTP requests and responses. The package is widely used in various Python projects for making HTTP calls. However, the package has been found to contain malicious code, which poses a significant security risk to applications that use it.
Vulnerability Detail
The superhttp package has been compromised by the EsqueleSquad group, who published nearly 6000 malicious PyPi and NPM packages. These packages execute spyware and information-stealing malware. The specific vulnerability in superhttp allows attackers to gain unauthorized access to sensitive information, potentially leading to data breaches and privacy violations. The malicious code can be triggered when making HTTP requests using the affected package.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
pip uninstall superhttp
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 known workaround for this vulnerability. It is essential to remove the affected package and replace it with a secure alternative.
Conclusion
The superhttp package available on PyPI has been compromised by the EsqueleSquad group, leading to the inclusion of malicious code. This vulnerability poses a significant risk to applications that use the package, potentially resulting in unauthorized access and data breaches. It is crucial to remove the affected package and replace it with a trusted alternative. Regularly updating dependencies and staying informed about security advisories are essential practices to ensure the security of your Python projects. For further support on vulnerability remediation, you can contact DevNack.com.
See every vulnerability recorded for superhttp →
FAQ
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply provide your Pipfile.lock, and Vulert will analyze it for any open-source vulnerabilities, including this one.
The malicious code in the superhttp package can lead to unauthorized access to sensitive information, such as user credentials or personal data. This can result in data breaches, privacy violations, and potential financial losses.
Yes, the recommended fix is to remove the superhttp package from your Python project and replace it with a trusted alternative. Regularly updating your dependencies and staying informed about security advisories can help prevent similar vulnerabilities.
While specific exploits targeting this vulnerability have not been disclosed, the presence of malicious code in the superhttp package increases the risk of unauthorized access and data exfiltration. It is crucial to address this vulnerability promptly.
To ensure the security of your Python dependencies, it is recommended to regularly update them to the latest versions, use trusted sources for package installation, and monitor security advisories for any reported vulnerabilities. Tools like Vulert can help automate the process of vulnerability monitoring and alert you in real-time.