# Semantic governance: Google checks each tool call against user intent

> Semantic governance policies is a Google check that compares each tool call an agent proposes against the user's request before it runs.

- **Severity:** Info: Research, tools, evals or lab claims with no direct exposure. Context, not an alert.
- **Category:** Lab safety, Benchmark
- **Published by:** Google
- **Disclosed:** 2026-11-23
- **Affects:** Gemini Enterprise Agent Platform, Agent Gateway
- **Research by:** Ritika Nigam, Deepti Sehrawat, Pranav Bhagwat
- **Primary source:** https://developers.googleblog.com/en/did-the-user-ask-for-this-securing-ai-agents-against-intent-hijacking-with-semantic-governance-policies/
- **Page:** https://theinjection.dev/items/google-semantic-governance-intent-hijacking/

Google reports that Semantic governance policies, a preview check in Agent Gateway, cut the attack success rate on the AgentDojo benchmark from 48.7% to 0.9% by judging every tool call an agent proposes against what the user asked for.

## What happened

Google published measurements for Semantic governance policies on 23 November 2026, in a post by Ritika Nigam, Deepti Sehrawat and Pranav Bhagwat. The feature is in Preview on the Gemini platform for agents running behind Agent Gateway. Google reports that on AgentDojo the attack success rate fell from 48.7% to 0.9% with the default check enabled.

## How it works

Agent Gateway sends every tool call the model proposes to a policy engine before the result reaches the agent. An LLM judge treats the user's request and the developer's system instructions as trusted, and tool results, files and messages as untrusted data rather than instructions. The default check asks whether the user requested this action, so it judges actions and not text. Denied calls never run and are replaced with a denial message.

## Who is affected

Teams running agents behind Agent Gateway on the Gemini platform can enable the check today in Preview. Google's figures come from a gemini-2.5-flash agent on AgentDojo v1.2.2 across 97 user tasks and 949 attacked runs, not from production traffic. Google states the judge's split between trusted and untrusted content is enforced through how the judge is instructed, not by a hard technical boundary.

## What to do

Google recommends enabling the policy in dry run mode first, reviewing the verdicts in Cloud Logging, then switching to enforcement. Weigh the measured cost before you do: Google reports clean utility fell 2.6 points on average and over-blocking hit 1 of 97 benign tasks.

## Attack success rate, AgentDojo

Higher is worse for defenders

| Result | Score |
|---|---|
| No policy | 48.7% |
| **Semantic governance policies** (this story) | 0.9% |

Source: https://developers.googleblog.com/en/did-the-user-ask-for-this-securing-ai-agents-against-intent-hijacking-with-semantic-governance-policies/

## Quick facts

- **Benchmark setup:** gemini-2.5-flash agent, AgentDojo v1.2.2, 97 user tasks, 949 attacked runs, averaged over six runs
- **Utility cost:** Clean utility down 2.6 points on average; over-blocking on 1 of 97 benign tasks
- **Utility under attack:** 35.1% without the policy, 25.8% with it
- **Zero-attack domains:** Banking, Slack and workspace had no successful attacks in any run
- **Availability:** Preview on the Gemini platform, for agents behind Agent Gateway
- **Limitation:** Adaptive attacks untested; AgentDojo's attacks are fixed
- **Published:** 23 November 2026

## Questions

### Is Semantic governance policies generally available on the Gemini platform?

No. Google describes Semantic governance policies as Preview on the Gemini platform, available for agents running behind Agent Gateway. Google recommends turning it on in dry run mode first, reviewing the verdicts in Cloud Logging, and only then switching to enforcement. The default user intent matching check is on by default once the policy is enabled.

### What does the 0.9% attack success rate on AgentDojo not cover?

Adaptive attacks sit outside the measurement. Google notes AgentDojo's attacks are fixed, and that an attack written against the policy could try to manipulate the LLM judge by disguising an injection as the user's own request. Google also cites NIST CAISI red-teaming that raised attack success against an agent from 11% to 81%, and says text-only manipulation needs separate controls.

### How much utility does Semantic governance policies cost?

Google reports clean utility on benign AgentDojo tasks fell 2.6 points on average, with individual runs ranging from a 1.0 point drop to 7.2. Over-blocking affected 1 of 97 benign tasks, roughly 1%, and most of the cost sat in Slack, where two benign tasks failed consistently. Utility under attack fell from 35.1% to 25.8%.

## Sources

1. [Google Measurements](https://developers.googleblog.com/en/did-the-user-ask-for-this-securing-ai-agents-against-intent-hijacking-with-semantic-governance-policies/)
2. [Policy Overview Docs](https://docs.cloud.google.com/gemini-enterprise-agent-platform/govern/policies/semantic-governance-overview)
3. [AgentDojo Paper](https://arxiv.org/abs/2406.13352)
