VYPR

pypi · Malicious package advisory

Malware

cv-train

GHSA-8q25-v7xh-4xvp

Malicious code in cv-train (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.0.5`

## Source: kam193 (291eeeae57d4bc439348ef96b08581d69e1160508cc156acfcd8d74b94ead981)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: GENERIC-standard-pypi-install-pentest


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.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/83388b362916c9391dd4b66937c16c77bff26cdf/osv/malicious/pypi/cv-train/MAL-2026-16016.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/cv-train
- https://github.com/ossf/malicious-packages/blob/83388b362916c9391dd4b66937c16c77bff26cdf/osv/malicious/pypi/cv-train/MAL-2026-16016.json
- https://github.com/ossf/malicious-packages/blob/b98dce152ec4ec73d08c91fcef8f5477ba777f33/osv/malicious/pypi/cv-train/MAL-2026-16016.json
- https://pypi.org/project/cv-train/0.0.5
- https://github.com/advisories/GHSA-8q25-v7xh-4xvp

Compromised versions (1)

  • = 0.0.5

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