Skip to content

MAL-2026-3371 Malicious code in pycacheopt (PyPI)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


-= Per source details. Do not edit below this line.=-

Source: kam193 (cf50eae305079227b5283e08547cc201f941624c95e49460c3e6544cdd1e221b)

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
pypi pycacheopt(PyPI) = 0.2.1; = 0.2.2; = 0.2.3; = 0.2.4 +3 more No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi pycacheopt(PyPI) = 0.2.1 No fix listed
pypi pycacheopt(PyPI) = 0.2.2 No fix listed
pypi pycacheopt(PyPI) = 0.2.3 No fix listed
pypi pycacheopt(PyPI) = 0.2.4 No fix listed
pypi pycacheopt(PyPI) = 0.2.5 No fix listed
pypi pycacheopt(PyPI) = 0.2.6 No fix listed
pypi pycacheopt(PyPI) = 0.2.7 No fix listed

References