VYPR

pypi · Malicious package advisory

Malware

mlc-ai-nightly

GHSA-2v5c-6xjr-29q8

Malicious code in mlc-ai-nightly (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 9.9.9`

## Source: kam193 (7f1b0b9f87631941501e2d04d9eab7f1cd7232f770812e3373b736f9e682dc2a)
Installing the package exfiltrates information about the host, including environmental variables.


---

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


Campaign: 2025-01-mlc-ai-nightly


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.


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


 - exfiltration-env-variables


 - dependency-confusion

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mlc-ai-nightly/MAL-2025-1980.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/mlc-ai-nightly
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mlc-ai-nightly/MAL-2025-1980.json
- https://github.com/advisories/GHSA-2v5c-6xjr-29q8

Compromised versions (1)

  • = 9.9.9

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