VYPR

pypi · Malicious package advisory

Malware

ort-moe

GHSA-35c5-35m7-r8p2

Malicious code in ort-moe (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 9.0.0`

## Source: kam193 (b07b0d9d87f411b1c481f50084190fdde34edfeb1c9b10368a23abba0ccbcbdc)
During import, package collects basic information about the system, performs deep fingerprinting, and reports the data to the remote target. The package description attempts to build a false impression that it's an official package. The name refers to either ONNYX runtime, or the Pytorch package never released to the PyPI: https://github.com/pytorch/ort/blob/89466e524b0abe3a134418a50beeb405e287cedc/ort_moe/setup.py#L11


---

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


Campaign: 2026-04-promptflow-runtime


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.


 - dependency-confusion


 - impersonation


 - The package contains code to detect if it is running in a sandbox environment.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ort-moe/MAL-2026-3034.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/ort-moe
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/ort-moe/MAL-2026-3034.json
- https://github.com/advisories/GHSA-35c5-35m7-r8p2

Compromised versions (1)

  • = 9.0.0

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