面向智能体安全系统的对齐契约 Alignment Contracts for Agentic Security Systems 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-04-30
⬇️ 4 次下载
👁️ 预览文献
💡 AI 中文简介
论文研究LLM智能体在安全测试中如何既保留攻击能力又不越界的问题,提出“对齐契约”框架,用形式化方法规定允许和禁止的可观测效果、资源预算与披露策略。作者给出有限轨迹语义,证明可满足性是可判定的安全属性,并实现Lean 4验证。该框架让监控器在效果层面拦截越权行为,即使模型被提示注入攻击也能保证授权范围内操作。
领域形式化方法 / 智能体安全
适合谁读需要一定专业背景(形式化方法、程序语言或安全领域知识)
核心贡献1. 提出对齐契约框架,将智能体安全边界形式化为可观测效果轨迹上的约束,并给出有限轨迹语义、细化与单向组合规则。2. 证明可接受性检查可判定,并在效果可观测假设下给出监控器实现轨迹的可靠性定理,同时用Lean 4验证核心定理。
关键数据可接受性检查可判定;在效果可观测假设下,监控器实现轨迹满足契约;Lean 4工件验证了论文使用的形式化核心定理。
推荐理由如果你关心LLM智能体做安全测试时如何防止越权,这篇论文给出了一个可证明、可实现的契约框架,值得一读。
关键词["LLM智能体", "运行时强制执行", "形式化方法", "Lean", "安全契约", "效果监控"]

原文摘要

查看英文原文摘要

Agentic security systems increasingly combine LLM planners with tools that can discover, validate, and report vulnerabilities. This creates an asymmetric control problem: the system should retain strong offensive capability inside an authorized engagement, while the same capabilities must be denied outside scope. Existing guardrails provide useful policy controls, but they do not make this boundary a first-class formal contract over observable effects. We introduce alignment contracts, a framework for specifying and enforcing behavioral constraints over observable effect traces. A contract defines scope, allowed and forbidden effects, resource budgets, and disclosure policies. We give the language finite-trace semantics, characterize satisfaction as a safety property with finite violation witnesses, develop refinement and one-way composition rules for modular contract engineering, and show that admissibility checking is decidable. We instantiate the framework for web-focused agentic security workflows and show how the same structure extends to other effect profiles. Under an explicit Effect Observability Assumption, where all $\SigmaEff$-effects are mediated, the soundness theorem quantifies over the agent model and gives guarantees for mediated $\SigmaEff$-effects, including enforcement soundness for monitor-realized traces. We also state an assumption-lifted adaptation result and formalize limits through undecidability transfer and observability-boundary theorems. A Lean 4 artifact checks the formal core theorems used by the paper.