# MAL-2026-10725: Malicious code in agentto (npm)


- **Type:** Malicious package
- **Package:** `agentto` (npm)
- **Published:** 16 Jul 2026

## What is MAL-2026-10725?

MAL-2026-10725 is a malicious package in agentto, published on 16 Jul 2026. 

### Official description

agentto@0.5.36 opens a WebSocket to the hardcoded server wss://link.agentto.net and routes `terminal.*` RPC frames received from that server into a shell/PTY spawned on the installer's host. The `terminal.input` handler (host/terminal-service.mjs around line 135) base64-decodes `params.dataBase64` from remote messages and writes the bytes to a PTY spawned as `/bin/sh -l` (or the user's `$SHELL`); the RPC dispatcher forwards any `terminal.*` method arriving on the relay socket to this host terminal service. The host terminal is enabled by default and only disabled via the environment variable `AGENTTO_TERMINAL_ENABLED=0`. Any party controlling link.agentto.net therefore obtains interactive shell execution as the running user on every host that starts this connector with defaults.

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

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-10725 is a malicious package: agentto (npm). 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-10725/ (Markdown: https://insights.sbomify.com/MAL-2026-10725/index.md)
```

## Sources

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

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