VYPR

pypi · Malicious package advisory

Malware

ccxt-mexc-futures

GHSA-7x8h-p25j-v772

Malicious code in ccxt-mexc-futures (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.1.4`

## 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

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ccxt-mexc-futures/MAL-2025-3439.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/ccxt-mexc-futures
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ccxt-mexc-futures/MAL-2025-3439.json
- https://jfrog.com/blog/malicious-pypi-package-hijacks-mexc-orders-steals-crypto-tokens
- https://github.com/advisories/GHSA-7x8h-p25j-v772

Compromised versions (1)

  • = 0.1.4

Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.