Skip to content

v0.57.1: the A2A door keeps no caller's message (security patch)

Latest

Choose a tag to compare

@john-broadway john-broadway released this 04 Dec 20:43

What changed for an operator

A security patch. Update. Nothing to migrate for the shell, MCP and REST doors; an A2A client sees the changes under 'What an A2A client sees change'. Only the A2A door (proximo-a2a) is affected; if you never run it, this release changes nothing for you.

The A2A door kept every caller's message. Each call to the A2A door opens a task. The door kept the message the caller sent in that task's history, with every argument as it was sent. One task store served every caller of the door, and the door never deleted a task. So any client that could call the door could read back every message any other client had sent, with ListTasks, or with GetTask by the task's id.

Who could read: a client that can call the door. That is a holder of the door's bearer token, or, on a localhost bind with no token file, any process on that machine that can connect to the door's port. A bind that is not localhost refuses to start without a token. Nobody without access to the door could read anything.

What was readable: the whole message of every call since the door started, including the tool, every argument, and the answer the task carried. Proximo's answer and its ledger fingerprint a secret-named argument (a password, a secret, a token); the copy in the task's history did not. A password sent to create a user, for example, was kept in the clear and readable by every other client of the door. The ledger never carried it.

Since when: every release of proximo-proxmox, from 0.1.1 to 0.57.0, when the A2A door runs. From 0.45.0 the door's own code put the message in the task; before that, the a2a-sdk built the task and put it there itself.

What to do: update to 0.57.1. Restart the A2A door after the update: the task store lives in the door's memory, so the restart also drops every message it kept. If you cannot update now, stop the A2A door, or give each caller its own door with its own token, until you can.

What the fix does not do. With a bare bearer every holder of the token is one caller: one holder's calls can push out another holder's unread answers and fill every place on the door. Per-caller fairness and per-caller reads need PROXIMO_CALLER_KEYS_DIR.

A call that fails keeps its error sentence with its task, and that sentence can quote what the caller sent: an unknown tool name, or an argument a Proxmox error repeats. With a bare bearer, a returnImmediately task, error included, can be read by any holder of the token who has its id, for 60 seconds after its call ends. With PROXIMO_CALLER_KEYS_DIR only its own caller can read it.

This was found by our own review.

The release

The A2A door keeps no caller's message. A security patch, found by our own review. The A2A door kept every message a caller sent, as the history of the task it opened, with every argument as it was sent. The answer and the ledger fingerprint a secret-named argument; that copy did not, so a password sent in a call was kept in the clear. One task store served every caller and the door never deleted a task, so any client that could call the door (a holder of its bearer token, or, on a localhost bind with no token, any process that can connect to it) could read every kept message back with ListTasks, or with GetTask by its id. Every earlier release of proximo-proxmox does this when the A2A door runs. Now a task is built with no history, every save through the door's store clears it, and a send's response carries none. A failed call's error sentence is kept with its task, and can quote what the caller sent.

A task is kept only while it is needed. A blocking send's task is deleted once its answer is sent. A returnImmediately send's task stays for 60 seconds after its call ends, so its caller can read the answer with GetTask, and is then deleted. A task whose call is still running is not deleted. The store takes a new call while it holds fewer than 1,000 tasks, or when it can let go of a finished answer still in its 60 seconds to make room; otherwise the call is refused, with a sentence that says the door holds its most tasks.

A caller reads only its own tasks. With PROXIMO_CALLER_KEYS_DIR (a signed badge for each caller), each verified caller reads and lists only the tasks it sent, another caller's task is answered as one that is not there, and one caller has at most 500 calls running at once. With a bare bearer every holder of the token is one caller: ListTasks is refused, and a task is read by the id its send was given. One holder's calls can push out another holder's unread answers and fill every place on the door.

What an A2A client sees change. A message that names a task id is refused before anything runs: this door takes one message per task. CancelTask is refused, and the call runs to its end. The caller's context id is dropped, and the task gets the door's own. A task that has been deleted is answered as not found.

The ledger keeps no unknown tool name. A rejected A2A call recorded the tool name the caller sent. A tool or runbook name the door serves is still recorded as it is. Any other name is recorded by its length and fingerprint, a name that is not a string by its type alone, and the reason for an unknown tool is recorded as unknown tool.

Where to read more