How to rob an agent: six tricks and how to stop them
By Niko Leon
Hover over or tap a thief to see the trick.
You cannot bribe an AI agent, threaten it or get it drunk.
You can send it an invoice. And if the invoice contains a line of text that no human can see, telling the agent that the supplier’s bank details have changed, the agent may simply believe it.
This is not a thought experiment. In October 2026 a security firm caught a real invoice fraud campaign doing a version of it. Here are six ways to rob an agent, and what stops each one.
The numbers to hold in mind
The six tricks
Each one targets a different part of the agent from the anatomy article. The part is shown next to the name.
Why “just tell it to ignore that” does not work
The obvious fix is to instruct the agent to ignore any instructions it finds in documents. It helps a little and fails often. A good attack does not announce itself as an instruction. It looks like one more fact on the page: a note under the bank details, a line in the footer.
The model cannot reliably tell the difference between text it should act on and text it should only read. So the defence cannot live inside the model. It has to live in what the agent is allowed to do.
The one rule that covers most of it
An invoice can tell you what is owed. It cannot authorise anything. The same goes for an email, a web page or a note in memory.
Build the agent so that nothing it reads can change who gets paid, how much it may spend or what it is allowed to touch. Those come only from the mandate a human set. Then the six tricks above mostly reduce to one question: did someone manage to change the mandate?
What good looks like
- Small wallet. The agent can only lose what it can reach. A capped credential turns a disaster into an annoyance.
- Approved payees only. Paying a new account always needs a person.
- A human on money movement. Mercury’s agent controls require approval for any movement of money.
- A record of everything. If you cannot see what the agent read and why it acted, you cannot tell a mistake from a theft.
Takeaway
Robbing an agent looks a lot like robbing an accounts department. The tricks are old. What is new is that the victim reads everything, believes too much, and never gets a bad feeling about a supplier.
The defence is not a smarter agent. It is an agent that could not do much damage even if it were fooled.
How to read this: this article describes kinds of attack and how to defend against them. It leaves out the working detail on purpose. The FBI figures are for the United States and cover all business email fraud, not only fraud against AI agents. Several sources are security vendors, who have a product to sell.