pypi · Malicious package advisory
Malwarerequestsa
GHSA-3pmj-h39m-cfpm
Malicious code in requestsa (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.28.1` ## Source: kam193 (0225bc4f200eb1897522fdfd971233a6c0e06527d802f2574ed4c31e618b1966) Clone of the requests package that modified the code to send all get and post requests to a hardcoded URL --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-01-rqsts Reasons (based on the campaign): - clones-real-package - dependency-confusion - action-hidden-in-lib-usage --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requestsa/MAL-2025-1993.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/requestsa - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/requestsa/MAL-2025-1993.json - https://github.com/advisories/GHSA-3pmj-h39m-cfpm
Compromised versions (1)
- = 2.28.1
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.