---
title: 'guardscope: Measuring Which Actions Runtime Controls Check in LLM Agent Systems'
authors: ['Kentaroh Toyoda', 'Alex Leung', 'Bhuvaneswari U']
date: 2026-11-13
categories: ['cs.AI']
tags: ['multi_agent', 'ai_methodology', 'system_design', 'research_practice']
source_id: '2611.15223'
source_url: 'https://arxiv.org/abs/2611.15223'
description: 'Large-language model (LLM) agents execute actions on external systems through tool calls, and enterprises deploy runtime controls, such as agent gateways, to check this behavior in real time...'
keywords: ['cs.AI', 'guardscope', 'Measuring', 'Actions']
canonical: 'https://dailyreading.cc/records/arxiv_2611.15223'
---
# guardscope: Measuring Which Actions Runtime Controls Check in LLM Agent Systems

Kentaroh Toyoda Vulcan Research, AIFT, Singapore Keio University Global Research Institute, Japan [kentaroh.toyoda@aift.io](mailto:kentaroh.toyoda@aift.io)
Alex Leung Vulcan Research, AIFT, Singapore [alex.leung@aift.io](mailto:alex.leung@aift.io)
Bhuvaneswari U Standard Chartered, India [bhuvaneswari.1@sc.com](mailto:bhuvaneswari.1@sc.com)
#### Abstract
Large-language model (LLM) agents execute actions on external systems through tool calls, and enterprises deploy runtime controls, such as agent gateways, to check this behavior in real time. However, 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; no existing work measures this coverage against kernel-level ground truth. In this paper, we present guardscope, a framework that makes this coverage measurable. guardscope works in two stages: a static stage that predicts which of an agent's 15 action paths a control can check from its source, and an empirical stage that runs a fixed workload on a deployment that realizes one of eight topology designs and classifies every executed action as checked, bypassed, or prevented by reconciling the control's decision records against kernel-level ground truth. guardscope makes a control's coverage claim verifiable: a runtime control developer can publish which paths its product inspects under a kernel-verified protocol. We conducted experiments with two agent harnesses and real runtime controls, including Microsoft's agent governance toolkit and agentgateway. guardscope is available at [https://github.com/VulcanLab/guardscope.](https://github.com/VulcanLab/guardscope)
#### CCS Concepts
• Security and privacy → Security policies; • Computing methodologies → Artificial intelligence.
## Keywords
LLM agents, runtime enforcement, security, measurement
## 1 Introduction
Large-language model (LLM) agents execute actions on external systems through tool calls, and enterprises deploy them for work that touches internal data and services. An enterprise AI system must follow the enterprise's security and compliance policies, the same as any other enterprise system. Therefore, a growing ecosystem of runtime controls checks agent behavior in real time.
These controls occupy different positions in the system. Agent gateways, such as agentgateway [1](#page-9-0), Envoy AI Gateway [5](#page-9-1), and Microsoft's Agent Governance Toolkit (AGT) [35](#page-10-0), interpose a check on the traffic between the harness and its tool servers. Guardrail engines, such as NeMo Guardrails [42](#page-10-1) and LlamaFirewall [18](#page-9-2), screen
model inputs and outputs against content and safety policies. Monitoring tools, such as AgentSight [52](#page-10-2) and Tetragon [15](#page-9-3), observe agent behavior from outside the agent process. Policy engines, such as Progent [44](#page-10-3) and ActPlane [53](#page-10-4), decide whether a concrete action may execute.
However, a runtime control can only evaluate the actions that cross the point where it is placed. A gateway in front of the harness sees tool requests with full semantic detail, but the same harness can spawn tool servers as local child processes, and agent code can open network connections directly, so actions can take effect without crossing the gateway. Kernel-level monitoring with extended Berkeley Packet Filter (eBPF) observes nearly every action of the agent process tree, yet its records carry no payload content and mix in processes unrelated to the agent. Consequently, a control's placement determines both which actions it can check and what information it can inspect, but no existing work measures this placement-driven coverage of deployed controls against kernel-level ground truth.
In this paper, we make this relationship measurable. We enumerate 15 action paths that span the routes a model's decision can travel from the harness runtime to its effect, and we identify eight topology designs that span the enforcement positions used in practice, from a gateway in front of the harness to enforcement inside the harness process and in the operating-system kernel. For each pair of path and design, we derive whether the design checks the path. We then present guardscope[1](#page-0-0) , a framework that turns this analysis into a repeatable measurement. guardscope works in two stages. The static stage analyzes a runtime control's source and predicts which of the 15 paths the control can check. The empirical stage runs a fixed workload of 15 action instances on a deployment that realizes one design, records what the control reports, and verifies the record against what the host kernel observed. The comparison classifies every action instance as checked, bypassed, or prevented.
We evaluate guardscope across the eight designs with Pi and OpenClaw, and with real runtime controls: Microsoft's agent governance toolkit as the gateway control and ActPlane [53](#page-10-4) as the kernel-level control, with a Tracee eBPF sensor providing the kernellevel ground truth. The runs confirm the derived outcomes for the exercised action classes. We make the following contributions:
1
- an enumeration of the 15 action paths and the eight topology designs, with the derived matrix of which paths each design checks and the trade-off between coverage and inspectable features;
- guardscope, a two-stage framework that predicts a runtime control's checkable paths by static analysis and measures instance-level coverage against kernel-level ground truth;
- an evaluation that realizes the eight designs with real runtime controls and two harnesses, confirming the derived outcomes for the exercised action classes and showing outcome stability across the harness.
The remainder of this paper is organized as follows. Section [2](#page-1-0) discusses related work. Section [3](#page-2-0) enumerates the action paths and the topology designs. Section [4](#page-4-0) presents guardscope. Section [5](#page-7-0) reports the evaluation. Section [6](#page-8-0) states the limitations, and Section [7](#page-9-4) concludes.
## 2 Related Work
We classify prior work into five categories: (1) observing behavior with monitoring, (2) checking tool traffic and enforcing policy, (3) screening content with guardrails, (4) restricting actions with access control, and (5) evaluating or measuring enforcement.
## 2.1 Behavior Monitoring
The first category is behavior monitoring, in which runtime controls observe agent behavior. AgentOps [23](#page-9-5) defines the observability data to collect from LLM-agent runs. ClawSentry [48](#page-10-5) delivers monitoring through a gateway. Watson [43](#page-10-6) traces the reasoning of LLM-powered agents. System-level approaches observe from outside the application process. AgentSight [52](#page-10-2) intercepts LLM traffic and kernel events with eBPF and correlates the two streams across process boundaries. eBPF-based audit tools such as Tetragon [15](#page-9-3) and Falco [6](#page-9-6) provide the same kernel-wide record of process activity for general workloads.
## 2.2 Agent Gateways and Policy Checks
The second category is agent gateways that monitor interactions between the harness and its tools by intercepting them at a network level. Envoy AI Gateway [5](#page-9-1) and Apache APISIX expose extensible filter chains to which policy modules attach. Agentgateway [1](#page-9-0), LiteLLM Proxy [7](#page-9-7), Bifrost [3](#page-9-8), AISIX [2](#page-9-9), Portkey [13](#page-9-10), Pomerium [12](#page-9-11), Octelium [9](#page-9-12), Plano [11](#page-9-13), and MCP Context Forge [8](#page-9-14) apply the same modular structure to LLM-specific traffic. Microsoft's Agent Governance Toolkit (AGT) adds governance modules to the gateway function, including deterministic policy decisions on every tool call, tool-definition scanning, and checks for tool servers that connect over the Model Context Protocol (MCP). Cloud control planes enforce equivalent tool-call policy inside the provider's service boundary rather than on a proxy deployed between the harness and the tool server. For instance, Microsoft Foundry [37](#page-10-7) applies runtime guardrails at the tool-call and tool-response steps of its agent service, and Agent 365 [36](#page-10-8) routes registered tool servers through its tooling gateway, which enforces policy at invocation time. The policies these components evaluate are written in the policy-as-code ecosystem, including Rego with Open Policy Agent [10](#page-9-15), Cedar [20](#page-9-16), and CEL [4](#page-9-17).
## 2.3 Guardrails
The third category is guardrails that screen model inputs and outputs against content and safety policies.[2](#page-1-1) Programmable guardrail toolkits define check sequences around the model call. For instance, NeMo Guardrails [42](#page-10-1) provides input moderation, output moderation, and execution checks specified in a dedicated language. Security-focused frameworks compose several detectors: LlamaFirewall [18](#page-9-2) combines a jailbreak detector, an alignment check against the agent's stated goal, and code scanning for insecure agent outputs. Model-based classifiers perform the screening with a dedicated model, such as Llama Guard [29](#page-10-9), and data-screening components such as Presidio [14](#page-9-18) detect and redact sensitive content in tool payloads. Agent-based guardrails reason over agent trajectories. GuardAgent [50](#page-10-10) maps a safety guard request into guardrail code that checks target-agent actions, and ShieldAgent [17](#page-9-19) extracts verifiable safety rules from policy documents and evaluates agent action sequences against them.
## 2.4 Access Control
The fourth category is access-control systems that decide whether a concrete action may execute. Most systems in this category embed the decision procedure in the agent's own process, and they fall into three families: (1) classic access-control systems, (2) capability-based systems and (3) policy-language systems. Classic access-control systems apply access-control rules directly to agents. Ganie [27](#page-9-20) integrates role-based access control into agent deployments, and AgentGuard [34](#page-10-11) applies attribute-based access control, checking every tool call against declarative policies.
Capability-based systems derive the decision from information flow. For instance, CaMeL [21](#page-9-21) extracts capabilities from the trusted user query and enforces control-flow and data-flow policies over them. RTBAS [54](#page-10-12) applies information-flow control to tool-based agents with dependency screeners. APPA [31](#page-10-13) extends informationflow control with recovery mechanisms. Leong [32](#page-10-14) implements an external monitor with capability-gated execution. Harness-native enforcement places the monitoring point in the harness configuration. SHarD [28](#page-10-15) shows that OS sandboxing, skill scanning, and tool restriction can be distributed through a harness. Skill-Guard [51](#page-10-16) derives capability confinement from reachability analysis. SEAgent [30](#page-10-17) applies mandatory access control to privilegeescalation scenarios in multi-agent systems.
Policy-language systems instead decide from declarative rules over the action's features. For instance, Progent [44](#page-10-3) enforces least privilege through symbolic rules over tool names and arguments, with monotonic policy narrowing during execution. AgentFlow [45](#page-10-18) defines a flow-centric policy language with stateful taint semantics and a verifier based on satisfiability modulo theories (SMT), which encodes policy constraints as logical formulas and decides them with a solver. FORGE [40](#page-10-19) specifies policies in Datalog, a declarative logic-programming language, over abstract predicates that describe the execution context and constrains the predicate source with an assume/guarantee contract. AgentSpec [47](#page-10-20) specifies runtime constraints as rules over triggers, predicates, and enforcement mechanisms, and evaluates them in the agent's decision pipeline
2We cannot summarize recent guardrail tools and papers here due to space. The interested reader is referred to recent survey papers, such as [24,](#page-9-22) [25,](#page-9-23) [49](#page-10-21).
at action-execution time. Kernel-level enforcement moves it into the operating system. ActPlane [53](#page-10-4) enforces agent policies with eBPF and reports that tool-call interception misses system actions on indirect execution paths.
## 2.5 Evaluation and Benchmarks
The fifth category is evaluation and benchmarks. Agent benchmarks such as AgentDojo [22](#page-9-24) execute attack and defense implementations against shared tasks to measure prompt-injection attacks and defenses. The adaptive evaluation study [39](#page-10-22) is the only published adaptive test of a policy-based monitor. It tested Progent on Agent-Dojo with a single attack template, and the defense held. Several papers report individual attacks in which an agent acts within its authority and the action is harmful. Causality laundering [19](#page-9-25) extracts information from denial outcomes, the visual confused deputy [33](#page-10-23) exploits the divergence between what a computerusing agent perceives and what it acts on, and cross-app context poisoning [46](#page-10-24) injects content through first-party interfaces of a shared agent context. A separate line measures policy-as-code as an artifact: adoption across 399 open-source repositories [26](#page-9-26), security misconfigurations in Kubernetes manifests [41](#page-10-25), and inconsistency among Helm chart analyzers [38](#page-10-26). The design-pattern catalog [16](#page-9-27) assesses the prompt-injection resistance of proposed enforcement architectures, including gateways and dual-model configurations.
## 3 Action Paths and Topology Designs
The related work shows that runtime controls occupy several enforcement positions, from gateways in front of the harness to the operating-system kernel, but it does not state which of an agent's actions each position can actually check. In this section, we enumerate the action paths an agent can take and the topology designs used in practice, and we derive the coverage outcome for each pair of path and design. guardscope (Section [4\)](#page-4-0) then turns this analysis into predictions and measurements.
## 3.1 Action Paths
Table [1](#page-3-0) enumerates the paths that an agent harness can take for execution. We derived this basis bottom-up, from the routes by which executed actions reach their effects in real harnesses, and we found a total of 15 potential paths with nine family classes. We developed the basis in an iterative discussion between us and two AI research models, Z.ai's GLM-5.3 and OpenAI's ChatGPT 6.1-Sol: each side independently proposed a candidate path list, cross-reviewed the others' proposals, and converged on the final basis.
Most of the paths in Table [1](#page-3-0) name a transport directly, so we supplement only the splits a reader might contest, and name what separates them. In-process tool execution (P1) and direct-origin operations (P2) share the same code location, but P1 is a dispatched tool whose effect stays in memory, whereas P2 is an OS operation that the harness process issues directly, with no dispatch for a harness-native design to inspect; the effect, not the location, separates them. The three process paths form the closest group: subprocess execution (P3) and background processes (P12) share a spawned child, but a P3 child is joined within the invocation, so its operations fall under the invocation's check, whereas a P12 child
outlives the invocation and its later operations receive no dispatchtime check; lifetime separates them. Daemon submission (P11) also produces later execution, but the executor sits outside the harness's process tree and the submission is a record, so attribution separates it from P12. Dispatch-free output consumption (P13) and directorigin operations (P2) both produce effects without a dispatch, but a tool call exists in P2 and none exists in P13; whether a tool call exists separates them.
#### 3.2 Topology Designs
We identified the topology designs from the enforcement positions used in practice: across the deployed systems surveyed in Section [2,](#page-1-0) we collected the placements at which a runtime control can sit, from no control at all (T0), through gateways in front of the harness, the harness's own enforcement mechanisms, and in-process policy engines, to the operating-system kernel (T7), and we generalized them into the eight designs shown in Figure [1.](#page-4-1) Every design generalizes the configuration of at least one deployed system (Table [4\)](#page-6-0), which keeps the design space tied to practice rather than to an abstract taxonomy. The designs went through the same AI-assisted review as the path basis (Section [8\)](#page-9-28).
Two groups of designs share a placement, so we state what separates them. The gateway designs (T1–T3) share the placement in front of the harness, and what separates them is what the deployment additionally routes through or blocks at the gateway: T2 adds a forced-egress environment that prevents direct network egress, and T3 additionally routes the local transports through the gateway. A design is therefore a placement plus the deployment's routing and blocking environment, not a placement alone. The in-harness designs (T4–T6) share the placement inside the harness, and what separates them is the enforcement mechanism and what it can inspect: T4 is the harness's own permission chain, T5 composes that chain with a gateway in front, and T6 is a declarative policy engine evaluated at the harness's dispatch hook, which can inspect tool arguments that a permission mode cannot. Table [2](#page-4-2) lists the designs with the features that the runtime controls can inspect and their examples.
#### 3.3 Derived Coverage Outcomes
Against each pair of path and topology design, we systematically derive whether the design checks the path, and whether some mechanism outside the policy prevents it. Here, Figure [2](#page-5-0) shows the definition of "checked ( )," "bypassed ( )," or "prevented ( )." An action path is checked if its channel crosses an enforcement point. In contrast, an action is bypassed if its channel crosses no enforcement point and no blocking mechanism. Lastly, an action is prevented if its channel is blocked by a mechanism that the topology places outside the policy, such as a network egress filter. An exception is "conditional ( )," where the results depend on the actual systems or deployments. Table [3](#page-5-1) shows the derived per-path expected outcomes under the eight topology designs. We see from Table [3](#page-5-1) that the coverage of a design is determined by the paths that cross its enforcement point. The gateway designs check only the tool-server calls that traverse the gateway (T1: P6, T3: P6–P8), and the forced egress of T2 and T3 additionally prevents direct network egress (P4). The harness-native and in-process designs (T4–T6)
Table 1: Paths that agent harnesses can take for execution.
| Family | Path | Description | | | |
|----------------------------------------|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--|--|--|
| In-process | P1 In-process tool
execution | The harness executes a function tool inside the harness process with a purely in-memory effect that never affects
the external (e.g., SDK @function_tool implementations). | | | |
| | P2 Direct-origin operations | The harness's in-process tool issues direct OS operations (file, socket) (e.g., Claude Code Read/Write/Edit). | | | |
| Spawned | P3 Subprocess execution | The harness launches a subprocess (shell, interpreter, or executable). | | | |
| processes | P12 Background
processes | A dispatched process continues running or resumes after the invocation returns ( nohup , setsid , shell
background jobs), without a new dispatch-time check for its later operations. | | | |
| Network | P4 Direct network egress | Harness or a subprocess opens a connection that is not a tool-server call ( curl , cloud SDK, raw socket). | | | |
| egress | P5 Local-intermediary
routing | Agent code contacts a local intermediary (loopback HTTP helper, Unix-socket database) that acts locally or relays
onward. | | | |
| Remote tool
server call | P6 HTTP tool-server call | The harness sends a tool request over HTTP through a gateway (e.g., Streamable-HTTP MCP). | | | |
| Local
transport tool
server call | P7 Stdio tool-server call | The harness talks the tool protocol to a child tool server over stdin/stdout pipes (e.g., claude mcp add stdio
servers). | | | |
| | P8 Local-IPC tool-server
call | The same invocation over another local transport (Unix-domain socket, named pipe). | | | |
| Nested tool
server call | P9 Wrapped invocation | An in-process tool's implementation itself invokes a tool server over HTTP or a local transport. | | | |
| Delegation | P10 Agent delegation | The harness delegates to a sub-agent that shares its dispatcher or uses an independent dispatch either locally or
remotely. | | | |
| Deferred
execution | P11 Daemon/scheduler
submission | The harness submits a task to a daemon, scheduler, or container runtime (crontab, systemd unit,
docker.sock ). | | | |
| Non-dispatch
channels | P13 Dispatch-free output
consumption | The harness consumes model output and produces file, process, or network effects without a corresponding tool
dispatch authorization for those effects (e.g., Aider's response parsing). | | | |
| | P14 Non-tool protocol
operation | A client-initiated protocol operation other than a tool call (e.g., MCP resources/read , prompts/get )
crosses a transport also used for tool calls. | | | |
| | P15 Reverse protocol
interaction | A tool server initiates a request back into the harness (server-initiated sampling, elicitation). | | | |
check the actions dispatched through the harness dispatcher, but not the actions that originate outside the dispatch, such as directorigin operations (P2) or processes that outlive the invocation (P12). In contrast, the kernel-level design (T7) monitors all the paths except the harness's in-process actions (P1), which the harnessnative controls (T4–T6) capture. As a result, five paths (P2, P5, P11, P12, and P15) bypass every design below the kernel. The T7 row states the bound implied by the kernel position: the coverage a deployed kernel-level control actually provides depends on the hooks it deploys, and we quantify this gap in Section [5.3.](#page-7-1)
Table [3](#page-5-1) also marks several cells as conditional ( ). A wrapped invocation (P9) is checked under the gateway designs only when the wrapper itself sends the inner call through the gateway, and a nontool protocol operation (P14) is checked only when the gateway terminates the protocol and evaluates the operation. Agent delegation (P10) is checked when the sub-agent shares the dispatcher or
inherits the enforcement configuration, and dispatch-free output consumption (P13) is caught by the forced egress only when its downstream effect is a network connection. Under T7, a daemon submission (P11) is observed only when the eventual execution crosses a monitored hook. These outcomes depend on the deployment wiring rather than on the design. The reference workload realizes four of the 15 paths (P2, P4, P6, and P7), so the conditional cells rest on the design analysis alone.
## 3.4 Trade-offs between Coverage and Inspectable Features
From Tables [3](#page-5-1) and [2,](#page-4-2) we can see that there are trade-offs between coverage, inspectable features, and exposure to noise. The gateway designs inspect the payload content and metadata of the proxied

Figure 1: System architecture of topology designs.
Table 2: Topology designs and inspectable features.
| Family | Design | Description | Inspectable features | Examples | Exposure to noise | |
|-------------------|--------|-------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------|--|
| — | T0 | Bare harness, no enforcement | None: the harness evaluates nothing | — | — | |
| Gateway | T1 | Gateway for HTTP tool servers;
unrestricted egress | Request: payload content and transmitted
metadata of proxied tool calls. | request body of a tool call:
"name":"read_file", | | |
| | T2 | "arguments":{"path":
T1 + network-forced default-deny
"/data/r.txt"}
egress (blocks outside the policy)
and transport headers | | | | |
| T3 | | T2 + all tool servers proxied through
the gateway (sole tool enforcement
point) | | | | |
| Harness
native | T4 | Harness-native enforcement
(permission modes; no sandbox in
v1) | Harness invocation: tool name, arguments,
session context | harness:
read_file(path=
"/data/r.txt")
+ turn t | Low: target harness only | |
| | T5 | T4 + a gateway in front of the HTTP
tool servers | Harness invocation + Request | harness: read_file ,
path="/data/r.txt" , turn t
+ request: "name":
"read_file", "arguments":
{"path": "/data/r.txt"}
+ headers | Low: harness + proxied traffic | |
| In-process | T6 | In-process enforcement | Argument values: values at the dispatch site
(no tool name or session inspectable) | typed argument ( string ):
"/data/r.txt" | Low: agent-process dispatch only | |
| Kernel | T7 | Kernel-level enforcement and audit;
per hook-specific operation or event | Kernel event: selected-hook syscall features
(paths, endpoints, process history), no
tool/session identity inspectable | file hook: openat on
"/data/r.txt" ;
caller p, parent q | High: processes from non-target
are observed. | |
requests, but they see few paths (T1 checks one). The harnessnative design (T4) checks five paths and inspects the tool name, arguments, and session context. The kernel-level design (T7) checks the most paths (13 of the 15 unconditionally; the in-process tool execution (P1) is the only path outside the kernel position, and the daemon submission (P11) is conditional on the deployed hooks), yet it inspects only syscall-level features, such as file paths and endpoints, without tool or session identity, and it observes processes unrelated to the agent. In addition, T7 has three drawbacks: its inspectable features are the least semantic (e.g., openat and its file path attribute), they are noisy (i.e., T7 observes information from
non-target processes), and the deployment cost is higher, as it must be deployed in the same system as the target agent.
#### 4 guardscope
The path and design analysis of Section [3](#page-2-0) states what a deployment should cover on paper. To verify what a deployed control actually covers, we built guardscope, a framework that predicts a runtime control's checkable paths from its source and measures, against kernel-level ground truth, which executed actions the control evaluates.

Figure 2: The three instance-level coverage outcomes.
Table 3: Derived per-path expected outcomes under the eight designs.
| Path | T0 | T1 | T2 | T3 | T4 | T5 | T6 | T7 |
|-----------------------------------------|----|----|----|----|----|----|----|----|
| P1 In-process tool
execution | | | | | | | | |
| P2 Direct-origin
operations | | | | | | | | |
| P3 Subprocess
execution | | | | | | | | |
| P4 Direct network
egress | | | | | | | | |
| P5 Local-intermediary
routing | | | | | | | | |
| P6 HTTP tool-server call | | | | | | | | |
| P7 Stdio tool-server call | | | | | | | | |
| P8 Local-IPC tool-server
call | | | | | | | | |
| P9 Wrapped invocation | | | | | | | | |
| P10 Agent delegation | | | | | | | | |
| P11 Daemon/scheduler
submission | | | | | | | | |
| P12 Background
processes | | | | | | | | |
| P13 Dispatch-free
output consumption | | | | | | | | |
| P14 Non-tool protocol
operation | | | | | | | | |
| P15 Reverse protocol
interaction | | | | | | | | |
## 4.1 Scope and Assumptions
Throughout the paper, we assume generic agent harnesses, such as Claude Code, Gemini CLI, Codex, DeepSeek Harness, Pi, LangChain, and OpenClaw. To monitor them, we assume generic runtime controls as we have reviewed in Section [2.](#page-1-0)
We assume the generic single-agent scenario where an agent often works as a coordinator. Such an agent is composed of a model and a harness with tool-use capabilities. The reason for the singleagent assumption is that, technically, our analysis can be applied to multi-agent scenarios where multiple agents coordinate together to accomplish given tasks, as a runtime control tool can be applied to every single agent.[3](#page-5-2) The interaction between agents is established via network interfaces, and our path analysis later on covers such interfaces, too.
### 4.2 Static Analysis
The static stage analyzes a runtime control's source and predicts, for each of the 15 paths, whether the control can check the path. The analysis first classifies the control: the deployment forms it can take (a container gateway, an attached process, an embedded policy engine, a kernel control, or a log ingest), whether it enforces or only observes, the action classes it can parse, the record format it emits, and the designs of Table [2](#page-4-2) it can occupy. For each path, the analysis then works through a fixed checklist: what the control must intercept to check the path, which code evidence counts, and a verdict per path, checkable, not-checkable, conditional, or uncertain, with file-level evidence attached to every verdict. The analysis crosschecks the verdicts against the per-design dispositions that the path basis of Section [3](#page-2-0) predicts. The output is executable: the capability manifest that declares what the control can do, and the binding overlays that deploy it into each design's fixture. The framework validates both before any run.
We applied the static analysis to the deployed systems reviewed in Section [2;](#page-1-0) Table [4](#page-6-0) shows the classification. In Table [4,](#page-6-0) we define two symbols, classification is verified by our actual runs and : classification is derived from documentation only. The measured rows correspond to the deployments we realize in the evaluation (Section [5\)](#page-7-0); the remaining rows are derived from the controls' source and documentation.
We can see from Table [4](#page-6-0) that most of the deployed solutions take the designs with narrower coverage. The gateway deployments (T1– T3) form the largest group, whereas the kernel-level design (T7) has only one entry. This is understandable from the trade-off analysis in Section [3.4,](#page-3-1) too. Note that the same system appears under multiple designs, such as agent-os-kernel (T1, T2, and T3) and Claude Code (T4 and T5), depending on its deployment configuration.
#### 4.3 Empirical Measurement
The empirical stage runs the reference workload on a deployment that realizes one design and measures which executed actions the deployed control evaluates. The workload consists of 15 action instances that realize the four exercised paths of Table [1](#page-3-0) (the HTTP and stdio tool calls, the direct-origin operations, and the direct network egress). The runner drives a real agent harness by deterministic replay injection, so no LLM runs in the loop and every run executes the same actions. The runner enforces a fixed lifecycle: it provisions and configures the topology, proves that each enforcement point is ready, opens the measurement window, injects the workload, closes the window, and collects the records. The readiness gate is strict: the runner issues one action that the loaded policy must deny, and the run proceeds only when the enforcement
3Note that we do not rule out the case where the agent spawns sub-agents via its tool-use capability.
Table 4: Classification of deployed systems onto the designs of Table [2.](#page-4-2)
| System (deployment configuration) | T0 T1 T2 T3 T4 T5 T6 T7 | System (deployment configuration) | T0 T1 T2 T3 T4 T5 T6 T7 |
|--------------------------------------------|-------------------------|----------------------------------------------------|-------------------------|
| Bare harnesses and model-only proxies (T0) | | Harness permission dispatch (T4) | |
| OpenClaw (no enforcement) | d | Claude Code (permission modes) | d |
| Pi (no enforcement) | | Gemini CLI (permission modes) | d |
| Coding CLIs without enforcement | d | Pi (permission modes) | |
| Model-only proxies | d | OpenClaw (permission modes) | d |
| Gateways without forced egress (T1) | | SHarD | d |
| agentgateway (HTTP gateway) | | Process-sandbox variants (T4) | |
| agent-os-kernel (agent governance toolkit) | | claude-sandbox (prevention) | |
| Apache APISIX | d | Codex sandboxes (prevention) | d |
| AISIX | d | Dispatch plus gateway (T5) | |
| Bifrost (HTTP gateway) | d | Claude Code (permission modes +
gateway proxy) | d |
| Envoy AI Gateway | d | Pi (permission modes + gateway proxy) | |
| LiteLLM Proxy (HTTP gateway) | d | OpenClaw (dispatch + gateway) | d |
| Octelium | d | OpenClaw PRISM (dispatch + gateway) | d |
| Plano | d | Caging the Agents | d |
| Portkey | d | In-process enforcement (T6) | |
| Pomerium | d | Progent (in-process engine) | d |
| | d | CaMeL | d |
| MCP Context Forge | | RTBAS | d |
| Gateways behind forced egress (T2) | d | APPA | d |
| agentgateway (behind forced egress) | | FIDES | d |
| Gateways proxying local tool servers (T3) | d | FORGE | d |
| agentgateway (local transport proxied) | | AgentFlow | d |
| Bifrost (stdio upstreams) | d | AgentSpec | d |
| ClawSentry (supervision gateway) | d | NeMo Guardrails (in-process rails) | d |
| Docker MCP Gateway (streaming
endpoint) | d | LlamaFirewall | d |
| LiteLLM Proxy (stdio servers enabled) | d | Presidio (PII screening) | d |
| Cloud control planes (T1) | | Kernel level (T7) | |
| Microsoft Foundry (routed MCP tools) | d | ActPlane (eBPF hooks) | |
| Agent 365 (tooling gateway) | d | gVisor-lineage isolation platforms
(prevention) | d |
point refuses it and its deny record appears in the collected stream. A started container is not a ready one, and opening the window before enforcement works would silently produce false bypassed results. Only the runner controls the window, never a measured component.
Each component emits its records in a common schema: an enforcement point emits one decision record per decision, and the harness emits dispatch records that identify each attempt. Correlation ids travel on the protocol, in the MCP \_meta block or in HTTP headers, and a control echoes them from the protocol rather than learning them from configuration, so a fabricated id is detectable. For the escape classes, whose traffic crosses no inspection point and produces no decision records, the reconciler attributes the kernel observation to the action by the target's identity, which the fixture pins. A Tracee eBPF sensor observes the host kernel throughout the run and is the sole ground truth: decision records are claims, and coverage is computed by reconciling them against kernel observation. The reconciler derives every outcome, checked-allowed, checked-denied, bypassed, prevented, or indeterminate, and no measured component asserts an outcome. The checks cover schema validity, window and accounting consistency, unmatched inspectedclass events (which are findings, never noise), id consistency, and
denial effectiveness: a checked-denied instance is confirmed by the verified absence of the action's kernel signature, so a denial that did not hold is reported rather than trusted.
Every cell of the coverage grid carries an evidence class. Harnessrun cells come from a real harness, and mock-run cells come from the reference path-originator fixture, whose kernel signatures the calibration runs verified against the real harness (Section [5\)](#page-7-0). Runs without the kernel sensor take a degraded mode that still executes the full pipeline but labels every output self-reported and unverified.
#### 4.4 Implementation
guardscope is a Python framework built around Docker Compose fixtures. The core defines the measurement semantics, the designs, and the reconciler; everything the framework measures or exercises, the harnesses, the controls, and the workloads, is a plugin, and no core code depends on a plugin's identity. A design fixture is a declarative compose base with a control slot, and a control binding is a capability manifest plus the overlays that fill the slot, so a third-party control plugs in without framework changes. A binding whose control emits a proprietary log adds a shim that translates it into the common record schema, with per-record provenance that points back to the vendor log line. Every run pins the harness, the control, the workload, and the sensor images by digest and records them in a run manifest, which makes a measurement reproducible: a third party can re-run the same pins and compare the outcome. guardscope is validated on arm64 (Graviton) and x86\_64 hosts, and the acceptance runs produce identical outcome counts on both (Section [5\)](#page-7-0).
#### 5 Evaluation
To validate the derived outcomes of Section [3](#page-2-0) and the guardscope machinery, we run the eight designs as deployments. In this section, we first justify the selection of harnesses and runtime controls, and we then report the settings and the results.
## 5.1 Selection of Harnesses and Runtime Controls
Table [5](#page-7-2) lists the harnesses, the controls, and the sensor we run, and this subsection states why each was selected.
We select two real harnesses with independent implementations, Pi and OpenClaw, so that a design's measured outcomes can be attributed to its placement rather than to one harness's dispatch implementation. Pi exposes the enforcement hooks that the harnessnative and in-process designs require, so every design runs on it. OpenClaw runs the HTTP-gateway design, and its outcome counts match Pi's exactly, which is the harness-independence check. The mock harness is not a harness under measurement; it is the reference path originator that executes the same canonical actions deterministically. Before any mock-derived cell is citable, a calibration gate verifies that its kernel signatures are indistinguishable from the real harness's captures, so the two evidence classes corroborate each other without sharing an implementation.
For the controls, we select maintained, deployed products wherever a design allows an external control, and we cover the eight designs with the fewest products that still exercise both record paths. The gateway designs (T1–T3 and T5) run agent-os-kernel,
Table 5: Tools, roles, demonstrated designs, and versions.
| System | Role | Design(s) | Version |
|-----------------------------------------------------|------------------------------------|---------------------------------|-------------------|
| Pi | Agent harness | T0–T7 (all main
experiments) | 1.0.4 |
| OpenClaw | Agent harness | T1 | 2026.9.3 |
| mock-harness | Reference harness
(calibration) | T0–T3 | mock
harness@1 |
| agent-os-kernel
(agent
governance
toolkit) | Runtime control
(gateway) | T1–T3, T5 | 3.7.0 |
| agentgateway | Runtime control
(gateway) | T1 (standalone) | v1.5.0 |
| Pi in-process
policy engine | Runtime control (in
process) | T6 | 1.0.4 |
| ActPlane | Runtime control
(kernel-level) | T7 | 0.1.8 |
| Tracee | Ground-truth
sensor (kernel) | All runs | v0.24.1 |
the enforcement module of Microsoft's agent governance toolkit, a production gateway control. The agentgateway binding adds a second, independent gateway implementation at T1, and its vendor log is translated by a shim rather than emitted natively, so the ingested record path is exercised alongside the native one. The harness-native (T4) and in-process (T6) designs are embedded in the harness by definition, so they use the harness's own mechanisms, the Pi permission chain and the Pi in-process policy engine. The kernel-level design (T7) requires a control that enforces in the kernel, and ActPlane is the only kernel-level system in our classification (Table [4\)](#page-6-0), so we bind it.
For the ground truth, the runner manages a single Tracee eBPF sensor per run. The sensor is not a plugin, no measured component can select or modify it, and its health report is a required input of every run.
#### 5.2 Settings
We run the designs on AWS EC2 Linux hosts, each design brought up as a Docker Compose fixture. The arm64 campaigns run on m7g.2xlarge instances (Graviton3, 8 vCPUs, 32GiB memory, Ubuntu 24.04 LTS, kernel 7.0.x-aws) in the ap-northeast-1 and ap-southeast-1 regions. The x86\_64 validation runs use m7i.2xlarge instances with the same OS on kernel 7.0.0-1015-aws. The kernel-level design (T7) runs on an x86\_64 c6i.xlarge instance with the kernel pinned to 6.17.0-1010-aws, on which ActPlane 0.1.8 loads its eBPF programs in tracepoint mode.[4](#page-7-3)
## 5.3 Results
To validate the derived outcomes, we realize each topology design as a guardscope fixture and bind a real runtime control to it. Table [5](#page-7-2) lists the tools, their roles, and the versions we used. The gateway
4ActPlane's programs failed to load on the other kernels we tried (7.0.0-1014-aws and 6.8.0-146-generic); we therefore pin the T7 host to 6.17.0-1010-aws.
control for T1–T3 and T5 is the binding for agent-os-kernel, the enforcement module of Microsoft's agent governance toolkit; the agentgateway binding, the CNCF gateway project, is demonstrated separately at T1; T4 uses the Pi harness's own tool-call permission chain; T6 configures the harness's in-process policy engine; and T7 binds ActPlane, the kernel-level control. A Tracee sensor records kernel-level events for every run, and we use the record as the ground truth to classify every executed action instance as checked, bypassed, or prevented. Each design runs as a shakedown run followed by an acceptance run: the shakedown run absorbs the first-run effects, such as the harness startup writes that fail the leftover check by design, and only the acceptance runs are counted. We run every design with the Pi harness, the T1 design additionally with the OpenClaw harness, and the T0–T3 designs additionally with the mock harness, whose kernel signatures the calibration runs verified against the real harness. The enforcement-point record comes from the component under test: the gateway decision log, the harness dispatcher hooks, or the kernel-level enforcement log.
Our runs confirmed these derived outcomes for the exercised action classes under every design, including T7, and we see three findings in the run results. First, the mediation boundary of each design matches the derived outcomes for the exercised classes. The T1 runs record decisions for the HTTP tool-call class alone, and the T2 runs additionally prevent the two direct-network actions with the forced-egress configuration; this prevention is kernel-confirmed, so the runs demonstrate the prevented outcome, not only the checked and bypassed ones. The T3 runs add the stdio tool-call class, and the T4–T6 runs mediate both tool-call classes, while the file-write, process-spawn, direct-network, and credential-access classes bypass their enforcement points in every run. In addition, one action in the T6 runs is checked and denied by the in-process policy, which shows that the runs exercise policy decisions, not only allow paths. The T7 run realizes the kernel-level design with ActPlane: six actions are checked and allowed, one is checked and denied, and eight are bypassed. The denied action is a subprocess spawn that ActPlane kills at execution, so the T7 runs also exercise a denial. Two results bound what the T7 run establishes. First, the bypassed set includes all seven tool-call actions, so the kernel position checks a channel only if a deployed hook covers it: the measured per-hook coverage stays below the position bound derived in Section [3.](#page-2-0) Second, one direct-network action (a UDP send) bypasses ActPlane because of a documented hook gap, which is a property of the evaluated ActPlane hooks rather than of the design.
Second, the checks of a design cover only the channels that cross its enforcement point, and the actions that originate outside those channels take effect without any policy evaluation. In the T5 runs, both tool-call classes are fully mediated, yet the eight actions of the direct-network, process-spawn, file-write, and credential-access classes take effect without any policy evaluation in every run.
Third, the outcome counts are stable across the comparisons the runs support: the T1 column is identical on the Pi and OpenClaw harnesses, and the arm64 and x86\_64 hosts produce identical counts for T0–T3 and T5 with both the real and the mock harness.
The run results also carry a compositional implication. The five paths that bypass every design below the kernel (P2, P5, P11, P12, and P15) cross no enforcement point below the kernel, so no combination of the sub-kernel designs (T1–T6) checks them. Composition
therefore adds inspectable features, as the T5 runs show, but not coverage. In contrast, the T7 position bound is blind only to P1, which the harness-native designs (T4–T6) check, so T7 and T4–T6 complement each other at the design level; the measured per-hook coverage of the ActPlane binding (Section [5.3\)](#page-7-1) stays below this bound.
## 5.4 Summary of Findings
Our study yields three key findings. First, coverage follows from where the design puts its enforcement point: a runtime control checks only the paths that cross it, and five of the 15 paths bypass every design below the kernel (Table [3\)](#page-5-1). The runs confirmed the derived outcomes for the exercised action classes, including a measured T7 run whose per-hook coverage stays below the kernelposition bound, and they showed that the checks cover only the channels that cross the enforcement point. Second, coverage, inspectable features, and exposure to noise are separate dimensions: the design that observes the most paths inspects the least semantic information, and composition adds features without expanding coverage (Table [2\)](#page-4-2). Third, the deployed solutions concentrate on the designs with narrower coverage (Table [4\)](#page-6-0).
These findings indicate that no single control provides both broad path coverage and agent-semantic inspection. Therefore, better runtime control solutions should consider the paths that agent actions could take, and combine tools whose enforcement points sit at different layers, such as harness-native enforcement with kernel-level monitoring.
## 6 Limitations and Open Problems
We have identified three limitations: (1) insufficient validation, (2) lack of security effectiveness evaluation, and (3) limits of the kernellevel ground truth.
## 6.1 Insufficient Validation
The empirical validation of Table [3](#page-5-1) covers the action classes the reference workload exercises, and each cell of the matrix reflects either a measured acceptance run or a derivation from the design analysis. The workload realizes four of the 15 paths (P2, P4, P6, and P7), so the remaining paths, including every conditional cell, rest on the design analysis alone. The T7 run bounds coverage by the deployed hooks rather than by the kernel position: the measured ActPlane coverage excludes the tool-call classes, and one directnetwork action bypasses a documented hook gap.
#### 6.2 Lack of Security Effectiveness Evaluation
The main focus of this research was on coverage and security guarantees. "Checked" means only that the action's channel crosses an enforcement point, and it does not imply that the control makes a correct decision or that the policy is well configured. "Prevented" is likewise an attribute of a blocking mechanism placed outside the policy, such as the forced-egress deny of T2 and T3, rather than of the policy itself. The kernel-level design, in its observation-only form, audits actions but does not stop them; the ActPlane binding we measure enforces, and one action in the T7 run is checked and denied, but a single denial does not establish enforcement effectiveness. Measuring detection accuracy, policy quality, and attack
prevention against adversarial workloads is therefore a potential next step.
#### 6.3 Limits of the Kernel-Level Ground Truth
Our kernel-level ground truth has its own limits. An eBPF sensor observes kernel-mediated operations, but it does not identify the tool or invocation an operation belongs to by itself, meaning that attributing a syscall record to a specific agent action requires matching against the enforcement-point record. The eBPF sensor also cannot distinguish agent processes from unrelated processes on the host, which makes its record noisy, and it carries no payload content, so an operation's semantics must be inferred from paths, endpoints, and process history.
## 7 Conclusion
This paper studied the coverage of runtime controls in LLM agent systems: which of an agent's actions a deployed control actually evaluates. We enumerated 15 action paths that span the routes a model's decision can travel from the harness runtime to its effect, identified eight topology designs that span the enforcement positions used in practice, and derived the outcome of each pair of path and design. We then presented guardscope, which turns the analysis into a measurement: the static stage predicts a control's checkable paths from its source, and the empirical stage runs a fixed workload on a deployment that realizes one design and verifies the control's decision records against kernel-level ground truth. The evaluation realizes the eight designs with two agent harnesses and real runtime controls, including Microsoft's agent governance toolkit, the opensource agentgateway project, and ActPlane. The runs confirmed the derived outcomes for the exercised action classes: the checks of a design cover only the channels that cross its enforcement point, five of the 15 paths bypass every design below the kernel, and the measured coverage of the kernel-level control stays below the position bound because it depends on the deployed hooks. The classification of deployed systems shows that most of them concentrate on the designs with the narrowest coverage.
The study has three limitations. The reference workload realizes four of the 15 paths, so the remaining paths rest on the design analysis alone. guardscope measures coverage, not security effectiveness: a checked action may still be allowed by a misconfigured policy, and a single verified denial does not establish enforcement quality. The kernel-level ground truth attributes an operation to an action by target identity or process tree and carries no payload content (Section [6.3\)](#page-9-29). Future work will exercise the conditional paths with dedicated workload instances, evaluate policy effectiveness against adversarial workloads, and extend the attribution of kernel events to agent actions.
#### 8 AI Usage for This Study
We deploy multiple AI models to assist our study.[5](#page-9-30) We use the Pi agent harness (v1.0.4) with Z.ai's GLM-5.3-flash via OpenRouter as a coordinator that interacts with us (human researchers), gets three research agents to work on the investigation tasks and discuss each one's results, and gets us to verify them. For the research agents, we also use Pi as a harness and three models from different vendors: OpenAI's ChatGPT 6.1-Sol, Moonshot AI's Kimi 3, Z.ai's GLM-5.3 (with high reasoning efforts), via AWS Bedrock. The research tasks include (1) the document and source code analysis per project, (2) verification and suggestion on our analysis results (such as potential paths that agents could use, topology designs, classification), and (3) building the testbed environment and the test runs. We, human researchers, check the investigation and compute results.
#### References
- [1] 2026. agentgateway. [https://github.com/agentgateway/agentgateway.](https://github.com/agentgateway/agentgateway) Accessed: October 2026.
- [2] 2026. AISIX AI Gateway. [https://github.com/api7/aisix.](https://github.com/api7/aisix) Accessed: October 2026.
- [3] 2026. Bifrost. [https://github.com/maximhq/bifrost.](https://github.com/maximhq/bifrost) Accessed: October 2026.
- [4] 2026. Common Expression Language (CEL). [https://github.com/google/cel-spec.](https://github.com/google/cel-spec) Accessed: October 2026.
- [5] 2026. Envoy AI Gateway. [https://github.com/envoyproxy/ai-gateway.](https://github.com/envoyproxy/ai-gateway) Accessed: October 2026.
- [6] 2026. Falco. [https://falco.org/.](https://falco.org/) Accessed: October 2026.
- [7] 2026. LiteLLM Proxy. [https://github.com/BerriAI/litellm.](https://github.com/BerriAI/litellm) Accessed: October 2026.
- [8] 2026. MCP Context Forge. [https://github.com/IBM/mcp-context-forge.](https://github.com/IBM/mcp-context-forge) Accessed: October 2026.
- [9] 2026. Octelium. [https://github.com/octelium/octelium.](https://github.com/octelium/octelium) Accessed: October 2026.
- [10] 2026. Open Policy Agent. [https://www.openpolicyagent.org/.](https://www.openpolicyagent.org/) Accessed: October 2026.
- [11] 2026. Plano. [https://docs.planoai.dev.](https://docs.planoai.dev) Accessed: October 2026.
- [12] 2026. Pomerium. [https://github.com/pomerium/pomerium.](https://github.com/pomerium/pomerium) Accessed: October 2026.
- [13] 2026. Portkey AI Gateway. [https://github.com/Portkey-AI/gateway.](https://github.com/Portkey-AI/gateway) Accessed: October 2026.
- [14] 2026. Presidio. [https://github.com/microsoft/presidio.](https://github.com/microsoft/presidio) Accessed: October 2026.
- [15] 2026. Tetragon. [https://tetragon.io/.](https://tetragon.io/) Accessed: October 2026.
- [16] L. Beurer-Kellner, B. Buesser, A.-M. Creţu, E. Debenedetti, D. Dobos, D. Fabian, M. Fischer, D. Froelicher, K. Grosse, D. Naeff, E. Ozoani, A. Paverd, F. Tràmer, and V. Volhejn. 2025. Design Patterns for Securing LLM Agents against Prompt Injections. arXiv:2506.08837.
- [17] Z. Chen, M. Kang, and B. Li. 2025. ShieldAgent: Shielding Agents via Verifiable Safety Policy Reasoning. In Proceedings of the 42nd International Conference on Machine Learning. 8313–8344. arXiv:2503.22738.
- [18] S. Chennabasappa, C. Nikolaidis, D. Song, D. Molnar, S. Ding, S. Wan, S. Whitman, L. Deason, N. Doucette, A. Montilla, A. Gampa, B. de Paola, D. Gabi, J. Crnkovich, J.-C. Testud, K. He, R. Chaturvedi, W. Zhou, and J. Saxe. 2025. LlamaFirewall: An Open Source Guardrail System for Building Secure AI Agents. arXiv:2505.03574.
- [19] M. H. Chinaei. 2026. Causality Laundering: Denial-Feedback Leakage in Tool-Calling LLM Agents. arXiv:2604.04035.
- [20] J. W. Cutler, C. Disselkoen, A. Eline, S. He, K. Headley, M. Hicks, K. Hietala, E. Ioannidis, J. Kastner, A. Mamat, D. McAdams, M. McCutchen, N. Rungta, E. Torlak, and A. M. Wells. 2024. Cedar: A New Language for Expressive, Fast, Safe, and Analyzable Authorization. Proceedings of the ACM on Programming Languages 8 (2024). DOI:10.1145/3649835. arXiv:2403.04651.
- [21] E. Debenedetti, I. Shumailov, T. Fan, J. Hayes, N. Carlini, D. Fabian, C. Kern, C. Shi, A. Terzis, and F. Tràmer. 2025. Defeating Prompt Injections by Design. arXiv:2503.18813.
- [22] E. Debenedetti, J. Zhang, M. Balunović, L. Beurer-Kellner, M. Fischer, and F. Tràmer. 2024. AgentDojo: A Dynamic Environment to Evaluate Prompt Injection Attacks and Defenses for LLM Agents. In NeurIPS Datasets and Benchmarks Track. arXiv:2406.13352.
- [23] L. Dong, Q. Lu, and L. Zhu. 2024. AgentOps: Enabling Observability of LLM Agents. arXiv:2411.05285.
- [24] Y. Dong, R. Mu, G. Jin, Y. Qi, J. Hu, X. Zhao, J. Meng, W. Ruan, and X. Huang. 2024. Building Guardrails for Large Language Models. In Proceedings of the 41st International Conference on Machine Learning (ICML) (PMLR, Vol. 235). arXiv:2402.01822.
- [25] Y. Dong, R. Mu, Y. Zhang, S. Sun, T. Zhang, C. Wu, G. Jin, Y. Qi, J. Hu, J. Meng, S. Bensalem, and X. Huang. 2025. Safeguarding Large Language Models: A Survey. Artificial Intelligence Review 58 (2025). arXiv:2406.02622. [doi:10.1007/s10462-](https://doi.org/10.1007/s10462-025-11389-2) [025-11389-2](https://doi.org/10.1007/s10462-025-11389-2)
- [26] P. L. Foalem, L. Da Silva, F. Khomh, and E. Merlo. 2026. An Empirical Study of Policy-as-Code Adoption in Open-Source Software Projects. Journal of Systems and Software (2026). DOI:10.1016/j.jss.2026.113028.
- [27] A. G. Ganie. 2025. Securing AI Agents: Implementing Role-Based Access Control for Industrial Applications. arXiv:2509.11431.
5Apart from research assistance, we have used an agent (Pi v1.0.4 with Z.ai's GLM-5.3 flash) to correct grammatical errors and convert tables and figures in LaTeX/tikz to HTML + CSS ones for better readability and visualization.
- [28] W. R. Gore. 2026. Distributing Security Controls Through Harness Engineering. arXiv:2607.25890.
- [29] H. Inan, K. Upasani, J. Chi, R. Rungta, K. Iyer, Y. Mao, M. Tontchev, Q. Hu, B. Fuller, D. Testuggine, and M. Khabsa. 2023. Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations. arXiv:2312.06674.
- [30] Z. Ji, D. Wu, W. Jiang, P. Ma, Z. Li, Y. Gao, S. Wang, and Y. Li. 2026. Taming Various Privilege Escalation in LLM-Based Agent Systems: A Mandatory Access Control Framework. arXiv:2601.11893.
- [31] A. Kravchenko, V. Liventsev, I. Konstantinov, I. Iskhakov, and M. Kukuy. 2026. APPA: Recoverable Information-Flow Control for Real-World LLM Agents. arXiv:2607.24625.
- [32] J. W. Leong. 2026. Recognition Without Enforcement: Configuration-Dependent Failures in LLM Agent Instruction Arbitration and External Control. arXiv:2608.28502.
- [33] X. Liu, B. He, X. Liu, A. Luo, H. Zhang, and H. Chen. 2026. Visual Confused Deputy: Exploiting and Defending Perception Failures in Computer-Using Agents. arXiv:2603.14707.
- [34] J. Luo, S. Peng, J. Dai, Z. Chen, Z. Shen, G. Hong, X. Pan, Y. Zhang, and M. Yang. 2026. AgentGuard: An Attribute-Based Access Control Framework for Tool-Use LLM-Based Agents. arXiv:2605.28071.
- [35] Microsoft. 2026. Agent Governance Toolkit. [https://microsoft.github.io/agent](https://microsoft.github.io/agent-governance-toolkit/)[governance-toolkit/.](https://microsoft.github.io/agent-governance-toolkit/) Accessed: October 2026.
- [36] Microsoft. 2026. Microsoft Agent 365. [https://learn.microsoft.com/en-us/](https://learn.microsoft.com/en-us/microsoft-365/admin/manage/manage-tools-for-agent) [microsoft-365/admin/manage/manage-tools-for-agent.](https://learn.microsoft.com/en-us/microsoft-365/admin/manage/manage-tools-for-agent) Accessed: October 2026.
- [37] Microsoft. 2026. Microsoft Foundry. [https://azure.microsoft.com/en-us/products/](https://azure.microsoft.com/en-us/products/ai-foundry/control-plane) [ai-foundry/control-plane.](https://azure.microsoft.com/en-us/products/ai-foundry/control-plane) Accessed: October 2026.
- [38] F. Minna, A. Blaise, K. Tuma, and F. Massacci. 2025. Automated Analysis of Security Policy Violations in Helm Charts. IEEE Transactions on Dependable and Secure Computing (2025). DOI:10.1109/TDSC.2025.3628213.
- [39] P. Narisetty, S. N. B. Kore, U. K. R. Kattamanchi, and J. Kumarapu. 2026. Adaptive Evaluation of Out-of-Band Defenses Against Prompt Injection in LLM Agents. arXiv:2606.26479.
- [40] N. Palumbo, S. Choudhary, J. Choi, G. Amir, P. Chalasani, and S. Jha. 2026. Formal Policy Enforcement for Real-World Agentic Systems. arXiv:2602.16708.
- [41] A. Rahman, S. I. Shamim, D. B. Bose, and R. Pandita. 2023. Security Misconfigurations in Open Source Kubernetes Manifests: An Empirical Study. ACM Transactions on Software Engineering and Methodology 32, 4 (2023). Article 99. DOI:10.1145/3579639.
- [42] T. Rebedea, R. Dinu, M. Sreedhar, C. Parisien, and J. Cohen. 2023. NeMo Guardrails: A Toolkit for Controllable and Safe LLM Applications with Programmable Rails. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing: System Demonstrations. 431–445. arXiv:2310.10501.
- [43] B. Rombaut, S. Masoumzadeh, K. Vasilevski, D. Lin, and A. E. Hassan. 2024. Watson: A Cognitive Observability Framework for the Reasoning of LLM-Powered Agents. arXiv:2411.03455.
- [44] T. Shi, J. He, Z. Wang, H. Li, L. Wu, W. Guo, and D. Song. 2025. Progent: Securing AI Agents with Privilege Control. arXiv:2504.11703.
- [45] B. A. Shivakumar, S. Priya, and P. Gao. 2026. AgentFlow: A Flow-Centric Policy Language and Framework for Securing LLM Agent Systems. arXiv:2608.22868.
- [46] C. Wang, S. Jha, and Z. Lin. 2026. Confused ChatGPT: Cross-App Context Poisoning via First-Party APIs. arXiv:2606.00485.
- [47] H. Wang, C. M. Poskitt, and J. Sun. 2026. AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents. In Proceedings of the 48th IEEE/ACM International Conference on Software Engineering (ICSE). ACM, 2938– 2950. arXiv:2503.18666. [doi:10.1145/3744916.3764546](https://doi.org/10.1145/3744916.3764546)
- [48] K. Wang, Z. Wei, B. Zeng, C. Jin, A. Wang, X. Luan, Z. Lin, J. Qu, X. Hu, and X. Xu. 2026. ClawSentry: A Progressive Multi-Tier Security Monitor for Safeguarding Autonomous LLM Agents. arXiv:2608.21101.
- [49] K. Wang, G. Zhang, Z. Zhou, J. Wu, M. Yu, S. Zhao, C. Yin, J. Fu, Y. Yan, H. Luo, et al. 2025. A Comprehensive Survey in LLM(-Agent) Full Stack Safety: Data, Training and Deployment. arXiv:2504.15585.
- [50] Z. Xiang, L. Zheng, Y. Li, J. Hong, Q. Li, H. Xie, J. Zhang, Z. Xiong, C. Xie, C. Yang, D. Song, and B. Li. 2025. GuardAgent: Safeguard LLM Agents by a Guard Agent via Knowledge-Enabled Reasoning. In Proceedings of the 42nd International Conference on Machine Learning. arXiv:2406.09187.
- [51] W.-J. Xiong, R. Karanjai, Y. Lu, W. Shi, and L. Xu. 2026. Reachability-Based Capability Confinement for LLM Agents under Indirect Prompt Injection. arXiv:2608.30041.
- [52] Y. Zheng, Y. Hu, T. Yu, and A. Quinn. 2025. AgentSight: System-Level Observability for AI Agents Using eBPF. arXiv:2508.02736. DOI:10.1145/3766882.3767169.
- [53] Y. Zheng, T. Wu, Q. Fu, T. Yu, W. Mao, T. Ma, D. Williams, W. Wang, and A. Quinn. 2026. ActPlane: Programmable OS-Level Policy Enforcement for Agent Harnesses. arXiv:2606.25189.
- [54] P. Y. Z. Zhong, S. Chen, R. Wang, M. McCall, B. L. Titzer, H. Miller, and P. B. Gibbons. 2025. RTBAS: Defending LLM Agents Against Prompt Injection and Privacy Leakage. arXiv:2502.08966.