mal-2025-5094
Vulnerability from ossf_malicious_packages
Published
2025-05-19 15:43
Modified
2025-12-24 10:09
Summary
Malicious code in ai-labs-snippets-sdk (PyPI)
Details

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

Source: kam193 (2d5d4e1e66d1a84969c7af5822efb6e894abc0d263c87f583bf45591d216b85a)

During the importing, it loads a file pretending to an AI model. This file contains pickle-serialized code that exfiltrates data (basic IP/username info, as well as .gitconfig) to a remote target.


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

Campaign: 2025-05-ai-labs-snippets-sdk

Reasons (based on the campaign):

  • The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

  • exfiltration-generic

  • impersonation




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "ai-labs-snippets-sdk",
        "purl": "pkg:pypi/ai-labs-snippets-sdk"
      },
      "versions": [
        "0.1.0",
        "1.1.0",
        "1.2.0",
        "2.0.0",
        "2.2.0",
        "3.0.0",
        "3.2.0",
        "3.3.0",
        "3.4.0",
        "3.5.0",
        "4.0.0",
        "4.4.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)"
    },
    {
      "contact": [
        "https://github.com/kam193",
        "https://bad-packages.kam193.eu/"
      ],
      "name": "Kamil Ma\u0144kowski (kam193)",
      "type": "REPORTER"
    },
    {
      "contact": [
        "https://www.reversinglabs.com"
      ],
      "name": "ReversingLabs",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "iocs": {
      "domains": [
        "aksjdbajkb2jeblad.oss-cn-hongkong.aliyuncs.com"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-02991",
        "import_time": "2025-06-18T15:05:59.034013625Z",
        "modified_time": "2025-06-18T10:15:00Z",
        "sha256": "8ea33940044bd0ea7c104ddca0cf9d141453b409c051b03eb8ad9a32f3f893d9",
        "source": "reversing-labs",
        "versions": [
          "0.1.0",
          "1.1.0",
          "1.2.0",
          "2.0.0",
          "2.2.0",
          "3.0.0",
          "3.2.0",
          "3.3.0",
          "3.4.0",
          "3.5.0",
          "4.0.0",
          "4.4.0"
        ]
      },
      {
        "id": "pypi/2025-05-ai-labs-snippets-sdk/ai-labs-snippets-sdk",
        "import_time": "2025-12-02T22:30:54.88686434Z",
        "modified_time": "2025-05-19T15:43:26Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "e43dae089e7faf080a6aacd1b4770b9aa60ff422ca3a891c06e0af9b6a293831",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-ai-labs-snippets-sdk/ai-labs-snippets-sdk",
        "import_time": "2025-12-02T23:07:17.930066807Z",
        "modified_time": "2025-05-19T15:43:26Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "2d5d4e1e66d1a84969c7af5822efb6e894abc0d263c87f583bf45591d216b85a",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-ai-labs-snippets-sdk/ai-labs-snippets-sdk",
        "import_time": "2025-12-10T21:38:57.240665786Z",
        "modified_time": "2025-05-19T15:43:26Z",
        "sha256": "03a5ee72cf6685542de120996a482a30c2a78bc2f178d51de4e76069f46ec910",
        "source": "kam193",
        "versions": [
          "2.0.0",
          "0.1.0",
          "1.1.0",
          "1.2.0",
          "2.2.0",
          "3.0.0",
          "3.2.0",
          "4.4.0",
          "4.0.0",
          "3.3.0",
          "3.4.0",
          "3.5.0"
        ]
      },
      {
        "id": "RLUA-2025-06547",
        "import_time": "2025-12-24T10:07:36.333848713Z",
        "modified_time": "2025-12-23T08:37:48Z",
        "sha256": "52ac50c031e1105e44eaef571a2a22b59f721e0df4e1e5b630886f762b3c39e6",
        "source": "reversing-labs"
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2d5d4e1e66d1a84969c7af5822efb6e894abc0d263c87f583bf45591d216b85a)\nDuring the importing, it loads a file pretending to an AI model. This file contains pickle-serialized code that exfiltrates data (basic IP/username info, as well as .gitconfig) to a remote target.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-ai-labs-snippets-sdk\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - exfiltration-generic\n\n\n - impersonation\n",
  "id": "MAL-2025-5094",
  "modified": "2025-12-24T10:09:32Z",
  "published": "2025-05-19T15:43:26Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/ai-labs-snippets-sdk"
    },
    {
      "type": "ARTICLE",
      "url": "https://www.reversinglabs.com/blog/malicious-attack-method-on-hosted-ml-models-now-targets-pypi"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ai-labs-snippets-sdk (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 seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…