mal-2024-12239
Vulnerability from ossf_malicious_packages
Published
2024-09-07 21:45
Modified
2025-12-11 09:27
Summary
Malicious code in cobo-python (PyPI)
Details

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

Source: kam193 (2f1c1c4efd134e130c04178382ff3ea318301fb18b5eb6eed696c49cf64e9ad6)

It appears to be a forgotten pentest checking typosquatting against cobo-custody package, but may also have malicious purposes. During installation, if a machine is Mac, an obfuscated code attempts to download and execute a shell script. Currently, the server does not respond.


Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: 2024-08-old-cobo-sectest

Reasons (based on the campaign):

  • Downloads and executes a remote executable.

  • clones-real-package

  • crypto-related

  • The package overrides the install command in setup.py to execute malicious code during installation.

  • obfuscation

  • typosquatting


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "cobo-python"
      },
      "versions": [
        "0.1"
      ]
    }
  ],
  "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"
    }
  ],
  "database_specific": {
    "iocs": {
      "urls": [
        "http://114.132.245.217:40081"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "pypi/2024-08-old-cobo-sectest/cobo-python",
        "import_time": "2025-12-02T22:30:55.951281329Z",
        "modified_time": "2024-09-07T21:45:29Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "b82eae0c6205cc1598e48c7e84de9b78243c72d11ddabc80f9267377d8fdef00",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-08-old-cobo-sectest/cobo-python",
        "import_time": "2025-12-02T23:07:19.141411014Z",
        "modified_time": "2024-09-07T21:45:29Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "2f1c1c4efd134e130c04178382ff3ea318301fb18b5eb6eed696c49cf64e9ad6",
        "source": "kam193"
      },
      {
        "id": "pypi/2024-08-old-cobo-sectest/cobo-python",
        "import_time": "2025-12-10T21:38:58.279551838Z",
        "modified_time": "2024-09-07T21:45:29Z",
        "sha256": "dc31f618c960275a328b61245b5861bb9e8dc319ecb1f046c1f621de05e54fd8",
        "source": "kam193",
        "versions": [
          "0.1"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (2f1c1c4efd134e130c04178382ff3ea318301fb18b5eb6eed696c49cf64e9ad6)\nIt appears to be a forgotten pentest checking typosquatting against cobo-custody package, but may also have malicious purposes. During installation, if a machine is Mac, an obfuscated code attempts to download and execute a shell script. Currently, the server does not respond.\n\n\n---\n\nCategory: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research \u0026 co, with clearly low-harm possibilities.\n\n\nCampaign: 2024-08-old-cobo-sectest\n\n\nReasons (based on the campaign):\n\n\n - Downloads and executes a remote executable.\n\n\n - clones-real-package\n\n\n - crypto-related\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n - obfuscation\n\n\n - typosquatting\n",
  "id": "MAL-2024-12239",
  "modified": "2025-12-11T09:27:52Z",
  "published": "2024-09-07T21:45:29Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/cobo-python"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in cobo-python (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…