LotAGuard monitors MCP coding agents for cross-boundary OS attacks
Original title: Living-off-the-Agent: Enforcing MCP-to-Kernel Capability Boundaries
It detected all 16 Class-I AgentDojo and InjecAgent attacks with no false positives and left four Class-II semantic edits outside its envelope.
Coding agents using the Model Context Protocol spawn shells, edit files, and open sockets, so ordinary engineering resembles post-exploitation to EDR. The paper defines Living-off-the-Agent and splits Class-I cross-boundary attacks from Class-II in-envelope semantic attacks. LotAGuard is a sub-millisecond Linux eBPF and Windows Sysmon/ETW monitor using causal attribution, hunk-blame lineage, and task-level evaluation. On 100 SWE-bench Verified tasks it reported zero blocking false positives and 1% step-up prompts.
Unconfirmed: Detection figures are the authors' benchmark results, not an independent deployment evaluation.
- Class-I covers ungrounded secret reads, persistence writes, child or IPC escapes, and dormant rule triggers.
- Resident state stayed under 15 KB during a 14-day soak.
- It beat signature EDR, whole-graph provenance, and argument-only guards on open-source repositories.
- Cross-session flow gates and code-diff review remain needed for semantic evasions.
From the original article
1 min read at arxiv.orgAutonomous 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.
By Jeremy Canale · arxiv.org
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.