Malicious code in cache-compat-utils (PyPI)
--- _-= Per source details. Do not edit below this line.=-_ ## 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
AI Analysis
Technical Summary
The 'cache-compat-utils' package on PyPI, specifically version 0.1.0, was found to contain obfuscated JavaScript code functioning as an infostealer. This malicious code exfiltrates sensitive credentials including SSH keys and cloud tokens and includes worm-like capabilities to propagate the infection. The package is flagged under campaign MAL-2026-5878 with confirmed malicious behavior, including obfuscation, malware presence, credential theft, and exfiltration. There is no CVSS score or vendor advisory available, and no known exploits in the wild have been reported.
Potential Impact
The malicious code in the affected package can lead to theft of sensitive credentials such as SSH keys and cloud tokens, potentially compromising user accounts and cloud environments. The worm capability may allow the malware to spread to other systems, increasing the scope of compromise. This poses a significant security risk to users who have installed version 0.1.0 of the package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 0.1.0 of 'cache-compat-utils' from their environments and avoid installing this package. Monitor for updates from the package maintainers or PyPI for any official advisories or fixes. Since this is a malicious package, replacing it with a trusted alternative or verifying package integrity before installation is recommended.
Malicious code in cache-compat-utils (PyPI)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## 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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The 'cache-compat-utils' package on PyPI, specifically version 0.1.0, was found to contain obfuscated JavaScript code functioning as an infostealer. This malicious code exfiltrates sensitive credentials including SSH keys and cloud tokens and includes worm-like capabilities to propagate the infection. The package is flagged under campaign MAL-2026-5878 with confirmed malicious behavior, including obfuscation, malware presence, credential theft, and exfiltration. There is no CVSS score or vendor advisory available, and no known exploits in the wild have been reported.
Potential Impact
The malicious code in the affected package can lead to theft of sensitive credentials such as SSH keys and cloud tokens, potentially compromising user accounts and cloud environments. The worm capability may allow the malware to spread to other systems, increasing the scope of compromise. This poses a significant security risk to users who have installed version 0.1.0 of the package.
Mitigation Recommendations
No official patch or remediation is currently documented. Users should immediately remove version 0.1.0 of 'cache-compat-utils' from their environments and avoid installing this package. Monitor for updates from the package maintainers or PyPI for any official advisories or fixes. Since this is a malicious package, replacing it with a trusted alternative or verifying package integrity before installation is recommended.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-5878
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a50ba4568715ace4357e5d8
Added to database: 07/10/2026, 09:24:21 UTC
Last enriched: 07/10/2026, 09:36:52 UTC
Last updated: 07/27/2026, 10:04:48 UTC
Views: 16
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.