mal-2025-3439
Vulnerability from ossf_malicious_packages
Published
2025-03-10 13:30
Modified
2025-12-11 09:27
Summary
Malicious code in ccxt-mexc-futures (PyPI)
Details

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

Source: kam193 (f2eb5eb75679b536c430ad6d5440e63fbe1d1cd391ab1abf2a411dae3a768ed8)

There is a hidden code that overwrites the default method and downloads remote data, which contains the dictionary pretending to be the right value, and a hidden code to exfiltrate machine ID and download and run a remote code.


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

Campaign: 2025-03-ccxt-mexc-futures

Reasons (based on the campaign):

  • obfuscation

  • Downloads and executes a remote malicious script.

  • action-hidden-in-lib-usage


{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "ccxt-mexc-futures",
        "purl": "pkg:pypi/ccxt-mexc-futures"
      },
      "versions": [
        "0.1.4",
        "0.1.5",
        "0.1.6",
        "0.1.7",
        "0.1.8"
      ]
    }
  ],
  "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": [
        "update.mexc.workers.dev",
        "v3.mexc.workers.dev",
        "mexc.workers.dev"
      ],
      "urls": [
        "https://v3.mexc.workers.dev/describe.json",
        "https://update.mexc.workers.dev/"
      ]
    },
    "malicious-packages-origins": [
      {
        "id": "RLMA-2025-02500",
        "import_time": "2025-04-25T09:36:45.676518187Z",
        "modified_time": "2025-04-23T16:06:18Z",
        "sha256": "f8948ced2172fde60eaa2844530b5eb6d7f7e1c3e46860ffe1787d069de422d5",
        "source": "reversing-labs",
        "versions": [
          "0.1.4",
          "0.1.5",
          "0.1.6",
          "0.1.7",
          "0.1.8"
        ]
      },
      {
        "id": "RLUA-2025-02560",
        "import_time": "2025-05-22T14:07:11.173664858Z",
        "modified_time": "2025-05-22T12:33:27Z",
        "sha256": "b960a73138bba5d79c9eaf82de51d667fc6305ab577d2bea22bde2b3535461bc",
        "source": "reversing-labs"
      },
      {
        "id": "pypi/2025-03-ccxt-mexc-futures/ccxt-mexc-futures",
        "import_time": "2025-12-02T22:30:55.037404078Z",
        "modified_time": "2025-03-10T13:30:44Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "116fc2e7a8fe6b235f43036def48255cb8c8a75e7ad046f94155903e29403ca2",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-ccxt-mexc-futures/ccxt-mexc-futures",
        "import_time": "2025-12-02T23:07:18.045735101Z",
        "modified_time": "2025-03-10T13:30:44Z",
        "ranges": [
          {
            "events": [
              {
                "introduced": "0"
              }
            ],
            "type": "ECOSYSTEM"
          }
        ],
        "sha256": "f2eb5eb75679b536c430ad6d5440e63fbe1d1cd391ab1abf2a411dae3a768ed8",
        "source": "kam193"
      },
      {
        "id": "pypi/2025-03-ccxt-mexc-futures/ccxt-mexc-futures",
        "import_time": "2025-12-10T21:38:57.338883868Z",
        "modified_time": "2025-03-10T13:30:44Z",
        "sha256": "f126fba8fb0e9d3ab356f93681fa35fcec759a2c6af2c6ab549e344ccfe85d38",
        "source": "kam193",
        "versions": [
          "0.1.4",
          "0.1.5",
          "0.1.6",
          "0.1.7",
          "0.1.8"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: kam193 (f2eb5eb75679b536c430ad6d5440e63fbe1d1cd391ab1abf2a411dae3a768ed8)\nThere is a hidden code that overwrites the default method and downloads remote data, which contains the dictionary pretending to be the right value, and a hidden code to exfiltrate machine ID and download and run a remote code.\n\n\n---\n\nCategory: MALICIOUS - The campaign has clearly malicious intent, like infostealers.\n\n\nCampaign: 2025-03-ccxt-mexc-futures\n\n\nReasons (based on the campaign):\n\n\n - obfuscation\n\n\n - Downloads and executes a remote malicious script.\n\n\n - action-hidden-in-lib-usage\n",
  "id": "MAL-2025-3439",
  "modified": "2025-12-11T09:27:52Z",
  "published": "2025-03-10T13:30:44Z",
  "references": [
    {
      "type": "ARTICLE",
      "url": "https://jfrog.com/blog/malicious-pypi-package-hijacks-mexc-orders-steals-crypto-tokens"
    },
    {
      "type": "WEB",
      "url": "https://bad-packages.kam193.eu/pypi/package/ccxt-mexc-futures"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in ccxt-mexc-futures (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…