mal-2026-3000
Vulnerability from ossf_malicious_packages
Published
2026-04-22 22:06
Modified
2026-04-23 09:40
Summary
Malicious code in xinference (PyPI)
Details

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

Source: kam193 (54172efdf42a71a4e8f39d6ddb66b03c848fcedce234a3d5b2d045d895da256b)

Versions 2.6.0, 2.6.1, 2.6.2 were compromised.

Following a malicious pull request that exfiltrated sensitive data from the CI runner, three malicious PyPI releases were published. Infected releases contain code typical for TeamPCP actions that exfiltrates all kinds of sensitive data (credentials, env variables, SSH keys, cloud tokens, configuration files, shell histories, cryptowallets, data from secret managers...). Malicious action activates during importing the main package's module. TeamPCP denies their involvement.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-04-teampcp

Reasons (based on the campaign):

  • exfiltration-env-variables

  • exfiltration-ssh-keys

  • obfuscation

  • exfiltration-cloud-tokens

  • exfiltration-crypto

  • exfiltration-credentials

  • compromised-package

Credits

{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "xinference"
      },
      "versions": [
        "2.6.0",
        "2.6.1",
        "2.6.2"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "ANALYST"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "hereisitat.lucyatemysuperbox.space"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2026-04-teampcp/xinference",
        "import_time": "2026-04-22T22:20:46.472064184Z",
        "modified_time": "2026-04-22T22:06:22Z",
        "sha256": "25da806da7e63e3ef29a6bf9a22495ddb5994053824700948e6740be10a2631c",
        "source": "kam193",
        "versions": [
          "2.6.0",
          "2.6.1",
          "2.6.2"
        ]
      },
      {
        "id": "pypi/2026-04-teampcp/xinference",
        "import_time": "2026-04-22T22:48:21.826807823Z",
        "modified_time": "2026-04-22T22:06:22Z",
        "sha256": "f288797f91465adeae4842f0207774f4449e72e97db4a5294c21e49ad43feb91",
        "source": "kam193",
        "versions": [
          "2.6.0",
          "2.6.1",
          "2.6.2"
        ]
      },
      {
        "id": "pypi/2026-04-teampcp/xinference",
        "import_time": "2026-04-23T09:39:00.176250113Z",
        "modified_time": "2026-04-22T22:06:22Z",
        "sha256": "54172efdf42a71a4e8f39d6ddb66b03c848fcedce234a3d5b2d045d895da256b",
        "source": "kam193",
        "versions": [
          "2.6.0",
          "2.6.1",
          "2.6.2"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (54172efdf42a71a4e8f39d6ddb66b03c848fcedce234a3d5b2d045d895da256b)\nVersions 2.6.0, 2.6.1, 2.6.2 were compromised.\n\n\nFollowing a malicious pull request that exfiltrated sensitive data from the CI runner, three malicious PyPI releases were published. Infected releases contain code typical for TeamPCP actions that exfiltrates all kinds of sensitive data (credentials, env variables, SSH keys, cloud tokens, configuration files, shell histories, cryptowallets, data from secret managers...). Malicious action activates during importing the main package\u0027s module. TeamPCP denies their involvement.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2026-04-teampcp\n\n\nReasons (based on the campaign):\n\n\n - exfiltration-env-variables\n\n\n - exfiltration-ssh-keys\n\n\n - obfuscation\n\n\n - exfiltration-cloud-tokens\n\n\n - exfiltration-crypto\n\n\n - exfiltration-credentials\n\n\n - compromised-package\n",
  "id": "MAL-2026-3000",
  "modified": "2026-04-23T09:40:40Z",
  "published": "2026-04-22T22:06:22Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/xorbitsai/inference/issues/4828"
    },
    {
      "type": "WEB",
      "url": "https://github.com/xorbitsai/inference/pull/4826"
    },
    {
      "type": "WEB",
      "url": "https://github.com/oaoaoaoaooaoa/inference/blob/f6cf73a913443d8098d7fe2456b54cdc25eb9574/doc/source/gen_docs.py"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/campaign/2026-04-teampcp"
    },
    {
      "type": "WEB",
      "url": "https://x.com/pcpcats/status/2046927940932260092"
    },
    {
      "type": "WEB",
      "url": "https://research.jfrog.com/post/xinference-compromise/"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in xinference (PyPI)"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

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…