AIRGuard: Guarding Agent Actions with Runtime Authority Control

Suliu Qin, Haomin Zhuang, Yujun Zhou, Yufei Han, Xiangliang ZhangarXiv 2026

TL;DR

As LLM-powered agents increasingly interact with the real world via APIs, shells, and databases, they face a insidious new threat: authority confusion, where untrusted data tricks an agent into executing harmful actions that look completely benign in isolation. To combat this, AIRGuard introduces a pre-action runtime guard that treats least-privilege security as a dynamic, action-time authorization problem. By intercepting and validating tool calls against explicit task authority, AIRGuard slashes attack success rates while preserving the agent's ability to get actual work done.

What Problem Does This Paper Address?

Traditional LLM security research focuses heavily on jailbreaks—preventing a model from outputting harmful text (like instructions for making a bomb). However, when an LLM is deployed as an autonomous agent equipped with tools, the threat model shifts dramatically.

An attacker doesn't need to make the model say something bad; they just need to feed it untrusted data (e.g., a malicious webpage or a poisoned documentation file) that steers the agent into misusing its authorized access. The individual steps—reading a file, modifying a config, or sending an email—look completely legitimate. The authors term this failure mode authority confusion: the agent mistakes informational influence from its environment for actual authorization to execute side effects.

Figure 1: Authority confusion in tool-using agents: untrusted content may inform reasoning but must not authorize side effects; AIRGuard enforces this boundary before actions execute.

Existing defenses fall short: prompt filters miss tool-based side effects, and provenance tracking only tells you where data came from, not whether an action is authorized.

Methods

AIRGuard acts as an inline, pre-action runtime guard sitting between the LLM agent and its external tools. Its core philosophy is simple: Data can inform; only authority can authorize.

The AIRGuard pipeline consists of several key stages:

  1. Normalized Runtime Actions: It maps heterogeneous, framework-specific tool calls into a unified vocabulary consisting of a capability, a target, and an expected effect.
  2. Resource Trust & Authority Context: It separates the source of information from the source of authority. It tracks the provenance of data (e.g., user input vs. unknown web content) and maintains an explicit authority context (who granted it, what targets it covers, and its time-to-live).
  3. Contextual Risk Simulation: For sensitive actions, AIRGuard simulates the likely side effects to determine if the action matches known attack patterns or goes beyond what the task requires.
  4. Tiered Enforcement Cascade: Instead of a binary allow/block, it maps risk to a spectrum of containment options: allow, audit, ask (user consent), inspect, sandbox, quarantine, or block.
  5. Sequence Audit: Because some attacks only become apparent over multiple steps (e.g., read a secret, then send a network request), AIRGuard maintains a rolling ledger to detect risky multi-step compositions.
Figure 2: AIRGuard runtime pipeline: normalize each tool call, track authority and trust, simulate side effects when needed, and enforce the pre-action decision.

Datasets

The authors evaluated AIRGuard across two primary benchmarks:

  • AgentTrap: A dataset containing 141 cases (91 malicious authority-confusion attacks and 50 benign tasks) designed to evaluate skill and helper-resource attacks within agent workspaces.
  • DTAP-150: A benchmark consisting of 150 Model Context Protocol (MCP)-based domain tasks (50 benign, 50 direct malicious, 50 indirect malicious) spanning filesystems, code, finance, legal, and telecom workflows.

Key Insights and Ideas

  • Evidence $\neq$ Authority: Just because an argument or parameter (like an email address) is accurately grounded in a retrieved document doesn't mean the agent has the authority to send data to it.
  • Prompting is a Weak Shield: Relying on the LLM to self-enforce safety policies via system prompts is highly unreliable. An ablation study showed that a prompt-only version of AIRGuard provided only a minor security boost. Security must be enforced by an external code layer.
  • The Security-Usability Tradeoff: Coarse, static permission blocking ruins agent utility. AIRGuard's ability to dynamically narrow authority at the step level allows it to block attacks without over-defending and breaking benign workflows.

Key Results

AIRGuard was tested against several state-of-the-art LLM backbones (Claude Haiku 4.5, Sonnet 4.6, GPT-5.4-mini, GPT-5.3-codex) and compared to existing runtime defenses like ARGUS and MELON.

  • Attack Success Rate (ASR) Reduction: On AgentTrap, AIRGuard reduced Claude Sonnet 4.6's attack success rate from 36.3% (no defense) to just 5.5%.
  • Utility Preservation (UPR): On DTAP-150, where over-defense frequently breaks benign tasks, AIRGuard preserved 76.0% benign utility using Haiku 4.5, vastly outperforming ARGUS (52.0%) and MELON (42.0%).
Comprehensive security-utility results across benchmarks

An analysis of residual failures revealed that when AIRGuard does fail, it is primarily due to missed risk recognition at the decisive action step rather than a failure of its interception mechanics.

Limitations and Future Work

AIRGuard is not a drop-in, prompt-only solution; it requires tight, structural integration with the underlying agent framework, CLI loop, or tool proxy to intercept actions before they hit the environment. If an agent framework executes generated code completely outside the guard or hides side effects inside tool servers, AIRGuard cannot enforce its policies without architectural modifications.

Future work will focus on automatically deriving narrower, task-specific authority contexts and improving the precision of the LLM-based risk simulator.

Summary updated

BibTeX
@misc{qin2026airguard,
  author = {Suliu Qin and Haomin Zhuang and Yujun Zhou and Yufei Han and Xiangliang Zhang},
  title = {{AIRGuard: Guarding Agent Actions with Runtime Authority Control}},
  year = {2026},
  eprint = {2605.28914},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.28914},
}
Figure