← News

Agents & MCPSources: arXiv · 3 Dec 2026

LotAGuard monitors coding agents at the OS layer to catch cross-boundary attacks

A research paper formalizes Living-off-the-Agent compromises in MCP-connected coding agents and introduces a runtime monitor that links tool calls to operating-system activity, reporting strong detection on standard benchmarks.

In plain words

Coding agents that use the Model Context Protocol can run shells, edit files and open network connections, which looks similar to a break-in to security tools. The paper's authors propose LotAGuard, a monitor that ties each agent tool call to operating-system processes and flags suspicious cross-boundary actions. In their benchmarks it caught all tested cross-boundary attacks without false alarms, while semantic attacks inside approved files remain out of scope.

What was announced

The arXiv paper argues that autonomous coding agents connected via MCP routinely spawn shells, run tests, edit configuration files and open sockets, so ordinary software engineering can resemble post-exploitation activity to EDR tools. The authors formalize Living-off-the-Agent (LotA) compromises, separating Class-I cross-boundary attacks, such as ungrounded secret reads, persistence writes and child-process escapes observable at the OS and protocol layers, from Class-II in-envelope semantic attacks, meaning logic bugs in authorized files or data piggybacking over approved endpoints.

LotAGuard is described as a sub-millisecond runtime monitor for Linux eBPF and Windows Sysmon/ETW that attributes MCP tool calls to OS process trees, even across rapid PID recycling and long uptimes, and tracks changes to persistent rule files. The authors report that it detected all 16 Class-I attacks with zero false positives on verbatim AgentDojo and InjecAgent benchmarks, while the four Class-II semantic edits fell outside its envelope by design. On 100 SWE-bench Verified tasks it recorded no blocking false positives, 1% step-up prompts and under 15 KB resident state over a 14-day soak. These are the authors' own results and have not been independently confirmed.

What it does not show

  • Evidence is limited to the paper's abstract; the full methodology and results have not been reviewed.
  • All detection figures come from the authors' own benchmark runs and do not constitute independent confirmation.
  • The monitor by design does not cover Class-II semantic attacks inside authorized files, and the authors note where cross-session flow gates and code-diff review are still required.

For security and IT teams

Scope
LotAGuard targets Class-I cross-boundary attacks observable at the OS and protocol layers; Class-II semantic edits within authorized files are explicitly outside its envelope.

Sources

Source-support review completed 3 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.

Coverage: arXiv: abstract.

Updates and corrections

No corrections so far.

First published 3 Dec 2026

New to the subject? AI from the Ground Up starts from the beginning.