mal-2026-3371
Vulnerability from ossf_malicious_packages
Published
2026-05-07 20:07
Modified
2026-05-07 20:07
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.

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "pycacheopt"
      },
      "versions": [
        "0.2.1",
        "0.2.2",
        "0.2.3",
        "0.2.4",
        "0.2.5",
        "0.2.6",
        "0.2.7"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-05-pycacheopt/pycacheopt",
        "import_time": "2026-05-07T20:53:07.343289919Z",
        "modified_time": "2026-05-07T20:07:37.880286Z",
        "sha256": "cf50eae305079227b5283e08547cc201f941624c95e49460c3e6544cdd1e221b",
        "source": "kam193",
        "versions": [
          "0.2.1",
          "0.2.2",
          "0.2.3",
          "0.2.4",
          "0.2.5",
          "0.2.6",
          "0.2.7"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (cf50eae305079227b5283e08547cc201f941624c95e49460c3e6544cdd1e221b)\nThe 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.\n\nThis campaign was first detected by Aikido Security.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-05-pycacheopt\n\n\nReasons (based on the campaign):\n\n\n - other\n\n\n - The package contains code to detect if it is running in a sandbox environment.\n",
  "id": "MAL-2026-3371",
  "modified": "2026-05-07T20:07:37Z",
  "published": "2026-05-07T20:07:37Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://app.aikido.dev/reports/malware/software-supply-chain-attacks?packageId=934457"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/pycacheopt"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in pycacheopt (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.


Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…