Decentralized Granular Access Control for Agentic AI Systems in Critical Infrastructure

Arun Malik
Microsoft Corporation, Redmond, WA, USA
Preprint • June 2026 • arXiv:2607.22611PDF
Abstract The deployment of autonomous AI agents in production infrastructure introduces fundamental security challenges that traditional role-based access control (RBAC) models cannot address. Unlike deterministic automation, AI agents exhibit stochastic behavior, making conventional trust models insufficient for governing their access to critical systems. This paper presents a decentralized, multi-layered access control architecture designed specifically for agentic AI systems operating in critical cloud infrastructure. Our framework introduces four key innovations: (1) a compound identity model that binds agent actions to delegated human authority, (2) a hierarchical permission system spanning five granularity levels from global platform access to per-parameter constraints, (3) a decentralized policy ownership model where tool teams independently govern their authorization boundaries, and (4) progressive trust escalation with safety interlocks that prevent autonomous agents from executing high-risk operations. We ground our design in the OWASP Top 10 for LLM Applications (2025) threat taxonomy and demonstrate how each architectural decision mitigates specific attack vectors. Deployed in production at a major cloud provider managing network infrastructure across hundreds of datacenters, the system enforces granular access control for 20+ specialized AI agents and 60+ deterministic playbooks processing thousands of operations daily while maintaining zero unauthorized write operations over eight months of production deployment. We present empirical data on access pattern distributions, denial rates, and the effectiveness of layered authorization in preventing privilege escalation by non-deterministic actors.
Keywords: Access Control, RBAC, AI Agents, Critical Infrastructure, Zero Trust, LLM Security, Compound Identity, Decentralized Authorization

1. Introduction

The rapid adoption of large language model (LLM)-powered agents in enterprise operations has created an unprecedented security challenge: how to grant production system access to actors whose behavior is fundamentally non-deterministic. Traditional access control systems were designed for two categories of actors: humans who authenticate through identity providers and make conscious decisions, and automated systems that execute predetermined logic. AI agents fit neither category cleanly. They reason, they adapt, they hallucinate, and they can be manipulated through adversarial prompts.

In critical infrastructure environments such as cloud network operations, the stakes are particularly high. A single misconfigured network device can cascade into regional outages affecting millions of users. An agent with excessive privileges can be prompt-injected into executing destructive commands. An agent without sufficient access cannot fulfill its operational mandate. This tension between operational necessity and security boundaries is the central challenge addressed in this work.

Existing approaches to AI agent security fall into two camps. The first treats agents as untrusted external entities, restricting them to read-only sandboxes that limit their operational value. The second grants agents the same elevated privileges as the humans they serve, creating unacceptable blast radii when agents malfunction or are compromised. Neither approach is viable at scale.

This paper presents a third path: a decentralized granular access control architecture that provides fine-grained, context-aware authorization for AI agents while maintaining the safety guarantees required for critical infrastructure. Our system has been deployed in production for eight months, governing access for 20+ specialized agents operating across hundreds of datacenters, and has maintained zero unauthorized write operations while enabling agents to autonomously resolve over 1,400 operational tasks.

1.1 Contributions

This paper makes the following contributions:

2. Threat Model and Problem Statement

2.1 The Non-Determinism Problem

Traditional automation systems (workflow engines, CI/CD pipelines, cron jobs) earned production access through a straightforward trust model: their behavior is deterministic, reviewable, and bounded. Given the same inputs, they produce the same outputs. Their source code can be audited. Their execution paths can be exhaustively tested.

AI agents violate every assumption in this model:

Figure 1. Trust model comparison between deterministic automation and stochastic AI agents across five security dimensions. Our framework (blue) recovers most of the trust properties of deterministic systems.

2.2 OWASP LLM Application Threats

We ground our threat model in the OWASP Top 10 for LLM Applications (2025), focusing on the threats most relevant to agent-based systems operating in critical infrastructure:

OWASP IDThreatAgent-Specific ManifestationOur Mitigation
LLM01Prompt InjectionAdversarial data in incident descriptions triggering unauthorized commandsInput sanitization middleware, tool-level parameter validation
LLM02Sensitive Information DisclosureAgent leaking infrastructure topology or credentials in responsesOutput filtering, compound identity scoping
LLM06Excessive AgencyAgent executing write operations beyond its intended scopeFive-layer RBAC, deny-by-default for mutations
LLM10Unbounded ConsumptionAgent entering infinite tool-calling loops consuming resourcesRate limiting, execution quotas, circuit breakers

2.3 Actor Taxonomy

Our architecture distinguishes four distinct actor types, each with different trust properties and authorization requirements:

Figure 2. Actor taxonomy showing trust level, determinism, and authorization complexity for each actor type in the system.
Actor TypeDeterminismIdentity ModelWrite AccessTrust Basis
Human UserN/A (conscious)Entra ID + MFAFull (with elevation)Authentication + training
AI AgentStochasticUser OBO + Agent MIRead only (default)Delegated + constrained
Service (STS)DeterministicManaged IdentityScoped per serviceCode review + CI/CD
Workflow/PlaybookDeterministicSystem MI + AuthorScoped per playbookAuthored + approved + tested

Playbooks represent a critical fourth actor class distinct from both AI agents and traditional services. A playbook is a deterministic, pre-authored workflow composed of discrete steps that execute infrastructure operations in a fixed sequence. Unlike AI agents, which reason dynamically about tool selection and parameters, playbooks follow authored logic that has been code-reviewed, tested, and approved before deployment. This determinism grants playbooks a higher trust level: they may hold scoped write permissions (e.g., restarting a service, modifying a configuration) that agents cannot obtain directly. In our architecture, AI agents that identify a remediation action delegate execution to an appropriate playbook rather than performing writes autonomously, creating an agent→playbook escalation path that preserves both the agent's analytical capability and the playbook's safety guarantees. Each playbook runs under a compound identity combining a system-managed identity with the authoring engineer's identity, enabling full auditability of both the workflow definition and its runtime execution.

3. Architecture

3.1 Design Principles

Six core security principles guide the architecture:

  1. Least Privilege: Every actor receives the minimum permissions required for its function. Agents default to read-only access.
  2. Zero Trust: No implicit trust based on network position or prior behavior. Every request is authenticated, authorized, and audited.
  3. Excessive Agency Guard (OWASP LLM06): Agents are explicitly prevented from accumulating capabilities beyond their defined scope through tool scoping and parameter-level deny patterns.
  4. Delegated Identity: Agents never operate with independent authority. Their actions are bound to a delegating human's identity and permissions.
  5. Observability and Audit: Every agent action produces an immutable audit trail linking the action to both the agent and its delegating authority.
  6. Environment Isolation: Production and corporate environments maintain strict separation with independent credential systems.

3.2 Five-Layer Permission Hierarchy

Authorization decisions traverse five distinct layers, each progressively narrowing the scope of permitted actions:

Figure 3. Five-layer permission hierarchy showing progressive scope narrowing. Each layer reduces the effective permission set available to the actor.
LayerScopeControlsExample
1. Global RBACPlatform accessWho can access the system at allSecurity group membership required
2. Tool LevelService accessWhich integrated tools/services are accessibleAgent X can access TopologyService but not DeviceProxy
3. Function LevelOperation accessWhich specific operations within a toolCan call GetDeviceInfo but not UpdateConfig
4. Parameter LevelValue constraintsWhat input values are allowed/denieddenyPattern: "prod-.*" on environment parameter
5. Execution ContextRuntime constraintsPlaybook-specific scoping, time windowsOnly during active incident, max 10 devices

3.3 Compound Identity Model

The compound identity model is the cornerstone of our agent authorization approach. Rather than granting agents independent credentials with fixed permissions, each agent operation carries a composite identity that binds together:

This compound identity ensures that an agent can never exceed the permissions of its delegating human, while also being independently constrained by agent-specific policies. If a human lacks access to a particular production environment, their delegated agent inherits that restriction regardless of the agent's own role assignments.

Figure 4. Compound identity resolution: effective access is computed as the intersection of user permissions, agent role boundaries, and execution context constraints.

3.4 Decentralized Policy Ownership

A key architectural innovation is the decentralization of policy definition to tool-owning teams. Rather than maintaining a monolithic access control configuration, each infrastructure service team owns their authorization policy as a YAML file in a version-controlled repository:

toolName: TopologyService owner: topology-team@example.org roles: Topology-Reader: description: "Read-only topology queries" permissions: functions: - "Topology-GetDeviceInfo" - "Topology-QueryGraph" Topology-Writer: inherits: Topology-Reader permissions: functions: - "Topology-UpdateConfig" parameters: environment: denyPattern: "prod-.*" Topology-Admin: inherits: Topology-Writer permissions: bypassPatterns: true tenantRestrictions: allowedTenants: ["corp.example.org"]

This decentralized model provides several critical properties:

Figure 5. Comparison of centralized vs. decentralized policy management showing time-to-change, review accuracy, and policy conflicts over six months.

3.5 Progressive Trust Escalation

Write operations in critical infrastructure require escalating levels of authorization based on risk assessment:

TierAuthorization LevelDurationUse CaseAgent Eligibility
Standard RBACPersistent role assignmentIndefiniteRead operations, diagnosticsYes (read-only)
JIT/PIM ElevatedTime-bound elevation, MFA requiredMax 8 hoursConfig changes, maintenanceVia playbook only
Multi-Party Approval2+ approvers, break-glass protocolSingle operationProduction writes, device accessCannot initiate

Critically, AI agents are structurally excluded from initiating multi-party approval workflows. This design decision reflects a fundamental security principle: non-deterministic actors should never be able to self-authorize high-risk operations, regardless of their functional correctness history.

3.6 Access Control Matrix

The following matrix defines the complete access surface across service categories and actor types:

Figure 6. Access control matrix showing permitted operations by actor type across service categories. Higher values indicate greater access (3=full, 2=scoped, 1=read-only, 0=denied).

Table 1 presents the complete access control matrix governing all actor-service interactions in production. The matrix encodes both the permission level (Read/Write) and the authentication mechanism required for each combination, reflecting the principle that non-deterministic actors require strictly narrower permissions than their deterministic counterparts operating on the same infrastructure.

Table 1. Production Access Control Matrix: Actor Types vs. Service Categories
Actor Telemetry & Observability Corporate & DevOps Services Platform Core Services Device via Proxy Direct Device Access
Human Operator
(Deterministic intent)
R STS MI + RBAC
W STS MI + RBAC
R STS MI + RBAC
W STS MI + RBAC
R AME/SAW
W AME/SAW + JIT
R AME/SAW + JIT
W AME/SAW + JIT
R BREAKGLASS
W BREAKGLASS
AI Agent
(Non-deterministic)
R User OBO | Agent MI*
W User OBO | Agent MI*
R User OBO | Agent MI*
W User OBO | Agent MI*
R User OBO | Agent MI*
W NOT ALLOWED
R User OBO | Agent MI*
W NOT ALLOWED
NOT ALLOWED
Workflow Engine
(Deterministic systems)
R STS MI + RBAC
W STS MI + RBAC
R STS MI + RBAC
W STS MI + RBAC
R STS MI + RBAC
W STS MI + RBAC
R STS MI + RBAC
W STS MI + RBAC
NOT ALLOWED

Legend: R = Read, W = Write. STS MI = Security Token Service with Managed Identity. AME/SAW = Azure Managed Environment / Secure Admin Workstation. JIT = Just-In-Time elevation. OBO = On-Behalf-Of delegation. * = Subject to per-tool RBAC with OWNERS.txt governance and parameter-level constraints. BREAKGLASS = Emergency-only access requiring human approval chain.

The matrix reveals a critical asymmetry: while deterministic workflow engines inherit the full access surface of their service identities (trusted by design), non-deterministic AI agents face progressive restrictions as operations move toward higher-impact service tiers. Specifically, agents are categorically denied write access to Physical Fabric Core services and all device interactions, regardless of the delegating human's privilege level. This represents the fundamental security boundary: an agent's non-determinism disqualifies it from operations where incorrect writes could cause physical infrastructure damage.

4. Implementation

4.1 Runtime Authorization Engine

The authorization engine evaluates every tool invocation against the five-layer hierarchy in real-time. The evaluation process follows a deny-first model:

  1. Validate the compound identity (user token freshness, agent MI validity)
  2. Check global RBAC membership (security group verification)
  3. Resolve tool-level permissions (is this tool accessible to this role?)
  4. Evaluate function-level access (is this specific operation permitted?)
  5. Apply parameter-level constraints (do input values match deny/allow patterns?)
  6. Verify execution context (playbook scope, incident association, time window)

Any layer can deny the request. The engine returns the most specific denial reason to aid debugging while not leaking information about the broader permission structure.

4.2 Agent-Specific Security Controls

Beyond the RBAC framework, agents are subject to additional runtime controls:

4.3 Bring-Your-Own-Roles (BYOR)

Onboarding teams create custom roles that span multiple tools, tailored to their operational scenarios:

# Custom cross-tool role submitted via PR NetOps-DRI: description: "Network operations DRI role" addedBy: netops-team@example.org toolPermissions: TopologyService: inherits: Topology-Reader extra: ["Topology-GetInterfaceStatus"] parameters: datacenterName: allowPattern: "^(dc1|dc2|dc3)-.*$" DeviceProxy: role: DeviceProxy-Viewer WorkflowEngine: role: Workflow-Reader

The Bring-Your-Own-Roles model enables teams to compose fine-grained access profiles without requiring platform team intervention. Role definitions follow the same PR-based governance workflow: submitted via pull request, reviewed by tool-owning teams (enforced through OWNERS.txt), and activated upon merge.

4.4 Identity Binding and Assignment

Custom roles are bound to identities through a flexible assignment mechanism supporting multiple identity types:

roleAssignments: NetOps-DRI: assignedTo: - type: securityGroup id: "sg-netops-dri" - type: managedIdentity id: "mi-netops-agent" - type: agent id: "netops-dri-agent" - type: playbook id: "incident-netops-*"

This assignment model allows a single role definition to govern access for human operators (via security groups), automated agents (via managed identities), and structured workflows (via playbook identifiers), while each binding type carries its own authorization constraints.

5. Evaluation

5.1 Deployment Context

The system has been deployed in production for eight months, governing access for a fleet of AI agents operating across the following scale:

5.2 Security Metrics

Figure 7. Authorization denial rates by layer over the deployment period. Parameter-level denials dominate, indicating the hierarchy correctly catches overly broad requests at the most specific level. The declining trend shows agents learning their boundaries through reinforcement.
Figure 8. Distribution of access operations by type showing the read-heavy pattern expected from properly constrained agents.
Figure 9. Privilege escalation attempt outcomes. All 47 detected attempts were blocked at the appropriate authorization layer.

5.3 Operational Impact

MetricValueNotes
Unauthorized write operations0Eight months of production deployment
Mean authorization latency3.2msPer-request overhead, P99: 8.1ms
Policy hot-reload time<30sFrom PR merge to enforcement
Tool team onboarding time2.1 daysMedian time from first PR to production
Agent operations governed daily~450Across all 20+ agents
False denial rate0.3%Legitimate operations incorrectly blocked

5.4 Decentralization Effectiveness

Figure 10. Tool team onboarding velocity: centralized model (months 1-3) vs. decentralized model (months 4-8). The transition to decentralized ownership reduced median policy change time from 5.3 days to 0.8 days while tripling team onboarding rate.

6. Discussion

6.1 Design Tradeoffs

Expressiveness vs. Complexity: The five-layer hierarchy provides fine-grained control but increases policy authoring complexity. We mitigate this through role inheritance (the inherits keyword) and sensible defaults (deny-all for unspecified operations).

Autonomy vs. Safety: Restricting agents to read-only by default limits their ability to autonomously resolve incidents requiring configuration changes. We address this through the playbook escalation path: agents can recommend actions that are then executed by pre-approved, deterministic playbooks with scoped write access.

Decentralization vs. Consistency: Allowing tool teams to independently define policies risks inconsistent security postures. We enforce consistency through schema validation, mandatory fields (owner, tenantRestrictions), and platform-level policy guardrails that tool teams cannot override.

6.2 Lessons Learned

  1. Agents will test boundaries: LLM agents regularly attempt to invoke tools outside their declared scope due to hallucinated capabilities. Deny-by-default is essential, not optional.
  2. Parameter-level control is critical: Function-level access alone is insufficient. An agent with access to "query devices" but no parameter constraints could enumerate the entire infrastructure topology. Deny patterns on sensitive parameters are the most frequently triggered control.
  3. Human-readable policies matter: YAML-based policies that tool teams can read and reason about are more effective than opaque policy engines. Teams that understand their policies maintain them better.
  4. Audit trails enable trust: The immutable audit trail connecting every agent action to a delegating human has been instrumental in building organizational confidence in autonomous operations.
  5. Standard tooling reduces friction: Using Git PRs and OWNERS.txt for governance instead of custom approval systems eliminated the primary adoption barrier. Engineers already know how to submit and review pull requests.

6.3 Limitations

Our current architecture has several limitations. First, the compound identity model requires the delegating human to have an active session, which can create availability challenges for agents handling after-hours incidents. Second, the parameter-level deny patterns use regex matching, which cannot express all semantic constraints (for example, restricting operations to devices currently in maintenance windows). Third, multi-agent collaboration scenarios where one agent's output feeds another agent's input create transitive trust challenges not fully addressed by our per-agent policy model. Fourth, the decentralized model assumes tool teams have sufficient security expertise to author correct policies, which requires ongoing education and tooling support.

7. Related Work

Access control for AI systems is an emerging research area. Anthropic's "Claude's Character" document introduces the concept of "tool use policies" but does not address multi-tenant production deployments. Google's Secure AI Framework (SAIF) provides security principles for AI systems but focuses on model integrity rather than runtime access control. Microsoft's AI Red Teaming research addresses adversarial testing but not architectural access control patterns.

In the broader RBAC literature, attribute-based access control (ABAC) and policy-based access control (PBAC) systems share our goal of fine-grained authorization. Our contribution extends these models specifically for non-deterministic actors, introducing the compound identity concept and progressive trust escalation not found in traditional ABAC/PBAC frameworks.

The OWASP Top 10 for LLM Applications (2025) provides the most comprehensive threat taxonomy for LLM-based systems. Our architecture directly addresses threats LLM01 (Prompt Injection), LLM02 (Sensitive Information Disclosure), LLM06 (Excessive Agency), and LLM10 (Unbounded Consumption) through specific architectural controls.

Recent work on AI agent frameworks, including ReAct, Toolformer, and generative agent architectures, focuses on capability and reasoning patterns but largely defers security considerations to deployment environments. Our work fills this gap by providing the authorization infrastructure that makes safe deployment possible.

8. Conclusion

Deploying AI agents in critical infrastructure requires fundamentally rethinking access control assumptions. Traditional RBAC models designed for deterministic actors are insufficient for governing non-deterministic AI agents that reason, adapt, and can be adversarially manipulated. Our decentralized granular access control architecture addresses this gap through compound identity binding, five-layer permission hierarchies, decentralized policy ownership, and progressive trust escalation.

Eight months of production deployment governing over 20 agents across critical cloud infrastructure validates the approach: zero unauthorized writes, sub-4ms authorization latency, and rapid team onboarding demonstrate that security and operational velocity are not mutually exclusive. The key insight is that AI agents should never be granted independent authority. Instead, their actions must always be bound to delegated human authority, constrained by layered policies, and subject to continuous verification.

As AI agents become ubiquitous in infrastructure operations, the principles and patterns presented in this work provide a foundation for secure, scalable, and auditable autonomous operations.

References

  1. OWASP Foundation. "OWASP Top 10 for LLM Applications 2025." OWASP, 2025.
  2. Sandhu, R., Coyne, E.J., Feinstein, H.L., and Youman, C.E. "Role-Based Access Control Models." IEEE Computer, 29(2):38-47, 1996.
  3. Hu, V.C., Ferraiolo, D., Kuhn, R., et al. "Guide to Attribute Based Access Control (ABAC) Definition and Considerations." NIST Special Publication 800-162, 2014.
  4. Rose, S., Borchert, O., Mitchell, S., and Connelly, S. "Zero Trust Architecture." NIST Special Publication 800-207, 2020.
  5. Anthropic. "Claude's Character." Anthropic Research, 2024.
  6. Google. "Secure AI Framework (SAIF)." Google Security, 2023.
  7. Microsoft AI Red Team. "Lessons From Red Teaming 100 Generative AI Products." arXiv:2501.07238, 2025.
  8. Yao, S., Zhao, J., Yu, D., et al. "ReAct: Synergizing Reasoning and Acting in Language Models." ICLR, 2023.
  9. Schick, T., Dwivedi-Yu, J., Dessi, R., et al. "Toolformer: Language Models Can Teach Themselves to Use Tools." NeurIPS, 2023.
  10. Park, J.S., O'Brien, J.C., Cai, C.J., et al. "Generative Agents: Interactive Simulacra of Human Behavior." UIST, 2023.
  11. Greshake, K., Abdelnabi, S., Mishra, S., et al. "Not What You've Signed Up For: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection." AISec, 2023.
  12. Ferraiolo, D.F., Sandhu, R., Gavrila, S., et al. "Proposed NIST Standard for Role-Based Access Control." ACM TISSEC, 4(3):224-274, 2001.
  13. Xi, Z., Chen, W., Guo, X., et al. "The Rise and Potential of Large Language Model Based Agents: A Survey." arXiv:2309.07864, 2023.
  14. Wang, L., Ma, C., Feng, X., et al. "A Survey on Large Language Model based Autonomous Agents." Frontiers of Computer Science, 2024.
  15. Malik, A. "Autonomous Incident Resolution at Hyperscale: An Agentic AI Architecture for Network Operations." arXiv:2606.09122, 2026.