arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.06000cs.CR
收藏

语言模型代理的上下文到执行完整性

Context-to-Execution Integrity for LLM Agents

International University of La Rioja(洛格罗尼奥国际大学)

Igor Santos-Grueiro

AI总结:

研究语言模型代理执行中的上下文到执行完整性问题,提出CXI系统,通过策略标记、类型化释放等机制保障安全执行,经多方面评估,在AgentDojo和代码代理基准测试等中取得良好效果,确保权限绑定才允许执行。

摘要:

语言模型代理读取攻击者可写的上下文来解决任务。工具执行需要对受保护的下沉字段、下沉解释的有效载荷和调用事件进行单独的权限检查。上下文到执行完整性(CXI)是针对此设置的执行边界系统。策略标记受保护的下沉字段,类型化释放将经过狭义验证的值从可写上下文传递到特定目的地,不透明数据插槽将证据保留为数据,确定性门只有在字段权限、精确效果授权和调用权限都绑定到同一操作清单后才允许调用。我们在开放权重字段投影运行、AgentDojo实时剧集、代码代理精确效果基准测试、清单绑定账本故障、提案压力控制以及托管/API兼容性跟踪等方面评估了CXI。AgentDojo涵盖720个实时剧集和1739次语言模型调用;代码代理基准测试涵盖400个具有精确效果授权和租赁绑定执行的存储库剧集,产生231个安全任务完成,且未观察到字段、效果或调用逃逸。会计报告将解析结果、授权结果和任务质量结果与准入完整性结果一起呈现。在评估的下沉方面,CXI只有在字段、效果和调用权限绑定到同一操作清单时才允许执行。

英文摘要:

Language-model agents read attacker-writable context to solve tasks. Tool execution needs a separate authority check for protected sink fields, sink-interpreted payloads, and the invocation event. Context-to-Execution Integrity (CXI) is an execution-boundary system for this setting. Policies mark protected sink fields, typed releases carry narrow validated values from writable context to specific destinations, opaque data slots keep evidence as data, and a deterministic gate admits a call only after field authority, exact-effect authorization, and invocation authority all bind to the same action manifest. We evaluate CXI on open-weight field-projection runs, AgentDojo live episodes, a code-agent exact-effect benchmark, manifest-bound ledger faults, proposal-pressure controls, and hosted/API compatibility traces. AgentDojo covers 720 live episodes and 1,739 LLM calls; the code-agent benchmark covers 400 repository episodes with exact-effect authorization and lease-bound execution, yielding 231 safe task completions and zero observed field, effect, or invocation escapes. The accounting reports parser outcomes, authorization outcomes, and task-quality outcomes together with the admission-integrity result. Across the evaluated sinks, CXI admits execution only when field, effect, and invocation authority bind to the same action manifest.

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

↑