VYPR

pypi · Malicious package advisory

Malware

pathlib-v2-utility

GHSA-xhqq-2qcq-2rvf

Malicious code in pathlib-v2-utility (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.4`

## Source: kam193 (c8dc8b60e188fb941aeb9f5b6207d2c0fcab27719a142558498bf72d1602d992)
Disguised as file system manipulation library, the package hides an obfuscated code to communicate with a Telegram channel. Though the usage is not known at the moment, the package is clearly created for data exfiltration


---

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


Campaign: 2026-02-pathfiles


Reasons (based on the campaign):


 - obfuscation


 - action-hidden-in-lib-usage

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pathlib-v2-utility/MAL-2026-697.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/pathlib-v2-utility
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/pathlib-v2-utility/MAL-2026-697.json
- https://github.com/advisories/GHSA-xhqq-2qcq-2rvf

Compromised versions (1)

  • = 1.0.4

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