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


- **Type:** Malicious package
- **Package:** `agentaix` (PyPI)
- **Published:** 10 Oct 2026

## What is MAL-2026-17752?

MAL-2026-17752 is a malicious package in agentaix, published on 10 Oct 2026. 

### Official description

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.

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.

## What should I do about MAL-2026-17752?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-17752 is a malicious package: agentaix (PyPI). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-17752/ (Markdown: https://insights.sbomify.com/MAL-2026-17752/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-17752

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-17752/
Summaries are generated and may contain mistakes; the official description above is the record.
