pypi · Malicious package advisory
Malwarehttprequesthub
GHSA-34hj-3rhg-r288
Malicious code in httprequesthub (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.31.3` ## Source: kam193 (9cb098bd2812c755619c73b684023bf34629af2974cb8ef5d522a58be75a571a) --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2023-11-update-information-endpoint Reasons (based on the campaign): - obfuscation - The package overrides the install command in setup.py to execute malicious code during installation. - typosquatting --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/httprequesthub/MAL-2024-5221.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/httprequesthub - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/httprequesthub/MAL-2024-5221.json - https://medium.com/checkmarx-security/python-packages-leverage-github-to-deploy-fileless-malware-b6c281dea58f - https://security.snyk.io/vuln/SNYK-PYTHON-HTTPREQUESTHUB-6139265 - https://www.reversinglabs.com/blog/malware-leveraging-public-infrastructure-like-github-on-the-rise - https://github.com/advisories/GHSA-34hj-3rhg-r288
Compromised versions (1)
- = 2.31.3
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.