VYPR

pypi · Malicious package advisory

Malware

ml-shared

GHSA-r6hm-wcqx-r255

Malicious code in ml-shared (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 6.3.0`

## Source: kam193 (4f4ae8fee891c54953efa7c796a605e700fc827131feff0243f0b3bc8bd6a260)
During installation, package exfiltrates basic info and all environmental variables.


---

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


Campaign: 2026-07-ml-shared


Reasons (based on the campaign):


 - exfiltration-env-variables


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/541085e926b0d637add3280b4115e66d9263e3ab/osv/malicious/pypi/ml-shared/MAL-2026-11202.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/ml-shared
- https://github.com/ossf/malicious-packages/blob/541085e926b0d637add3280b4115e66d9263e3ab/osv/malicious/pypi/ml-shared/MAL-2026-11202.json
- https://github.com/advisories/GHSA-r6hm-wcqx-r255

Compromised versions (1)

  • = 6.3.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.