VYPR

pypi · Malicious package advisory

Malware

cache-compat-utils

GHSA-m6wv-wjx4-f8m8

Malicious code in cache-compat-utils (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.0`

## Source: amazon-inspector (70fc75889476bd737b302c856fb1d2da1b263a93786bc27fed3978c3eb0584cd)
The package was found to contain malicious code or consuming dependency that contains malicious code

## Source: kam193 (3abe4019efea5cdd405c9129e127f5d8b05456422574e40b01c6ec3b10177975)
The package contains obfuscated JS code with an infostealer harvesting all kinds of credentials, as well as a worm capable of spreading the infection further.


---

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.


Campaign: 2026-06-cache-compat-utils


Reasons (based on the campaign):


 - obfuscation


 - malware


 - infostealer


 - exfiltration-credentials


 - exfiltration-ssh-keys


 - exfiltration-cloud-tokens

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cache-compat-utils/MAL-2026-5878.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/cache-compat-utils
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/cache-compat-utils/MAL-2026-5878.json
- https://pypi.org/project/cache-compat-utils/0.1.0
- https://github.com/advisories/GHSA-m6wv-wjx4-f8m8

Compromised versions (1)

  • = 0.1.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.