VYPR

pypi · Malicious package advisory

Malware

pytc123

GHSA-fmgq-99x5-23hx

Malicious code in pytc123 (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 3.1.0`

## Source: kam193 (29916930efd9b23d2db0a812c00e77dcb672c494ae1d721e2201c1006625bf43)
Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.


---

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-simple-tests


Reasons (based on the campaign):


 - 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/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pytc123/MAL-2025-959.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/pytc123
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pytc123/MAL-2025-959.json
- https://github.com/advisories/GHSA-fmgq-99x5-23hx

Compromised versions (1)

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