VYPR

pypi · Malicious package advisory

Malware

pytzv

GHSA-8jh8-jhg3-fchp

Malicious code in pytzv (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 0.2.0`

## Source: kam193 (bc7b0a2cddf6ee0cc4d688f4136758e0d7aaa99707aa5dd82505d84631d77720)
Importing the module starts exfiltration of ".session" files, which appear to be used at least by one Telegram library (https://docs.telethon.dev/en/stable/concepts/sessions.html#what-are-sessions) to store credentials


---

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


Campaign: 2025-04-qtpv


Reasons (based on the campaign):


 - files-exfiltration


 - target:telegram

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pytzv/MAL-2025-191847.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/pytzv
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pytzv/MAL-2025-191847.json
- https://github.com/advisories/GHSA-8jh8-jhg3-fchp

Compromised versions (1)

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