
ユーザーはそれを頼んだのか?セマンティック・ガバナンス・ポリシーでAIエージェントをインテントハイジャックから守るDid the user ask for this? Securing AI agents against intent hijacking with Semantic governance policies
Geminiプラットフォームの Agent Gateway にプレビュー提供されるセマンティック・ガバナンス・ポリシーは、ツール呼び出しを実行前にユーザーの意図と照合します。AgentDojoで攻撃成功率を48.7%から0.9%に下げ、エージェント開発者の安全対策に役立ちます。
Semantic governance policies, in preview via Agent Gateway on the Gemini platform, check each tool call against user intent before it runs. On AgentDojo they cut attack success from 48.7% to 0.9%, helping developers harden agents.
AI 生成の要約と解説(解説は要約と収集メタデータに基づく)で、元記事全文の転載・翻訳ではありません。日本語版と英語版は言語ごとに独立して生成しています。正確性は元記事 (developers.googleblog.com) でご確認ください。AI-generated summary and explainer (the latter based on the summaries and collected metadata), not a copy or translation of the full source article. Generated independently for each language. Verify accuracy at the original source (developers.googleblog.com).
セマンティック・ガバナンス・ポリシーは、AIエージェントを間接プロンプトインジェクションやインテントハイジャックから守る仕組みとして紹介されている。エージェントが実行しようとするツール呼び出しを、ユーザーの意図に照らして確認する点が特徴だ。
ユーザーはそれを頼んだのか
このポリシーの考え方は、タイトルの問いに集約されている。エージェントが提案するツール呼び出しは、実行に移される前に、ユーザーが本当にそれを求めたのかという観点で検証される。
検証の基準は、ユーザーの意図と、自然言語で記述された制約である。提案されたツール呼び出しはすべてこの検証にかけられ、意図や制約に合致するかどうかを見たうえで実行される。
AgentDojoでの結果
効果はAgentDojoベンチマークで示されている。Gemini 2.5 Flashを用いたエージェントで試したところ、攻撃成功率は48.7%から0.9%へ下がったと説明されている。
防御を強めると、エージェントが本来の仕事までこなせなくなる懸念がある。この検証では、高いタスク有用性が保たれたとされている。攻撃成功率の低下と、正当なタスクの遂行の両立が示された点が要となる。
Agent Gatewayでプレビュー
開発者は、Geminiプラットフォーム上のAgent Gatewayを通じて、このポリシーをプレビューとして利用できる。想定されている用途は、ツールを使うワークフローの保護である。
エージェントがツールを呼び出す場面では、外部から紛れ込んだ指示によって本来の意図から外れた操作が提案される恐れがある。実行直前にユーザーの意図との整合を確かめる層を置くのが、このポリシーの役割だ。提供はプレビュー段階であり、エージェント開発者にとっては安全対策を強化する選択肢の一つとなる。
Did the User Ask for That?
Semantic governance policies are a way to protect AI agents from indirect prompt injection and intent hijacking. The mechanism matters because it targets a specific risk: an agent carrying out tool calls that the user never actually asked for.
The source describes the approach as validating every proposed tool call against the user's intent and against natural language constraints before the call is executed. In other words, the check happens at the point where the agent is about to act, not after the action has taken place.
Checking Tool Calls Before Execution
According to the source, the policies sit in front of tool use. Each tool call the agent proposes is compared with what the user wanted and with constraints written in natural language. A call that does not fit those expectations can be caught before it runs.
The two threats named are indirect prompt injection and intent hijacking. Both involve an agent being steered away from the user's goal, and the policy framing of "Did the user ask for that?" reflects the question being asked of each proposed action.
Results on AgentDojo
The source reports results from the AgentDojo benchmark, using an agent built on Gemini 2.5 Flash. In that demonstration, the mechanism reduced the attack success rate from 48.7% to 0.9%. The source also states that the approach maintained high task utility, meaning the agent remained useful for legitimate tasks while the attacks were blocked.
These figures come from the benchmark demonstration described by the source, and the summary offers no further breakdown of the test conditions.
Availability in Agent Gateway
Developers can use semantic governance policies in preview within the Gemini platform through Agent Gateway. The announcement positions this as a way to secure tool-use workflows, giving agent developers a safeguard that works by comparing proposed actions with user intent before they are carried out.
Because the feature is in preview, the source presents it as an early-access option rather than a finished release.
ポコとTECHガイドPoko & TECH Guide
ポコと当サイトのTECHガイドが、記事の要約と収集した情報から読みどころを語るAI生成の対話です。Poko and TECH Dashboard's own TECH Guide discuss the article's highlights in an AI-generated conversation based on its summary and collected source details.
- ポコPoko「インテントハイジャック」って何? エージェントが、頼んでいないことをやっちゃうってこと?What's "intent hijacking"? Does it mean the agent ends up doing things the user never asked for?
- TECHガイドTECH Guideこの記事では、間接的なプロンプトインジェクションと並べて守る対象になっています。ツール呼び出しを実行前にユーザーの意図と照合する仕組みです。The article puts it alongside indirect prompt injection as something to defend against. The fix checks each tool call against the user's intent before it runs.
- ポコPokoじゃあ、エージェントを作る開発者さんが、その確認を使えるようになるってこと?So developers building agents can use that check, right?
- TECHガイドTECH Guideそうです。Geminiプラットフォームの Agent Gateway 経由で、プレビューとして使えます。自然言語の制約も照合に使うと書かれています。Yes, it's in preview through Agent Gateway on the Gemini platform. The article says natural language constraints are used in the check too.
- ポコPokoAgentDojoで攻撃成功率が48.7%から0.9%に下がったんだね。しかも使いやすさも保てたんだ。On AgentDojo, attack success dropped from 48.7% to 0.9%. And it still stayed useful for tasks?
- TECHガイドTECH Guideはい、タスクの有用性は高いままと書かれています。ただ、この数字はGemini 2.5 Flashのエージェントでの結果で、まだプレビュー段階です。Right, the article says task utility stayed high. But that result comes from a Gemini 2.5 Flash agent, and the feature is still in preview.
匿名の公開いいねです。記事の保存・お気に入りではなく、Featured、Top 3、重要度、掲載順位には影響しません。仕組みとプライバシーAnonymous public likes are reactions, not saved articles or bookmarks. They do not affect Featured, Top 3, importance, or listing order.How it works and privacy



