Netinfo Security ›› 2026, Vol. 26 ›› Issue (9): 1447-1454.doi: 10.3969/j.issn.1671-1122.2026.09.010

Previous Articles     Next Articles

Dynamic access control method for agent tool invocation

Wang Ri1(), Li Jian2, Wu Yabiao1   

  1. 1 Topsec Technologies Inc., Beijing 100193, China
    2 School of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China
  • Received:2026-06-09 Online:2026-09-10 Published:2026-09-30
  • Contact: Wang Ri E-mail:wang_ri@topsec.com.cn

Abstract:

The model context protocol provides a standardized interaction paradigm for tool invocation by LLM-based agents and enables compatibility with third-party servers. However, this open access model makes it difficult to constrain the evolving behavior of agents during multi-step tool invocation, increasing the uncertainty of runtime permission boundaries and consequently introducing risks such as unauthorized access and permission drift. This paper proposed MCP-DAC, a dynamic access control method that integrated fine-grained attribute-based authorization with event-flow graph constraints. During the trial phase, MCP-DAC automatically collected benign tool invocation logs, generated policy-based access control rules, and constructed an event transition graph for each session; at runtime, it performed attribute validation and path validation for each MCP request. Prototype experimental results with MCP Servers in multiple scenarios show that MCP-DAC effectively blocks various anomalous requests while causing limited interference with normal tool invocation workflows.

Key words: model context protocol, dynamic authorization, session event flow graph, policy-based access control

CLC Number: