MirLabs / The blog / AI / Security
Google: an AI judge checks each agent action before it runs
Google publishes measurements of its new guardrail for AI agents: on a public benchmark, injected instructions succeed 48.7% of the time without it and 0.9% with it. The authors themselves write down what these figures do not measure.
On 23 November 2026, Google published measurements of a guardrail for AI agents that it calls "Semantic governance policies". The idea fits in one sentence: before each action by the agent, a second model asks whether the user really asked for it.
The headline figure: on a public benchmark, prompt injection attacks succeed 48.7% of the time without the guardrail, and 0.9% of the time with it. I read the measurement post, signed by three Google engineers, and the introduction post of 20 November. Help Net Security covered the announcement on 23 November.
How it works
An AI agent acts by calling tools: send an email, make a transfer, delete a file. An injected instruction is text hidden in what the agent reads, a web page, a document, a message, telling it to do something other than what the user asked.
Google's guardrail sits between the model and the tool. When the model proposes an action, it is sent to a judge, which is itself a language model. The judge treats the user's request and the agent's instructions as trusted. It treats everything else, tool results, files, messages, as plain data. If the action does not match what the user asked for, it is replaced by a denial message and does not run.
The company can add its own rules, written in plain language. The judge's decision and its rationale are logged. The service is in preview on Google's agent platform, and it also accepts agents running on Anthropic models or on models compatible with OpenAI's interface.
The figures
The measurements were made on AgentDojo, a public benchmark: 97 user tasks, 949 attacked runs, an agent running on gemini-2.5-flash, six full passes. No company rule was configured: only the "did the user ask for this" check was at work.
The attack success rate goes from 48.7% to 0.9%. Of the 929 attacks that needed an action by the agent to succeed, none succeeded, in any of the six passes. In the banking, team messaging and office domains, zero successful attacks with the guardrail.
The price: on normal tasks, with no attack, the agent completes 2.6 points fewer on average. One legitimate task out of 97 is blocked by mistake.
What the authors write themselves
The separation between what is trusted and what is not rests on the instruction given to the judge, not on a technical boundary. An attacker who knows the guardrail can try to fool the judge, for instance by dressing up the injection as the user's request.
The benchmark's attacks are fixed: they were not adapted to this guardrail. So the results say nothing about an attacker who adapts. The authors quote an evaluation by the US institute NIST in which attacks reworked by testers raised the success rate against an agent from 11% to 81%.
The attacks that remain go through no action at all. In the travel domain, the injected text asked the agent to recommend a hotel in its reply. No tool is called, so there is nothing to check.
The introduction post adds three limits. The judge is a model, its decisions can vary from one time to the next: Google advises starting with a dry-run mode that observes without blocking. Streamed responses are not checked. And the documentation warns that the verdict may be wrong.
One last reservation, which is mine: the vendor is measuring its own product, on a single model. Nobody else has repeated these measurements yet.
What it changes for a company
The good news is the method. The agent is no longer asked to resist what it reads on its own. The action is checked at the moment it leaves, at a point the agent cannot go around. That is where I would put a check too.
The limit is that the checker is an AI. When one model watches another model, the result is a probability. 0.9% on a benchmark is not zero, and it is against attacks written before the guardrail existed.
For actions that cost a lot, a transfer, a deletion, a data export, I would also keep a rule written in code, which does not argue: a ceiling, a list of allowed recipients, a human approval above a threshold.
The link with what I test
It is direct for the subject, not for the figures. The CrashMire barometer has a "Planted instruction" column: in the 6 November edition, 9 models out of 14 gave in at least once in three trials, and 5 never gave in. But the barometer measures the model alone, in a customer service agent, with no judge placed in front of its tools. Google's 48.7% and my 9 out of 14 cannot be compared: these are neither the same attacks nor the same tasks.
Both measurements still say the same thing about the starting point. An agent left alone with injected text often gives in. I told a real case here, on Muse, Meta's agent.
Read next
LocService: a cyberattack copied links to rental files
The rental platform LocService, published by Gobocom, says it suffered an intrusion detected on 30 October: names, contact details, invoices and share links to DossierFacile rental files were copied. ID documents and supporting papers were not copied directly.
Ipsos: the Qilin group claims a data theft, ten days after an acknowledged intrusion
Ipsos acknowledged an intrusion into an internal system on 16 November, with no disruption to its business. On 23 November the Qilin group listed it on its site and showed five screenshots of documents. Nothing confirms that these documents come from the acknowledged intrusion.
1Password: a stolen GitHub account was used to copy customer data, without touching the vaults
1Password says an attacker took an employee's GitHub account, slipped malicious code into services and copied customer data: login addresses, identifiers, public keys, some tokens. According to the company, the vaults and master passwords were not reached.