MAL-2026-3371

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pycacheopt/MAL-2026-3371.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-3371
Published
2026-05-07T20:07:37Z
Modified
2026-05-07T21:02:50.623995Z
Summary
Malicious code in pycacheopt (PyPI)
Details

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

Database specific
{
    "malicious-packages-origins": [
        {
            "import_time": "2026-05-07T20:53:07.343289919Z",
            "versions": [
                "0.2.1",
                "0.2.2",
                "0.2.3",
                "0.2.4",
                "0.2.5",
                "0.2.6",
                "0.2.7"
            ],
            "source": "kam193",
            "id": "pypi/2026-05-pycacheopt/pycacheopt",
            "modified_time": "2026-05-07T20:07:37.880286Z",
            "sha256": "cf50eae305079227b5283e08547cc201f941624c95e49460c3e6544cdd1e221b"
        }
    ]
}
References
Credits

Affected packages

PyPI / pycacheopt

Package

Affected ranges

Affected versions

0.*
0.2.1
0.2.2
0.2.3
0.2.4
0.2.5
0.2.6
0.2.7

Database specific

source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pycacheopt/MAL-2026-3371.json"