---
id: MAL-2026-18327
title: Malicious code in zagents-framework (PyPI)
summary: Malicious code in zagents-framework (PyPI)
severity: critical
exploited: true
vendor: zagents-framework
product: zagents-framework
ecosystem: pip
affected:
  - zagents-framework
published: '2026-10-26'
updated: '2026-10-26'
sourceUpdated: '2026-10-26T09:00:03.781244912Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/MAL-2026-18327'
references:
  - url: 'https://bad-packages.kam193.eu/pypi/package/zagents-framework'
tags:
  - osv
  - pip
  - malware
ingestedAt: '2026-10-26T12:01:30.296Z'
---

## Overview


---
_-= Per source details. Do not edit below this line.=-_

## 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.


## Affected packages

- `zagents-framework`

## Remediation

Refer to the advisory for the patched release.
