Skip to content

AgentGuard: An attribute-based access control framework for tool-calling LLM agentsAgentGuard: An Attribute-Based Access Control Framework for Tool-Use LLM-Based Agent

arXiv· arXiv:2605.28071· Jiaqi Luo, Songyang Peng, Jiarun Dai, Zhile Chen, Zhuoxiang Shen, Geng Hong, Xudong Pan, Yuan Zhang, Min YangFudan University; Shanghai Innovation InstituteIndexed by this site · 25 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose AgentGuard, an attribute-based access control framework for tool-calling LLM agents, using a client-server architecture; the paper reports no quantitative experimental results.

Threat modelThe paper does not explicitly include a threat model subsection. The protected object is tool-calling LLM agents, targeting single-tool and cross-tool security risks during execution (which the authors state may lead to privacy leakage, economic loss, and even complete system compromise); before tool call execution, a control server checks and adjudicates allow, deny, or send for human review.

Questions
Tool-calling LLM agents face security risks that the authors state may lead to privacy leakage, economic loss, and even complete system compromise; the authors believe existing model-level and system-level defenses suffer from incomplete risk coverage, poor compatibility with existing agents, and complex policy configuration.
Methods
We propose AgentGuard, an attribute-based access control framework: clients integrate with existing agent frameworks with about 10 lines of code changes, the server side checks tool calls using three complementary mechanisms—rule-based detection, LLM-assisted detection, and human verification—and provides a visual frontend for configuring policies and auditing.
Experiments and results
The paper reports no quantitative experiments; Table 1 compares AgentGuard with 10 existing works on support across five dimensions: risk type, intervention stage, decision mechanism, compatibility, and ease of use.
Limitations and future work
In the Future Plan section, the authors state they plan to support more mainstream agent frameworks and multi-agent scenario protection, and to add monitoring of LLM inputs and outputs and automatic policy recommendation. The paper reports no experimental evaluation.
AI summaryThe paper proposes AgentGuard, an attribute-based access control framework for tool-calling LLM agents. The framework uses a client-server architecture; the client requires only about 10 lines of code changes to integrate with agents in different programming languages and architectures, and does not change the underlying execution logic. The server provides three complementary checking mechanisms covering single-tool and cross-tool security risks during agent execution, and provides a visualization frontend for security policy formulation and runtime auditing. AgentGuard is currently publicly available on GitHub.

The paper proposes AgentGuard, an attribute-based access control framework for tool-calling LLM agents. The framework uses a client-server architecture; the client requires only about 10 lines of code changes to integrate with agents in different programming languages and architectures, and does not change the underlying execution logic. The server provides three complementary checking mechanisms covering single-tool and cross-tool security risks during agent execution, and provides a visualization frontend for security policy formulation and runtime auditing. AgentGuard is currently publicly available on GitHub.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Provides an attribute-based access control framework for tool-calling LLM agents covering single-tool and cross-tool risks.

    Core problem: how to provide a runtime access control framework for tool-calling LLM agents with more complete risk coverage, easy integration, and easy policy configuration.

    • Problem scenario: The authors state that LLM agents can autonomously call tools to complete complex tasks, but recent research shows they face security risks that may lead to privacy leakage, economic loss, and even complete system compromise (Introduction).
    • Shortcomings of existing methods (as stated in the paper): Model-level defenses (prompt engineering, fine-tuning) can, according to the authors, still be bypassed by adaptive attacks; system-level defenses (auxiliary LLM detection, predefined security policies), per the summary in Table 1, suffer from incomplete risk coverage, poor compatibility with existing agents, and complex policy configuration.
    • Proposed in the paper: AgentGuard, an attribute-based access control framework for tool-calling LLM agents, using a client-server architecture, with three complementary checking mechanisms on the server side covering single-tool and cross-tool risks.
    • Threat model: The paper has no threat model subsection; the defense setting reconstructable from the main text is:
      • Protected object: the execution process of tool-calling LLM agents; each tool call is checked before execution.
      • Risks targeted: single-tool and cross-tool security risks; the paper does not specifically define attacker capability and knowledge assumptions.
      • Defense location: the client is inserted between the agent framework and the tools, and the server adjudicates allow, deny, or send for human review before the final action is executed.
  2. What related research exists?

    Related work divides defenses into model-level and system-level categories; Table 1 compares features with 10 existing works.

    Model-level defenses

    • SecAlign (2025), Think twice before you act (2025), etc.—enhance the robustness of the agent's underlying model through prompt engineering and fine-tuning. The paper cites recent research (BadAgent 2024, Adaptive attacks 2025) stating that defenses relying solely on improving model capability can still be bypassed by adaptive attacks.

    System-level defenses: auxiliary LLM detection

    • ACE (2025), AgentDoG (2026), IsolateGPT (2024), etc.—use auxiliary LLMs to detect and block malicious intent during agent execution. The footnote of Table 1 notes that existing LLM-based verification methods rely on a unified prompt, and users cannot customize prompts for specific scenarios or security needs.

    System-level defenses: policy enforcement

    • CaMeL (2025), SECAgent (2026), Progent (2025), AgentSpec (2025), ClawSentry (2026), AgentBound (2026), Agent Gov. Toolkit (2026)—ensure security by enforcing predefined security policies. Shortcomings noted in the footnote of Table 1 include: ClawSentry is difficult to extend to policies for multi-tool scenarios, and its post-execution rules are hard-coded; AgentSpec custom policies require extensive manual writing of rule detection logic; IsolateGPT triggers human review only upon LLM request.

    Comparison baselines and benchmarks: The paper has no experimental baselines or benchmark datasets; Table 1 compares the above 10 works across five dimensions—risk type (single-tool/cross-tool), intervention stage (pre-/post-execution), decision mechanism (rule/LLM/human), compatibility (framework/language/agent decoupling/low intrusion), and ease of use (visual configuration and auditing/dynamic rule updates)—and the AgentGuard row is marked as supported in all dimensions.

    The authors position this paper as a framework that simultaneously covers single-tool and cross-tool risks, supports three decision mechanisms, enables low-intrusion integration across languages and frameworks, and provides visual policy management (per Table 1 and Section 2.1).

  3. How does the paper address this problem?

    Client-server architecture: the client intercepts tool calls with low intrusion, and the server adjudicates using three mechanisms: rules, LLM, and human.

    AgentGuard is an attribute-based access control framework; the overall idea is to separate security control from the agent's own planning and task logic: the client intercepts each tool call and reports the context, and the server adjudicates allow, deny, or send for manual review according to policy.

    Client: low-intrusion integration

    • Multi-language SDK: SDKs are provided for multiple programming languages; integration requires only about 10 lines of code changes and does not alter the underlying agent execution logic.
    • Runtime interception: the client monitors each tool call, forwards the relevant context to the server, and enforces the allow or deny decision returned by the server.
    • Framework adapters: adapters are provided for mainstream agent frameworks such as LangChain, AutoGen, and OpenAI Agents SDK, with no need to modify framework internals or refactor the agent.

    Server: three complementary inspection mechanisms

    • Rule-based detection: checks tool calls against declarative policies.
    • LLM-assisted detection: uses an LLM to assist judgment; the paper does not state the LLM used or prompt details.
    • Manual verification: escalates tool calls to manual review, with review requests presented in the frontend.
    • Together the three mechanisms cover single-tool and cross-tool security risks; one control server can manage and inspect multiple concurrent agent sessions.

    Policies and attributes

    • Declarative policies: policies describe when to allow, deny, or send for review, and can reference agent identity (principal information includes identity, session, role, trust level), tool attributes, tool parameters, target addresses, and session history.
    • Single-tool and sequence checks: supports both simple checks on a single tool call and cross-tool checks on action sequences.
    • Configuration: policies can be written in a DSL or configured through a visual frontend with parameterized forms.

    Visual frontend and deployment process

    • Runtime monitoring: the frontend displays connected agents, tools, recent activity, and pending review requests; for each tool call, the matched rules, final decision, and audit metadata can be viewed.
    • Four deployment steps: start the control server → integrate on the agent side → configure access control policies → runtime monitoring through the frontend (Section 2.2).
    • Release: the authors state that AgentGuard has been publicly released on GitHub under the MIT License.
  4. What experiments did the paper conduct?

    The paper reports no quantitative experiments; only Table 1 gives a feature comparison with 10 existing works.

    Experimental Setup

    • Quantitative experiments: The paper has no Experiments/Evaluation section and reports no quantitative evaluation.
    • Models and datasets tested: The paper runs no models or datasets in experiments; the main text mentions Codex and OpenClaw as examples of mainstream agent applications, and LangChain, AutoGen, and OpenAI Agents SDK as adapted frameworks, but reports no evaluation numbers on them.
    • Metrics and review method: The paper defines no evaluation metrics and does not describe a review model or human evaluation process.

    Main Results

    The only results-like content in the paper is the feature comparison in Table 1 (not experimental numbers): across the five dimensions of risk type, intervention stage, decision mechanism, compatibility, and ease of use, the AgentGuard row is marked as supported (✔) in all sub-dimensions, while the other 10 works each have gaps or partial support.

    • On this basis the authors claim that AgentGuard provides broader risk coverage, more flexible decision mechanisms, and seamless integration across languages and frameworks (Section 2.1); this comparison is a presence/absence comparison of features, not a measurement of effectiveness.
    • The footnote of Table 1 also lists criticisms of specific works (e.g., ClawSentry's post-execution rules are hard-coded, AgentSpec requires manual implementation of detection logic); these are the authors' functional comparisons and are not accompanied by evaluation data.

    Other Ablations and Analyses

    The paper reports no quantitative results from ablations, parameter analyses, human evaluations, or case studies.

  5. What are some points that can be further explored?

    The authors list three future plans; the paper reports no experimental evaluation as evidence.

    Limitations and future directions noted by the authors

    • Support for more mainstream agent frameworks: the authors plan to extend AgentGuard to support more mainstream agent frameworks (2.4 Future Plan).
    • Multi-agent scenarios: the authors plan to implement protection for multi-agent scenarios (2.4).
    • Monitoring LLM inputs and outputs: the authors plan to add monitoring of LLM inputs and outputs and to automatically recommend security policies for different agents (2.4).
    • The paper has no Limitations section; apart from the above future plans, no other limitations are explicitly stated.

    Scope of experimental coverage

    • The paper reports no quantitative experiments: no tested models, no benchmark datasets, no metrics, no review method, no sample size or number of repetitions.
    • The paper reports no effectiveness numbers for the three inspection mechanisms (rule-based detection, LLM-assisted detection, manual verification), individually or in combination, and does not state which model is used for LLM-assisted detection.
    • The paper reports no evaluation against adaptive attacks, and no data on utility loss, latency, or false refusals caused by the defense.
    • The paper does not state the specific programming languages supported on the client side, only that adapters are provided for LangChain, AutoGen, and OpenAI Agents SDK (Section 2.2).
  6. Summarize the main content of the paper

    AgentGuard: an attribute-based access control framework for tool-calling agents, with no quantitative evaluation in the paper.

    A system-defense paper proposing AgentGuard—an attribute-based access control framework for tool-calling LLM agents.

    • Problem to solve: The authors state that LLM agents face security risks that can lead to privacy leakage, economic loss, and even complete system compromise, while existing model-level and system-level defenses suffer from incomplete risk coverage, poor compatibility, and complex policy configuration (per Table 1 and the Introduction).
    • Method highlights: Client-server architecture. The client integrates with existing agents with about 10 lines of code changes (providing adapters for LangChain, AutoGen, and OpenAI Agents SDK), intercepts each tool call, and reports context; the server, according to declarative policies, adjudicates allow, deny, or send for review using three complementary mechanisms—rule-based detection, LLM-assisted detection, and human verification—covering single-tool and cross-tool risks; a visualization frontend supports policy configuration, runtime monitoring, and auditing.
    • Main results: The paper has no quantitative experiments. Table 1 compares 10 existing works across five dimensions, and AgentGuard is marked as supported in all dimensions; on this basis the authors claim broader risk coverage, more flexible decision mechanisms, and more seamless integration.
    • Authors' conclusion and plans: The authors state that AgentGuard can be seamlessly integrated into existing agent applications and will be open-sourced under the MIT License; they plan to support more frameworks and multi-agent scenarios in the future, and to add LLM input/output monitoring and automatic policy recommendation (Section 2.4).
Read originalarxiv.org