VYPR

pypi · Malicious package advisory

Malware

zagents-framework

GHSA-vqh8-gjqw-v2r3

Malicious code in zagents-framework (PyPI)

Details

**Severity:** Critical

**Affected versions:** `= 6.25.30.10b5`

## Source: kam193 (d16d137f59725b57a8d4dfbb6c9e5b88a07e1bf4fac71faf28e044208a21bccd)
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/6338462adbfe05eae85d7721e0235915b2a4e352/osv/malicious/pypi/zagents-framework/MAL-2026-18327.json))

**References:**
- https://bad-packages.kam193.eu/pypi/package/zagents-framework
- https://github.com/ossf/malicious-packages/blob/6338462adbfe05eae85d7721e0235915b2a4e352/osv/malicious/pypi/zagents-framework/MAL-2026-18327.json
- https://github.com/advisories/GHSA-vqh8-gjqw-v2r3

Compromised versions (1)

  • = 6.25.30.10b5

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