arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.22868cs.CRcs.AI
收藏

Agent-Sentry: 通过执行溯源界定了LLM代理

Agent-Sentry: Bounding LLM Agents via Execution Provenance

University of Southern California(南加州大学);Washington University in St. Louis(圣路易斯华盛顿大学)

Rohan Sequeira, Stavros Damianakis, Umar Iqbal, Konstantinos Psounis

AI总结:

本文提出Agent Sentry,通过学习代理良性执行的边界来检测恶意行为,有效阻止注入攻击,同时允许良性执行。

摘要:

尽管代理计算系统功能强大,但其安全、隐私和安全性问题严重。关键挑战在于系统提供的完整功能和概率执行流在事先未知。鉴于缺乏特征化,验证系统是否成功执行用户任务或执行无关操作(可能是由于被入侵)极具挑战性。我们提出了Agent Sentry,一种运行时防御机制,通过先前合法执行学习代理良性执行的边界,并标记任何超出该边界的行动。Agent Sentry包含三个互补检查:对动作序列和每个函数参数溯源的结构分类器;对敏感参数值的确定性允许列表检查;以及一个LLM判断器,仅在前两个检查无法安全区分合法新请求和精心设计的注入时被调用。我们在AgentDojo和AgentDyn上展示了Agent Sentry的有效性,成功阻止了94.3%的注入攻击,同时允许95.1%的良性执行,无需修改代理、其工具或LLM。

英文摘要:

Agentic computing systems, while immensely capable, raise serious security, privacy, and safety concerns. A key issue is that the full set of functionalities offered by these systems, combined with their probabilistic execution flows, is not known beforehand. Given this lack of characterization, it is challenging to validate whether a system has successfully carried out the user's intended task or instead executed irrelevant actions, potentially as a consequence of compromise. We present \emph{Agent Sentry}, a runtime defense that learns a bound on an agent's benign execution from prior legitimate executions and flags any action that falls outside this bound. Agent Sentry layers three complementary checks: a structural classifier over the sequence of actions and the provenance of each function's arguments; a deterministic allowlist check over sensitive argument values; and an LLM judge, invoked only on the residual of actions where the first two checks cannot safely decide between a legitimate new request and a carefully crafted injection. We demonstrate the effectiveness of Agent Sentry in AgentDojo and AgentDyn by blocking 94.3\% of successful injections while allowing 95.1\% of benign executions, without modifying the agent, its tools, or the LLM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑