guardscope (11 November 2026) maps 15 agent action paths to eight control placements; five bypass every control below the kernel. Inventory channels with must-deny probes.
A gateway that saw every tool call and missed the export
Geetha's refund agent at Belgavi's Book Store sits behind an agent gateway. Every call to the refund tool goes through it, the gateway checks the call against policy, and its logs show a clean record of allowed and denied refunds. The agent also has a shell tool that runs an export script, and that script calls a courier API with curl. None of that crosses the gateway. The logs are accurate about everything they saw and silent about everything they did not.
A paper posted on 11 November 2026 turns this observation into a measurement. Kentaroh Toyoda, Alex Leung and Bhuvaneswari U present guardscope (arXiv 2611.15223v1, code under Apache-2.0 at github.com/VulcanLab/guardscope), which starts from one sentence: "a control can only evaluate the actions that cross the point where it is placed, and an agent can act through more paths than the tool-call channel". It enumerates those paths, places controls in eight typical positions, and classifies every executed action as checked, bypassed or prevented against kernel-level ground truth.
Fifteen paths
The paper's basis lists 15 action paths in nine families. Paraphrasing its table:
| Path | Name | Example |
|---|---|---|
| P1 | In-process tool execution | a function tool whose effect stays in memory |
| P2 | Direct-origin operations | a built-in tool that reads or writes files itself |
| P3 | Subprocess execution | a shell, interpreter or executable launched by a tool |
| P4 | Direct network egress | curl, a cloud SDK or a raw socket, not a tool-server call |
| P5 | Local-intermediary routing | a loopback HTTP helper or a Unix-socket database |
| P6 | HTTP tool-server call | a Streamable HTTP MCP call through a gateway |
| P7 | Stdio tool-server call | a child MCP server over stdin and stdout |
| P8 | Local-IPC tool-server call | the same over a Unix socket or named pipe |
| P9 | Wrapped invocation | an in-process tool that itself calls a tool server |
| P10 | Agent delegation | a sub-agent with a shared or independent dispatcher |
| P11 | Daemon or scheduler submission | crontab, a systemd unit, the Docker socket |
| P12 | Background processes | a process that outlives the tool call, such as nohup |
| P13 | Dispatch-free output consumption | a harness that parses model output into edits with no tool call |
| P14 | Non-tool protocol operation | MCP resources or prompts over the tool transport |
| P15 | Reverse protocol interaction | a tool server calling back into the harness, such as sampling |
Eight placements and what each sees
The designs run from no control (T0), through gateways in front of the harness (T1 to T3, which differ in whether direct egress is forced through the gateway and whether local transports are routed through it), to controls inside the harness (T4 the harness's own permission chain, T5 that chain plus a gateway, T6 a declarative policy engine at the dispatch hook), to the operating-system kernel (T7).
The derived coverage is the useful part for architecture work:
- A plain gateway (T1) checks only P6, HTTP tool-server calls. Routing local transports through it (T3) adds P7 and P8, and forced egress (T2, T3) prevents P4 rather than checking it.
- Harness-native and in-process controls (T4 to T6) check actions that go through the harness dispatcher, but not direct-origin operations (P2) or processes that outlive the invocation (P12). T4 checks five paths and can inspect tool names, arguments and session context.
- The kernel position (T7) can observe everything except in-process tool execution (P1), but only as syscall-level features such as file paths and endpoints, without tool or session identity, and mixed with unrelated processes.
- Five paths, P2, P5, P11, P12 and P15, bypass every design below the kernel. No combination of gateways and harness controls closes them.
The evaluation realized the designs with real controls: the enforcement module of Microsoft's agent governance toolkit as the gateway control, agentgateway as a second gateway at T1, the Pi harness's own permission chain and in-process policy engine, and ActPlane at the kernel, with a Tracee eBPF sensor as ground truth. The workload of 15 action instances exercised four paths (P2, P4, P6 and P7), so the remaining cells rest on the design analysis. The runs confirmed the derived outcomes for those classes. Even with both tool-call classes mediated at T5, eight actions in the direct-network, process-spawn, file-write and credential-access classes took effect without any policy evaluation in every run. At the kernel, the deployed ActPlane hooks checked seven actions, allowing six and denying one, while eight bypassed it, including all seven tool-call actions, and a UDP send bypassed it through a documented hook gap: a position's theoretical coverage is not a deployed control's coverage.
A readiness gate before you trust a result
One detail of the method is worth copying directly. Before a measurement window opens, the guardscope runner issues one action the loaded policy must deny, and proceeds only when the enforcement point refuses it and its deny record appears in the collected stream. The paper's phrasing: "A started container is not a ready one". Without that probe, a control that failed to load produces a run full of "bypassed" results that look like findings, or worse, a quiet run that looks like compliance.
Do the inventory for your own agent
The companion example applies the method to a synthetic version of Geetha's refund agent. For each channel the agent really uses, record the path, the controls it crosses, and the result of a must-deny probe per control:
CHANNELS = [
{'channel': 'refund tool over the MCP HTTP gateway', 'path': 'P6', 'crosses': ['gateway', 'harness_permissions']},
{'channel': 'local stdio MCP server for the order database', 'path': 'P7', 'crosses': ['harness_permissions']},
{'channel': 'export script run through the shell tool', 'path': 'P3', 'crosses': ['harness_permissions']},
{'channel': 'curl to the courier API from inside the export script', 'path': 'P4', 'crosses': []},
{'channel': 'built-in file write tool for the daily report', 'path': 'P2', 'crosses': []},
{'channel': 'nohup resend job left running after the turn', 'path': 'P12', 'crosses': []},
{'channel': "crontab entry written for tomorrow's retry", 'path': 'P11', 'crosses': []},
{'channel': 'email connector called by the export script on localhost', 'path': 'P5', 'crosses': []},
]
PROBES = {'gateway': (True, True), 'harness_permissions': (True, True), 'egress_filter': (True, False)}
def ready(control):
refused, recorded = PROBES.get(control, (False, False))
return refused and recordedThree of the eight channels are checked: the two tool-server calls and the shell invocation, all at dispatch. Five are bypassed. Adding a host egress filter moves the courier call to prevented, but its probe was refused without leaving a deny record, so the example lists it as unverified: you know the probe failed, not why.
The output is a short table that belongs in the agent's design review. Each bypassed row needs either a control placed where that channel crosses, a change that routes the channel through an existing control, or a written acceptance of the risk.
Closing the common gaps
- Subprocess egress (P3 then P4). Run tool subprocesses in a sandbox with no network, or force egress through a proxy that enforces an allowlist and logs.
- Direct-origin file writes (P2). Constrain built-in file tools to a workspace directory at the harness level, and watch the rest with a file integrity or kernel monitor.
- Background and scheduled work (P11, P12). Deny
nohup,setsidand background operators in shell rules, remove write access to crontab and the Docker socket, and kill the process group when the tool call ends. - Local intermediaries (P5). Treat a loopback helper as a tool server: either route it through the gateway or remove it.
- Reverse calls (P15). If your MCP client supports server-initiated sampling or elicitation, decide explicitly whether to allow it per server.
What stays deterministic
The inventory, the probe results and the coverage table are plain data you can check into the repository next to the agent's configuration and recompute in CI when tools change. The agent's choices are not part of it; the inventory describes what the agent can reach, not what it intends.
Failure modes
- Counting a control as coverage because it is configured, without a must-deny probe and a record.
- Forgetting channels that tools open on their own, such as a cloud SDK inside a "read-only" tool.
- Treating kernel monitoring as a policy decision point when it only observes; detection after the fact is not prevention.
- Updating tools without updating the inventory.
Limits
The 15-path basis was developed by the authors, with review by two AI models as they describe, and validated empirically for four paths. The companion records probe results by hand; it does not inspect a system. Apply the method to your own deployment before relying on any row.