论文

IntentFlow:面向工具调用 LLM Agent 的意图条件参数拦截层

Intent-Conditioned Argument Mediation for Tool-Using LLM Agents: Blocking Trusted-but-Unauthorized Arguments

精选理由

做 Agent 工具调用安全的人该看看这篇。它盯住一个盲区:参数来源可信但用户根本没授权,provenance 方案 50 个这种攻击全放行,IntentFlow 全拦住,还几乎不误伤正常任务,比 CaMeL 少误拒很多良性请求。自己搭 agent 的话可以直接对照它的设计。

IntentFlow 是部署在 planner 与工具之间的参数拦截层,针对一类被既有方法忽视的攻击:参数来自可信来源、但用户从未授权使用。它对每个携带权限的参数同时校验意图契约与来源策略,不要求修改原 planner。

正文

基准数据方面,在包含 200 次攻击的合成基准上,攻击成功率从仅用来源校验(provenance)时的 50.5% 降至 12.0%(置信区间 8.2–17.2%);在 50 次 trusted-but-unauthorized 攻击中,仅来源校验全部放行,IntentFlow 全部拦截。误拦方面,200 个配对良性任务零误拦,50 个困难任务误拦 4 个。对比方案上,CaMeL 风格检查同样拦截全部 50 次攻击但误拒 50 个良性任务中的 16 个;在 AgentDojo 衍生的离线回放中,IntentFlow 拦截全部 20 次攻击并保持 75% 良性成功率;接入真实 planner 的 110 次攻击中,它拦截了全部 17 个被污染的调用。

对构建工具型 Agent 的开发者而言,这项工作说明仅凭内容来源判断不足以防止权限滥用,需要把用户意图显式编码为可校验契约,CaMeL 的强安全性与可用性之间的折中也可参考此方案。

原文 · arXiv cs.AI

Intent-Conditioned Argument Mediation for Tool-Using LLM Agents: Blocking Trusted-but-Unauthorized Arguments

LLM agents turn a user's request and retrieved content into tool calls, and a call can reach the wrong recipient, endpoint, file or participant. Argument-level provenance blocks such values when they come from untrusted content, but accepts a trusted value that the user never requested. IntentFlow, a mediation layer between an unmodified planner and its tools, checks each authority-bearing argument against an intent contract and a provenance policy. On a synthetic benchmark of 200 attacks (oracle intent and injection labels, declared roles), attack success falls from 50.5% with provenance alone to 12.0% [8.2-17.2%]; every remaining success alters a content or payload field. IntentFlow wrongly blocks none of 200 paired benign tasks and 4 of 50 hard ones. On 50 trusted-but-unauthorized attacks, provenance-only mediation executes all 50 and IntentFlow none; a CaMeL-style check also blocks all 50 but rejects 16 of 50 benign tasks. On an offline AgentDojo-derived replay, IntentFlow blocks all 20 attacks at 75% benign success, as does a CaMeL-style check; a Progent-style allowlist blocks 19 and keeps all benign tasks. With one live planner and the same oracles, the mediator blocked all 17 corrupted calls proposed in 110 attacks.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:IntentFlow、LLM Agent、提示词注入、AI安全,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Yulliwas Ameur, Miqeas Pedro Mendes, Samia Bouzefrane),经 AITOP 多维评分管线结构化提炼。