TL;DR: As applications add AI agents, authorization becomes harder to reason about because policy checks must stay tightly scoped, auditable, and predictable across multi-tenant and multi-step workflows, according to WorkOS. The real issue is not policy syntax but the identity foundation underneath it: if identity data is weak, downstream authorization cannot be trusted.
At a glance
What this is: This is an analysis of how centralized authorization engines fit into modern application stacks, and its key finding is that AI agent authorization only works when the identity layer is trustworthy.
Why it matters: It matters because IAM teams must align authentication, lifecycle, and policy evaluation across human users, service identities, and AI-driven workflows, or authorization decisions will drift from the real identity of the actor.
By the numbers:
- 92% of organisations expose NHIs to third parties, raising concerns about supply chain security.
- 79% of organisations have experienced secrets leaks, with 77% of these incidents resulting in tangible damage.
👉 Read WorkOS's analysis of Oso for AI agent security and authorization
Context
Authorization is the control plane that decides what an authenticated identity can do, but it only works when the upstream identity signal is accurate. In AI agent workflows, that means policy evaluation depends on clean authentication, reliable tenant context, and clear task boundaries before any action is allowed.
The article is really about the separation between identity and policy. That separation matters for IAM programmes because modern environments now combine human users, service accounts, and software-driven actors, and each of those identities can change the risk profile of the same access decision.
Key questions
Q: How should security teams govern AI agent access to application data?
A: Security teams should treat AI agent access as delegated authority with explicit task scope, tenant scope, and data scope. The safest pattern is to authorize retrieval before content reaches the model, log each allow or deny decision, and ensure the identity source includes trustworthy authentication and lifecycle state. Without that foundation, the policy layer only formalizes bad inputs.
Q: Why do centralized authorization engines still depend on strong identity foundations?
A: Because authorization only works when the system knows exactly who or what is asking for access, which tenant they belong to, and which claims are current. Centralized policy makes decisions consistent, but it does not fix stale identities, broken directory data, or missing lifecycle events. Identity trust remains the source of truth for every downstream policy evaluation.
Q: What breaks when tenant context is not propagated correctly in multi-tenant systems?
A: Access decisions become ambiguous, and policy engines may allow or deny actions based on incomplete context. That creates cross-tenant leakage risk, inconsistent audit records, and difficult incident response because reviewers cannot reconstruct which tenant was actually in scope. In practice, the failure is usually not the rule itself but the loss of identity context between services.
Q: How do AI agents change the way IAM teams think about authorization?
A: AI agents turn authorization into a runtime delegation problem. Instead of checking a single user request, teams must govern multi-step behaviour, pre-retrieval data access, and decisions made on behalf of a human. That means access scope must be bounded more tightly, and identity governance must account for the actor that executes the work, not just the person who started it.
Technical breakdown
Policy engines and centralized authorization decisions
A centralized policy engine moves access logic out of application code and into a dedicated decision layer. That model helps teams express RBAC, ABAC, and relationship-based access in one place, instead of scattering checks across services. The technical benefit is consistency: the same identity can receive the same answer across systems, which reduces logic drift and audit blind spots. The trade-off is dependency on accurate identity and context inputs. If the authentication layer is weak, stale, or incomplete, the policy engine simply makes cleaner decisions on bad data.
Practical implication: teams should treat the policy layer as only as trustworthy as the identity attributes and tenancy data feeding it.
AI agent authorization and task-scoped access
AI agents complicate authorization because they may act on behalf of a user across multiple steps, tools, and data sources. That creates a mismatch between a static permission model and dynamic runtime behaviour. A policy engine can limit resource retrieval before prompts are built, which is safer than trying to constrain the model after the fact. But the central challenge remains the same: the agent is executing with borrowed authority, so scope, context, and auditability must be explicit at decision time, not inferred after execution.
Practical implication: build pre-retrieval authorization checks around agent workflows rather than relying on prompt-time restrictions.
Multi-tenant identity boundaries in modern applications
Multi-tenant systems rely on precise tenant separation, because the same action may be allowed in one org and denied in another. Authorization engines are useful here because they can encode ownership, hierarchy, and relationship rules without duplicating them in every service. The real architectural risk is cross-tenant leakage caused by ambiguous identity context or poorly propagated claims. When the tenant boundary is unclear, policy logic cannot reliably distinguish legitimate access from accidental overreach.
Practical implication: teams should validate that tenant context survives every hop between authentication, authorization, and downstream service calls.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- AI LLM hijack breach — attackers used stolen AWS access keys to hijack Anthropic LLM models on Bedrock.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Authorization is not the primary control problem here. Identity trust is. The article correctly separates authentication from policy evaluation, and that is the right boundary for modern IAM architecture. A policy engine can only answer questions about access if the upstream identity claims, tenant context, and lifecycle state are already reliable. Practitioners should read this as a reminder that authorization debt often starts as identity debt.
AI agent authorization exposes a task-scoping problem, not just a policy-expression problem. When an actor can take multiple steps on behalf of a user, the question is no longer whether a role exists. The question is whether the borrowed authority is bounded tightly enough to the task, the tenant, and the data set. That makes auditability and context propagation core governance issues, not implementation details.
Context propagation is the real failure mode in distributed access decisions. The article shows why centralized policy logic is appealing, but the hidden dependency is clean identity context moving across services. If directory, group, resource ownership, or tenant claims degrade at any hop, the policy engine becomes a formal wrapper around an incomplete truth. Practitioners should treat context continuity as part of the control, not an integration afterthought.
Task-scoped authorization should be treated as a governance pattern, not a feature checkbox. AI agents and multi-tenant applications both demand narrower decision boundaries than traditional application roles usually provide. That does not make authorization engines sufficient on their own. It means identity teams must align authentication, policy design, and lifecycle controls so the actor can be governed at the same precision as the task it performs.
From our research:
- 92% of organisations expose NHIs to third parties, raising concerns about supply chain security, according to Ultimate Guide to NHIs.
- Our research also shows that 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, underscoring how often delegated access becomes the entry point.
- For broader context on lifecycle controls, Ultimate Guide to NHIs maps how visibility, rotation, and offboarding reduce the blast radius of overextended identity trust.
What this signals
Authorization engines will not compensate for weak identity governance, because policy evaluation inherits whatever the identity layer exposes. As applications mix human users, service accounts, and AI-driven execution, the practical signal is whether identity context remains intact across every hop. Teams that lose tenant or lifecycle context will see authorization drift even when the policy model looks clean on paper.
Delegated access is becoming the dominant governance pattern for AI workloads, and that changes how IAM teams should design controls. The control question is no longer only who is authenticated. It is whether the system can preserve provenance, scope, and revocation across multi-step execution without confusing user intent with machine action. That is where policy, lifecycle, and audit must converge.
Task-bounded authorization will matter more as agentic systems spread into enterprise workflows. The more decisions an agent can take on behalf of a user, the more important it becomes to restrict retrieval, preserve tenant boundaries, and tie every decision back to a current identity source. For practitioners, the signal is clear: authorization architecture is now an identity programme problem as much as an application design problem.
For practitioners
- Separate identity trust from policy logic Map which team owns authentication, which owns authorization rules, and which owns the identity attributes feeding those rules. Keep tenant, group, and ownership claims explicit so policy checks do not depend on implicit application state.
- Add pre-retrieval checks for AI agent workflows Authorize document and data access before content enters the model context window. This reduces the chance that an agent can leak information it was never permitted to see.
- Validate tenant context at every service hop Test whether tenant identifiers, user claims, and resource ownership survive API calls, worker queues, and delegated execution paths without drift or truncation.
- Tie policy rules to lifecycle state Revoke or narrow permissions when users, service accounts, or agents change role, tenant, or status. Authorization rules should fail closed when the identity source is stale or incomplete.
- Audit agent actions as delegated authority events Log which user, tenant, and task initiated each agent decision so reviewers can distinguish human intent from machine-executed steps after the fact.
Key takeaways
- Centralized policy engines improve consistency, but they do not fix weak identity data or stale lifecycle state.
- AI agents turn authorization into a delegated runtime problem, which makes task scope and tenant context critical controls.
- IAM teams should align authentication, policy, and lifecycle governance before relying on policy engines for production access decisions.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A1 | AI agent delegated access and tool-use boundaries are central to the article. |
| OWASP Non-Human Identity Top 10 | NHI-03 | Policy decisions depend on trustworthy non-human identity context and lifecycle state. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | The article centers on continuous access evaluation across services and tenants. |
Treat service and agent identities as governed NHIs with explicit lifecycle and revocation controls.
Key terms
- Authorization Engine: A centralized system that evaluates whether an authenticated identity can perform a requested action on a resource. In modern application stacks, it separates policy from code, but it still depends on accurate identity, tenant, and lifecycle data to make trustworthy decisions.
- Task-scoped Access: Access that is limited to a specific action, workflow, or session objective rather than broad standing permission. For AI agents, task scope is the main way to constrain borrowed authority so the actor cannot wander beyond the work it was assigned.
- Tenant Context: The set of identity and ownership signals that identify which organisation, workspace, or domain an action belongs to. In multi-tenant systems, tenant context must survive every hop between authentication, policy evaluation, and downstream service execution or access control can drift.
Deepen your knowledge
Authorization, identity trust, and delegated access are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building controls for AI agents or multi-tenant applications, it is worth exploring.
This post draws on content published by WorkOS: Oso for AI Agent Security: Features, Pricing, and Alternatives. Read the original.
Published by the NHIMG editorial team on 2025-11-04.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org