Tether:面向AI Agent系统级监控的可验证状态化策略引擎
Tether: Verified Stateful Policy Engine for System-Level Monitoring of Agents
Tether 是一个对 AI Agent 动作副作用执行状态化安全策略的运行时框架,先在临时隔离沙箱中运行每个待执行动作,从系统调用推断抽象动作语义,再据此执行策略。策略与动作语义用 Lean 4 内嵌 DSL 定义,可表达信息流控制、访问控制与网络安全策略,并支持形式化验证全局安全不变量。在真实编码 Agent 基准测试中,单一策略跨全部任务阻断 100% 范围内攻击,良性误报率低于 5%。
arXiv:2611.25599v1 Announce Type: cross Abstract: Autonomous AI agents are increasingly deployed for long-running tasks that execute arbitrary shell commands or programs. However, these actions can result in unauthorized network requests or persistent, malicious changes to the user's file system, processes, or privileges. Existing defense mechanisms rely on either LLM-based monitors, which lack provable safety guarantees, or stateless policy enforcement layers, which miss multi-step data flows and execution side-effects unmodeled by the policy language (e.g., network calls initiated inside a Python script). We introduce Tether, a framework for runtime enforcement of stateful security policies over the observed side-effects of an agent's actions. Tether executes each proposed action in an ephemeral, isolated sandbox, inferring abstract action semantics from observed system calls. Tether then enforces stateful policies over these inferred semantics, permitting actions to proceed only if they comply with the policy. Policies and action semantics are defined in an embedded DSL in Lean 4 capable of expressing diverse constraints, including information flow control (IFC), access control, and network security policies. Because actions can propagate labels from sources to destinations, a single rule can enforce fine-grained IFC policies across multi-step execution flows of arbitrary length. Expressing policies in Lean enables formal verification that they satisfy global security invariants (e.g., preventing network access after reading a sensitive file). We evaluate Tether on realistic coding-agent benchmarks across both benign and adversarial trajectories. With a single policy shared across all tasks, Tether blocks 100% of in-scope attacks while maintaining a benign false-positive rate under 5%.
来源:arXiv (AI + Vision + Imaging) · arxiv.org