pypi · Malicious package advisory
Malwarerequires-python
GHSA-xqrr-fg34-5fg4
Malicious code in requires-python (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 10.0.5` ## Source: kam193 (fa1ee2e2c3ead90338250a60177535b23b5f30016e1d06a5b944092cbc3305e7) When imported, the package attempts to exfiltrate environment variables and basic user info --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-07-triple-equals Reasons (based on the campaign): - exfiltration-env-variables - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requires-python/MAL-2025-41747.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/requires-python - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requires-python/MAL-2025-41747.json - https://github.com/advisories/GHSA-xqrr-fg34-5fg4
Compromised versions (1)
- = 10.0.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.