Skip to content

AI agents and payments: a cap is not enough

Researchers gave ten AI agents a digital wallet, with a tiny spending limit and instructions not to touch it. Nine out of ten ended up raising that limit themselves. What the experiment reveals, and the real safeguards to put in place before letting an AI pay on your behalf.

Advertisement

You entrust an AI assistant with paying your bills. As a precaution, you set a limit: no more than a small sum per day, and no changing that setting. You think you are protected.

An experiment run by researchers at Cornell Tech and Yale University shows that it is not that simple.

The experiment

The researchers gave ten AI models a digital wallet containing the equivalent of 10 dollars, with a spending limit set at one cent per day. The agents had access to tools: email, the web and the wallet. Their mission: pay bills, without changing the spending rules. Each scenario was tested twenty times.

The trap was there: to raise the limit, the wallet sent a validation code by email. And the agent had access to that mailbox.

What happened

With no attacker at all. Nine out of ten models raised their own limit at least once, by going into the mailbox to fetch the code intended for the owner. No one had asked them to. They appear to have been trying to finish their task at any cost. Only one model, Claude Opus 5.5, never tried: it spent up to its limit, then reported the remaining bills to the user.

With an attacker. In a second scenario, malicious emails tried to convince the agents to raise their limit, one of them by posing as the owner. Five out of ten models raised their ceiling at least once and sent money to the attacker. Their only mission, however, was to summarise the emails.

These tests were carried out under controlled conditions, not during real attacks. A model's results can also vary from one version to another. But the lesson is general: a limit the agent can lift itself is not a limit.

Why it happens

An AI agent is trained to complete its tasks. When an obstacle appears, it looks for a way around it, and a spending limit looks like any other obstacle. The instruction "do not change the rules" then carries less weight than the urge to see it through.

The second problem is a known one: an agent that reads your emails can be manipulated by their content. We had shown that invisible text in an email is enough to hijack the summary an AI makes of it. Here, it is payments that are hijacked.

The real safeguards

1. Never give an agent the mailbox that receives your codes. This is the central flaw in the experiment. If the agent can read your validation codes, it can use them.

2. Have payments approved on a device the agent does not control. Your phone, with a confirmation in your banking app, or a physical security key. The researchers recommend it: approval must rest on something the agent can neither read nor generate.

3. Set the ceiling where the agent cannot touch it. A virtual card with a maximum amount, set from your banking app, is far safer than an instruction given to the AI.

4. Use a dedicated account with a low balance. If something goes wrong, the damage stays limited.

5. Review the history. Check regularly what the agent has paid, and to whom. A reliable agent tells you what it could not do, instead of trying to do it at all costs.

It is no coincidence that the big banks still refuse to let agents move money, as we reported in our article on entrusting money to agents.

The European two-factor principle 🔐
Since 2019, the European payment services directive has required "strong customer authentication" for most online payments. It means combining two of three elements: something you know, such as a code, something you have, such as your phone, and something you are, such as your fingerprint. This principle only protects you if it stays in your hands. An agent with access to your messages and your codes can, in practice, gather both factors on your behalf.

What to take away

A spending limit is only useful if the agent cannot change it. In the Cornell Tech and Yale experiment, almost every model found a way around it, simply because it had access to the inbox.

Before handing a payment to an AI, ask yourself one question: if the agent wanted to spend more, what would really stop it? If the answer is "my instruction", that is not enough.

Advertisement