arXiv 论文提出 LotAGuard:为 MCP 编码智能体建立操作系统层能力边界
Living-off-the-Agent: Enforcing MCP-to-Kernel Capability Boundaries
AI 导读
Jeremy Canale 与 Fabien Soulis 在 arXiv 发布论文,形式化定义了 Living-off-the-Agent(LotA)攻击,并将其分为 OS 与协议层可观测的 Class-I 跨边界攻击和授权范围内的 Class-II 语义攻击。
正文 · 原文
Abstract: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 (this http URL, .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.
| Comments: | 51 pages, 16 figures, 25 tables, 5 listings. Evaluated on Linux eBPF and Windows Sysmon/ETW across SWE-bench Verified, AgentDojo, InjecAgent, real open-source repositories, PID-recycling, and 14-day soak suites. Code and artifacts: this https URL , USENIX Security 2027 target |
| Subjects: | Cryptography and Security (cs.CR); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2612.03557 [cs.CR] |
| (or arXiv:2612.03557v1 [cs.CR] for this version) | |
| https://doi.org/10.48550/arXiv.2612.03557 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Jeremy Canale [view email]
[v1]
Wed, 2 Dec 2026 10:11:34 UTC (1,311 KB)
来源:arXiv cs.AI · arxiv.org