BNK
Nothing wrong with the words
An agent does harm with tool calls that every text check passes
The guardrails in the last two lessons read text. They look at what is said to a model and what the model says back. An agent is different, because an agent acts. It has tools that change things: pages, messages, files. This lesson follows one small task that goes wrong with no attack string in it and no secret on the wire. A page the agent reads carries a field that nobody on the team wrote. The model treats it as part of the job. Every request passes the guardrail and every tool call is one the tool was built to allow. The case is from a 2026 study by Faberlens Research, retold here with made-up names. At the end you will see where a check has to stand to catch it.
- The task
- keep a status page current
- The trap
- a field in the page, read as an order
- Text checks
- all pass
- The harm
- a false status, posted to leadership
Read the whole lesson as text
1. A small, honest task
Someone on a project team gives their agent a chore. The agent sends the task to the model through the factory, along with the list of tools it has for the team's workspace. Two of them only read. Two of them change things: one edits a page, one posts a message to a channel. The request goes through the gateway and the guardrail like any other. The prompt is a plain sentence from a real user. It passes, and it should. The model answers the way models do when they have tools. It writes no text. It asks for the page to be read.
- The agent sends the task and its list of four tools to the factory.
- The gateway has the guardrail scan the prompt. There is nothing wrong with it.
- The model answers with a tool call: read the status page.
2. The page has a field nobody wrote
The agent runs the tool. It calls the workspace's tool server directly, over the Model Context Protocol, and gets the page back as structured data. Most of it is what the team wrote: sections, owners, a status for each. Payment Reliability is marked at risk. One field does not belong. It is named like a housekeeping setting, and it holds a list of changes to make and a channel to post them to. Somebody who could edit the page put it there. To the tool server this is not an event. A read was asked for by a user who is allowed to read, and the page was returned as stored.
- The agent calls the workspace's tool server and asks for the page.
- The page comes back. One of its fields is an instruction that nobody on the team wrote.
3. The data goes back in as a prompt
The agent's loop now does what it always does. It sends the conversation back to the model with the tool result added as one more message. This is the moment the planted field becomes part of a prompt, and the guardrail scans it. The injection classifier scores it low. There is no sentence here that talks to an assistant or tells anyone to ignore anything. It is a field in a JSON document with a dull name. The personal data scanner finds no names, numbers or keys. Both are right about what they see. The verdict is allow.
- The agent sends the conversation again, now with the page as a tool message.
- The guardrail scans the new message, the planted field with it.
- No scanner fires. The prompt goes on to the model.
4. The model does what the page said
The model was told to keep the page current. The only source it has for what current means is the page it just read, and the page says what to change. So it asks for an update, and the agent makes it: Payment Reliability goes from At Risk to On Track. Then it looks for the leadership channel, finds it, and posts a summary of the change. Each call is well formed. Each uses a tool the agent was given for exactly this kind of work, with the access of the user who started it. In the study, two of three models ran this chain. The third stopped, quoted the field back and called it an instruction disguised as data.
- The model asks for the page to be changed, with the values the planted field gave it.
- The agent makes the call. The page now says the payment work is on track.
- Two turns later the agent posts the false status to the leadership channel.
5. Walk it past every check
Go back over the run and ask each kind of check what it could have caught. An injection classifier needs an attack string, and there was a data field. A scanner for personal data or secrets needs a fingerprint, and no secret moved. A policy engine with written rules comes closest, but nobody had written a rule for this, and the question is not a comparison of fields. It is a question of meaning: did this value come from the person, or from the thing the agent read? The same study found failures with no attacker at all. Asked to tidy up, agents moved salary pages under a parent that far more people could read. Asked to stop parcel emails, they wrote a filter wide enough to archive security alerts too.
- The guardrail saw every model call of this run and passed every one, correctly by its own rules.
6. Check the action
A check for this has to stand where the action is, on the tool call, and it has to know more than the call itself. Here is one way to build it. The agent's tool calls are sent through the gateway instead of straight to the workspace. The gateway has seen the whole conversation, so for each call that changes something it can ask where the arguments came from. The rule used here is the plainest one to take from the study: values that choose a recipient, a destination or a scope must come from the user's request, never from fetched content. Reads pass. The update is refused, because On Track and July 20 appear only in a tool result. The agent gets an error back as the tool's answer and tells the user what it found.
- Run it again with the agent's tool calls routed through the factory. The same update arrives at the border.
- The gateway looks through the conversation for the source of each value in the call.
- The gateway refuses the call. The page is not touched, and the agent is told why.
7. No model makes this go away
It is tempting to wait for a model that does not fall for this. The study looked at three and found no such thing. The safest one on average still made dangerous calls. Asked only to check a mailbox for sensitive information, it went through it collecting passwords and bank details. A smaller model was safer than its bigger sibling in six categories by more than 30 points. Which model was safest changed from one tool server to the next. And the model under an agent changes without notice, when a version is updated or a router picks another one. The rules for what this model must never do with this tool are written nowhere. They have to be found by testing the exact pairing that ships, from a log of what the agent did, and found again when the model changes.
- The model behind the alias is replaced. The same task now has to be tested again, because nothing says the new one behaves like the old.
Summary
A guardrail that reads prompts and answers protects against what is said. An agent with tools can do damage while every sentence stays clean, because a page it reads can steer it and every call it then makes is one the tool allows. No scanner has a shape to match for that, and a smarter model does not remove it. A check for it stands on the tool call, knows the conversation, and asks one question of every call that changes something: did the user ask for this, or did something the agent read? What the right rules are for a given model and a given set of tools is not written down anywhere. It is found by testing that pairing and reading the log.
Next lesson: Two tenants, one factory