pypi · Malicious package advisory
Malwarezagents-message-bus
GHSA-2hr3-wchh-6g2q
Malicious code in zagents-message-bus (PyPI)
Details
**Severity:** Critical **Affected versions:** `= 1.0.5` ## Source: kam193 (0d1891d5d76adad51e120baa41752f0cc878b243eb400e7a12aba1616d31d1f7) 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/6b2222ac38324641b75f5480a4937a9efa491f6c/osv/malicious/pypi/zagents-message-bus/MAL-2026-18296.json)) **References:** - https://bad-packages.kam193.eu/pypi/package/zagents-message-bus - https://github.com/ossf/malicious-packages/blob/6b2222ac38324641b75f5480a4937a9efa491f6c/osv/malicious/pypi/zagents-message-bus/MAL-2026-18296.json - https://github.com/advisories/GHSA-2hr3-wchh-6g2q
Compromised versions (1)
- = 1.0.5
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.