pypi · Malicious package advisory
Malwarerequests-x64
GHSA-65fm-4h85-2596
Malicious code in requests-x64 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.0.0` ## Source: kam193 (996690f6aae3ce7456b45309072e2b12f5afda24b2f58e7f66b004c1f2b99872) Code in setup.py attempts to silently download and execute an executable. The file contains a malware --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-02-requests-x64 Reasons (based on the campaign): - Downloads and executes a remote executable. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requests-x64/MAL-2025-1992.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/requests-x64 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requests-x64/MAL-2025-1992.json - https://www.virustotal.com/gui/file/91278add45dd263f081394b27cd0ac3e2e951bb2de9d97dfc235563776d171c5 - https://github.com/advisories/GHSA-65fm-4h85-2596
Compromised versions (1)
- = 2.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.