VYPR

pypi · Malicious package advisory

Malware

tarpackage

GHSA-264c-6ch7-52w3

Malicious code in tarpackage (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 1.0.0`

## Source: kam193 (32df873f7d91846104a4637b94b2816fea2023260d81c2ecbc5f3c6d5b6a934a)
The package exfiltrates env variables during installation


---

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


Campaign: 2026-05-tarpackage


Reasons (based on the campaign):


 - The package overrides the install command in setup.py to execute malicious code during installation.


 - exfiltration-env-variables

---

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

**References:**
- https://bad-packages.kam193.eu/pypi/package/tarpackage
- https://github.com/ossf/malicious-packages/blob/49d0cfba3689ed9b195d101d3a2a964c6a77f767/osv/malicious/pypi/tarpackage/MAL-2026-4166.json
- https://github.com/advisories/GHSA-264c-6ch7-52w3

Compromised versions (1)

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