# MAL-2026-17752: Malicious code in agentaix (PyPI)

- Database: OpenSSF
- Malicious package: yes
- Published: 2026-10-10
- Modified: 2026-10-15

## Affected versions

- agentaix (PyPI): 0.1.0, 0.2.0

## Description

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

## Source: amazon-inspector (c403a9ecab78c519698c7faebcb0f9de4f8af059a4c3f5803acf8c534923138a)
On `import agentaix`, `src/agentaix/__init__.py` executes `drop_readme_on_desktop()` at module top level, copying the bundled file `readme.txt` to `~/Desktop/readme.txt`. The file is not documentation: it is a Python remote-access client with a `#!/usr/bin/env python3` shebang that registers `username@hostname` with a hardcoded command-and-control server at `https://googleforum.pythonanywhere.com` and polls `/api/client/<id>/...` for operator commands. Handlers implement arbitrary shell execution via `subprocess.run(command, shell=True)` (`handle_exec`), arbitrary file read with base64-encoded upload back to the C2 (`handle_download`), plus `upload`, `delete`, `rename`, and `open` operations. The dropper stages the payload under a benign filename in a highly visible location to induce the user to run it; once run, the operator obtains interactive shell and arbitrary file read on the host, enabling theft of SSH keys, cloud credentials, and other secrets. `pyproject.toml` ships placeholder author metadata (`Your Name` / `you@example.com`, `github.com/yourname/agentaix`), consistent with an unattributed malicious upload.

## Source: kam193 (f42a135102abc5c66418237d4c6d9f8ee608570f8d4d5146463924666e0338e1)
The package installs a persistent job that allows the attacker for exfiltrating files and executing remote code on the victim's machine.


---

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


Campaign: 2026-10-agentaix


Reasons (based on the campaign):


 - files-exfiltration


 - peristence-autorun


 - The package contains code to execute remote commands (probably limited to a specific set) on the victim's machine.


 - rat


 - persistence


 - Downloads and executes a remote malicious script.

## References

- https://bad-packages.kam193.eu/pypi/package/agentaix
- https://pypi.org/project/agentaix/0.2.0/
- https://pypi.org/project/agentaix/0.1.0/

Page: https://cve.now/MAL-2026-17752

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
