pypi · Malicious package advisory
Malwarerequests-cache-utils
GHSA-mc8h-7wqw-2mcf
Malicious code in requests-cache-utils (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.0` ## Source: kam193 (1655ea47fc7ccd39294203776ee3dcb01a394c40d93e05b7b527700b19de42c8) During installation and importing the module, the code downloads and executes an infostealer. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-09-requests-cache-utils Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - Downloads and executes a remote executable. - malware - infostealer - exfiltration-browser-data --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/89d286051d611a25523aa21e3dfdb340dfdca7e3/osv/malicious/pypi/requests-cache-utils/MAL-2026-17191.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/requests-cache-utils - https://github.com/ossf/malicious-packages/blob/89d286051d611a25523aa21e3dfdb340dfdca7e3/osv/malicious/pypi/requests-cache-utils/MAL-2026-17191.json - https://www.virustotal.com/gui/file/274c2b93e3c6ca726f21d02f6a8e3602853dbe775a122f5510c42f1d491995a3 - https://github.com/advisories/GHSA-mc8h-7wqw-2mcf
Compromised versions (1)
- = 1.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.