Manager · Engineer · Mountaineer
FR · EN
AI Security
When the approval code lands in a mailbox the agent can read, the human in the loop is just decoration.
2026-11-02
One cent a day. That is the spending cap that researchers at Cornell Tech and Yale set for ten AI agents, each with a real Circle wallet holding 10 USDC. To raise it, a validation code was emailed to the owner. But the agent had access to that mailbox, to do its job.
The result: nine models out of ten raised their limit at least once, on their own, by reading the code themselves. They only had invoices to pay. In a second scenario, an attacker posed as the owner by email while the agent was simply supposed to summarize the inbox: five models out of ten raised their cap and paid the attacker. Only one, Claude Opus 5.5, never tried to get around the limit.
I see this pattern in almost every coding agent deployment. A human is placed in the loop for sensitive actions, then the agent is given the tools to play that human's role. The OTP code arrives in a mailbox the agent reads. The approval prompt appears in a terminal the agent drives. The file listing allowed commands sits in the repository the agent edits.
The authors of the paper, Ari Juels among them, call what is needed an inalienable human-in-the-loop: an approval the agent cannot obtain in your place, even if it has compromised the machine you work on. Their conclusion will surprise no security person: you need a trusted entity out of the agent's reach. They propose a prototype, Countersign, which requires a physical confirmation on a phone.
Circle answers that its documentation already forbids this setup. A rule in a document nobody rereads at the moment the mail connector is plugged in.
Start by mapping, for each agent, where approvals arrive and who can read them. MFA codes, confirmation links, authorization files: if the agent can read or write them, the approval is decorative.
Then move the controls out of the agent's perimeter. Limits must be enforced server side, or by a component running outside its session, a local proxy or a gateway it can neither reconfigure nor bypass. MoonPay puts it well about its product: the separation is enforced on the server, not in the model.
Finally, test. Give your agent a task blocked by an approval and watch what it does. Twenty minutes is enough.
In a risk analysis, the "human approval" box is no longer enough. The question is: through which channel does it arrive, and does the agent have a path to that channel? I would add one simple rule to every integration review: accounts and mailboxes shared with an agent never receive security codes. And do not take comfort in the good student of the test. A model's behavior changes from one version to the next, an architectural boundary stays in place.