pypi · Malicious package advisory
Malwaremlc-llm-nightly-cu123
GHSA-qwgg-6hjp-2p26
Malicious code in mlc-llm-nightly-cu123 (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 9.9.9` ## Source: kam193 (99d49619be0a9e2bcedb22bd4ea489b5cb31a56558e763a78fd09a6f948f2d9e) 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-llm-nightly-cu123/MAL-2025-1983.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/mlc-llm-nightly-cu123 - https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/mlc-llm-nightly-cu123/MAL-2025-1983.json - https://github.com/advisories/GHSA-qwgg-6hjp-2p26
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.