MAL-2026-3371 Malicious code in pycacheopt (PyPI)
- Package
- pycacheopt
- Registry
- PyPI
What is MAL-2026-3371?
MAL-2026-3371 is a malicious package in pycacheopt, published on 7 May 2026.
Official description
The extension module hides code that in specific circumstances executes given code. The malicious action is hidden only in the extension module with the same-named Python code file containing only benign code.
This campaign was first detected by Aikido Security.
Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.
Campaign: 2026-05-pycacheopt
Reasons (based on the campaign):
other
The package contains code to detect if it is running in a sandbox environment.
What should I do about MAL-2026-3371?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.