pypi · Malicious package advisory
Malwarerehttps
GHSA-9jg3-xv6j-f5g3
Malicious code in rehttps (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 2.32.3` ## Source: kam193 (08172961784989f62b2b0793fa7686e1c25883883f790293df61591aa2fc6940) During installation, package attempts to download and starts an executable. The package itself is a clone of requests --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2025-06-rehttps Reasons (based on the campaign): - clones-real-package - The package overrides the install command in setup.py to execute malicious code during installation. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/rehttps/MAL-2025-6575.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/rehttps - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/rehttps/MAL-2025-6575.json - https://www.virustotal.com/gui/file/08ba6289e5c338b446a9551cec8e818321299c72c844d13cf2a0601a37fb8e52/detection - https://github.com/advisories/GHSA-9jg3-xv6j-f5g3
Compromised versions (1)
- = 2.32.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.