pypi · Malicious package advisory
Malwarepyhttpproxifier
GHSA-m985-3747-5mvj
Malicious code in pyhttpproxifier (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 0.9.3` ## Source: kam193 (39705bbe10a91b3e2c4279406418971389f07807bb4544b10fb9710bdc0fb0ef) --- 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/pyhttpproxifier/MAL-2024-5721.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/pyhttpproxifier - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pyhttpproxifier/MAL-2024-5721.json - https://medium.com/checkmarx-security/python-packages-leverage-github-to-deploy-fileless-malware-b6c281dea58f - https://security.snyk.io/vuln/SNYK-PYTHON-PYHTTPPROXIFIER-6139263 - https://www.reversinglabs.com/blog/malware-leveraging-public-infrastructure-like-github-on-the-rise - https://github.com/advisories/GHSA-m985-3747-5mvj
Compromised versions (1)
- = 0.9.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.