iCreatAI News
Skip to content
Google Developers Blog·· 20 hr agoFeaturedAI score65

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

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

AI summary

This post describes Semantic governance policies, which check each tool call an agent proposes against the user's request and natural-language policies before it runs, treating tool results and files as data rather than instructions. On the AgentDojo benchmark with a gemini-2.5-flash agent, the default user intent matching check cut attack success rate from 48.7% to 0.9% at a cost of 2.6 percentage points of utility on benign tasks, and none of the 929 attacks requiring a tool call succeeded across six runs. The authors note limitations, including that the judge's separation of trusted and untrusted content is enforced by instruction rather than a hard boundary, and that AgentDojo's fixed attacks were not adapted to the defense.

Why it matters

It offers concrete benchmark numbers and an explicit limitations section for a defense against indirect prompt injection in tool-using agents.

Source: Google Developers Blog · developers.googleblog.com