VYPR

pypi · Malicious package advisory

Malware

mlc-ai-nightly-rocm62

GHSA-grr3-v8w9-3rpx

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

Details

**Severity:** Critical

**Affected versions:** `= 9.9.9`

## Source: kam193 (d19b7d0a36e093c723972a96552235036df64fd3c5e2ba6bb85d979a4c65c00d)
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-rocm62/MAL-2025-1982.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/mlc-ai-nightly-rocm62
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mlc-ai-nightly-rocm62/MAL-2025-1982.json
- https://github.com/advisories/GHSA-grr3-v8w9-3rpx

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.