Skip to main content
Menu
Advisories

Malicious code in requests-cache-utils (PyPI)

GHSA-MC8H-7WQW-2MCFPublished Updated GitHubMalware

Description

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 (source)

Affected versions

References