mal-2025-5102
Vulnerability from ossf_malicious_packages
Published
2025-05-16 10:10
Modified
2025-12-31 02:45
Summary
Malicious code in coloraiz (PyPI)
Details

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

Source: kam193 (dc4606b3e3f05632a889906f4c259e329a08308382fbc27329752eb8ea6a6c3c)

The package imitates colorama, and places a proxy object over the original colorama module that on every usage executes a remote code. The remote script installs a backdoor through legitimate tunnelling software and upload access credentials to the attacker.


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

Campaign: 2025-05-coloraiz

Reasons (based on the campaign):

  • impersonation

  • clones-real-package

  • action-hidden-in-lib-usage

  • backdoor

  • Downloads and executes a remote malicious script.


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "coloraiz",
        "purl": "pkg:pypi/coloraiz"
      },
      "versions": [
        "1.0.1",
        "1.0.2",
        "1.0.3"
      ]
    }
  ],
  "aliases": [
    "SNYK-PYTHON-COLORAIZ-10305008"
  ],
  "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": [
        "free.beeceptor.com"
      ],
      "urls": [
        "https://mp14dea413c69b2bf527.free.beeceptor.com/code"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-02999",
        "import_time": "2025-06-18T15:05:59.893976682Z",
        "modified_time": "2025-06-18T10:15:04Z",
        "sha256": "9ea259f4f90a9ba1877acd31cdbe71bc8600e20a2cb9b83ba830cbac7df1ce4b",
        "source": "reversing-labs",
        "versions": [
          "1.0.1",
          "1.0.2",
          "1.0.3"
        ]
      },
      {
        "id": "RLUA-2025-03566",
        "import_time": "2025-08-01T10:41:34.878864893Z",
        "modified_time": "2025-07-31T19:14:36Z",
        "sha256": "1a7ffe6fe6d8fd9746f01735fc68e8d4a9d8bd7ab89a54c16b6a7e1bebcf8b5e",
        "source": "reversing-labs"
      },
      {
        "id": "pypi/2025-05-coloraiz/coloraiz",
        "import_time": "2025-12-02T22:30:55.05547489Z",
        "modified_time": "2025-05-16T10:10:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "6a81e133153e897e581658ea617c5256010587413cda88c2b6670c127291e39e",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-coloraiz/coloraiz",
        "import_time": "2025-12-02T23:07:18.065995073Z",
        "modified_time": "2025-05-16T10:10:16Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "dc4606b3e3f05632a889906f4c259e329a08308382fbc27329752eb8ea6a6c3c",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-05-coloraiz/coloraiz",
        "import_time": "2025-12-10T21:38:57.357178826Z",
        "modified_time": "2025-05-16T10:10:16Z",
        "sha256": "a9c7340f11b6c6b930c65d277226188952f3c0d49712726a4d9e78113ad152d4",
        "source": "kam193",
        "versions": [
          "1.0.2",
          "1.0.1",
          "1.0.3"
        ]
      },
      {
        "id": "pypi/2025-05-coloraiz/coloraiz",
        "import_time": "2025-12-30T22:39:04.055034198Z",
        "modified_time": "2025-05-16T10:10:16Z",
        "sha256": "4f1b59ad5f047d550901ab3a30b5d6f663fea92b8ff764d6c327165b6a156363",
        "source": "kam193",
        "versions": [
          "1.0.1",
          "1.0.2",
          "1.0.3"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (dc4606b3e3f05632a889906f4c259e329a08308382fbc27329752eb8ea6a6c3c)\nThe package imitates colorama, and places a proxy object over the original colorama module that on every usage executes a remote code. The remote script installs a backdoor through legitimate tunnelling software and upload access credentials to the attacker.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-05-coloraiz\n\n\nReasons (based on the campaign):\n\n\n - impersonation\n\n\n - clones-real-package\n\n\n - action-hidden-in-lib-usage\n\n\n - backdoor\n\n\n - Downloads and executes a remote malicious script.\n",
  "id": "MAL-2025-5102",
  "modified": "2025-12-31T02:45:15Z",
  "published": "2025-05-16T10:10:16Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://checkmarx.com/zero-post/python-pypi-supply-chain-attack-colorama"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.snyk.io/vuln/SNYK-PYTHON-COLORAIZ-10305008"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/coloraiz"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in coloraiz (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…