用eBPF和可信通道保护多云代理通信,无需改代码。
Grimlock: Guarding High-Agency Systems with eBPF and Attested Channels
- 用eBPF拦截流量,强制通过安全守护进程
- 建立后生成短时效、绑定通道的权限令牌
- 支持跨云代理通信审计,适合高自主系统
智能代理系统越来越多地运行用户编写的编排代码,调用工具、分发子任务并在多机和多云间委派工作。这种高自主性虽高效,却带来安全挑战:身份、授权、溯源与委托常被推给应用层代码,导致难以统一执行和审计。我们提出Grimlock,一种代理防护机制,通过将信任验证移至沙箱底层,保持代理代码不变。Grimlock利用eBPF强制流量拦截,确保沙箱通信必经守护进程,并结合握手后基于标准TLS 1.3通道绑定的可信证明。通道建立后,守护进程授权通信并生成短期、绑定通道的权限令牌,实现最小权限委派。接收端守护进程重新验证身份、权限与通道绑定,终止TLS,仅在策略检查通过后才释放明文给目标沙箱。kTLS为受保护通信提供高效数据平面。结果表明,Grimlock实现了跨异构多云环境的透明、可审计、作用域绑定的代理间通信,仅使用通用Linux原语,无需修改用户层编排代码。
原文摘要 · Abstract (English)
Agentic systems increasingly run user-authored orchestration code that invokes tools, spawns subtasks, and delegates work across machines and clouds. Although this high agency is productive, it creates a security problem: identity, authorization, provenance, and delegation are often pushed into application code, where they become difficult to enforce consistently and difficult to audit. We present Grimlock, an Agent Guard that restores separation of concerns by moving trust enforcement into the sandbox substrate while leaving agent code unchanged. Grimlock uses eBPF-enforced traffic interception to ensure that sandbox communication passes through a guard, and combines it with post-handshake attestation bound to standard TLS~1.3 channel bindings. After a channel is established, the guard authorizes communication and mints short-lived, channel-bound scope tokens that capture least-privilege delegation. At the receiving side, the destination guard re-validates identity, scope, and channel binding, terminates TLS, and releases plaintext to the destination sandbox only after policy checks succeed. kTLS provides an efficient dataplane for protected communication. As a result, Grimlock offers a path toward transparent, auditable, and scope-bound agent-to-agent communication across heterogeneous multi-cloud environments, using commodity Linux primitives and without requiring changes to user-layer orchestration code.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。