AI Cloud Architect

Did the user ask for this? Securing AI agents against intent hijacking with Semantic governance policies

GoogleBlog post by Ritika Nigam, Deepti Sehrawat and Pranav BhagwatGoogle Developers Blog

Semantic governance policies protect AI agents from indirect prompt injection and intent hijacking by validating every proposed tool call against user intent and natural language constraints before execution. As demonstrated on the AgentDojo benchmark using a Gemini 2.5 Flash agent, this mechanism reduced attack success rates from 48.7% to 0.9% while maintaining high task utility. Developers can leverage these policies in preview within the Gemini platform via Agent Gateway to secure tool-use…

Read the original (opens the source's page in a new tab)

AI: Summary

What it is

Semantic governance policies check each agent tool call against user intent before it runs, cutting attack success on AgentDojo from 48.7% to 0.9% in Google's tests.

Who it is for

Teams building agents on Gemini via Agent Gateway that read untrusted content such as documents, web pages or messages.

Key points

  • Google reports 2.6 percentage points lower utility on benign tasks; Gemini 2.5 Flash agent, six runs averaged.
  • Preview in Gemini platform; dry run mode is available before enforcement.
  • Text-only manipulation of responses is not covered and needs other controls such as response filtering.

The same at other vendors

Timeline

  1. Explained inBuild zero-trust AI agents that judge intent, not just syntax · Google · How-to
  2. Same storyCheck what your AI agents do before they do it, with Semantic governance policies · Google · Blog post
  3. This postDid the user ask for this? Securing AI agents against intent hijacking with Semantic governance policies

Go deeper