LotAGuard 在 MCP 智能体与操作系统内核间强制能力边界
Living-off-the-Agent: Enforcing MCP-to-Kernel Capability Boundaries
编码智能体跑 shell、改配置这些操作在 EDR 眼里跟入侵没区别,这篇论文做了一个亚毫秒级监控器来区分两者。在 AgentDojo 上 16 个跨边界攻击全检出、零误报,比签名式 EDR 和全图溯源都强。给智能体配系统权限的工程团队值得看看它怎么定义监控边界。
arXiv 论文 2612.03557 提出 LotAGuard,一个面向 MCP 智能体的跨层运行时监控器,形式化了 Living-off-the-Agent(LotA)攻击模型,并将其区分为 Class-I 跨边界攻击(如无依据的密钥读取、持久化写入、异步子进程逃逸)和 Class-II 包络内语义攻击(授权文件中的逻辑缺陷)。
系统基于 Linux eBPF 与 Windows Sysmon/ETW 实现,核心机制包括:将 MCP 工具调用归因到操作系统进程树的因果链路追踪(可应对 PID 回收与数周运行的场景)、对 CLAUDE.md 和 .
cursorrules 等持久规则文件的差异级血缘追踪,以及任务级评估方法。在 AgentDojo 和 InjecAgent 基准上,LotAGuard 检出全部 16 个 Class-I 攻击且零误报;
在 100 个 SWE-bench Verified 任务中,拦截误报为零、仅 1% 步骤触发二次确认,14 天驻留内存状态低于 15 KB。作者指出其设计边界:Class-II 语义类编辑(0/4 检出)刻意不在 OS 层监控范围内,仍需跨会话流控和代码 diff 审查来应对自适应语义逃逸。
对于给编码智能体配置系统权限的团队,论文给出了在 EDR 告警与智能体正常操作之间划清界限的可落地框架。
Living-off-the-Agent: Enforcing MCP-to-Kernel Capability Boundaries
Autonomous coding agents connected via the Model Context Protocol (MCP) routinely spawn shells, run test suites, edit configuration files, and open network sockets, making normal software engineering look like post-exploitation activity to Endpoint Detection and Response (EDR) tools. We formalize Living-off-the-Agent (LotA) compromises and establish a clear boundary between Class-I cross-boundary attacks (ungrounded secret reads, persistence writes, asynchronous child or IPC escapes, and dormant rule triggers observable at the OS and protocol layers) and Class-II in-envelope semantic attacks (logic bugs in authorized files and data piggybacking over approved endpoints). We present LotAGuard, a sub-millisecond cross-layer runtime monitor for Linux eBPF and Windows Sysmon/ETW built around three mechanisms: (1) incarnation-safe, memory-bounded causal attribution linking MCP tool calls to OS process trees across post-response escapes, rapid PID recycling, deferred server tasks, and multi-week uptime, paired with rarity-weighted contracts and three-tier dispositions; (2) hunk-blame differential lineage tracking persistent rule files (CLAUDE.md, .cursorrules) without taint explosion; and (3) task-level evaluation avoiding paired-OS pseudo-replication. Across verbatim AgentDojo and InjecAgent benchmarks, LotAGuard detects all Class-I attacks (16/16) with zero false positives while leaving Class-II semantic edits (0/4) outside its OS envelope by design. Across 100 SWE-bench Verified engineering tasks, LotAGuard incurs zero blocking false positives and 1% step-up prompts, keeps resident state under 15 KB over a 14-day soak, and substantially outperforms signature EDR, whole-graph provenance, and argument-only guards on real open-source repositories, while delineating where cross-session flow gates and code-diff review are required for adaptive semantic evasions.
本条情报归属 AITOP「论文」核心追踪栏目。在跨区域产业观察坐标中,该动态直接关联「AI 开发者工具链、Coding Agent 与工程化实践」研究主线,反映出当前技术演进与商业落地的最新风向。涉及核心实体与技术议题包括:MCP、LotAGuard、eBPF、AgentDojo,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。
信源核验说明:本文原始线索采编自「arXiv cs.AI」(@Jeremy Canale, Fabien Soulis),经 AITOP 多维评分管线结构化提炼。