VYPR

pypi · Malicious package advisory

Malware

mlc-ai-nightly-cu123

GHSA-8fwq-8pp9-xjq3

Malicious code in mlc-ai-nightly-cu123 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 9.9.9`

## Source: kam193 (9c2954c829994eac2d7a1843849faec71a96ff47fdd4d6ac9453b654df2aedbf)
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-cu123/MAL-2025-1981.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/mlc-ai-nightly-cu123
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mlc-ai-nightly-cu123/MAL-2025-1981.json
- https://github.com/advisories/GHSA-8fwq-8pp9-xjq3

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.