By NHI Mgmt Group Editorial TeamPublished 2025-11-10Domain: Agentic AI & NHIsSource: WorkOS

TL;DR: As AI agents move deeper into enterprise workflows, the control problem shifts from periodic privacy review to real-time identity, authorization, and data-flow governance, according to WorkOS and Relyance AI's comparison article. Monitoring what agents touched is not the same as governing what they are allowed to do, and that gap is now operationally material.


At a glance

What this is: This is an analysis of why AI agent security is moving beyond data visibility into identity, authorization, and lifecycle control.

Why it matters: IAM teams need to separate observability from control so they can govern AI agents, non-human identities, and human access with the right enforcement layer.

By the numbers:

  • 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems, inappropriately sharing sensitive data, and revealing access credentials.

👉 Read WorkOS's comparison of Relyance AI and enterprise AI agent authentication


Context

AI agent governance fails when teams treat privacy monitoring as a substitute for identity control. In practice, an agent can be visible in logs, data maps, and compliance dashboards while still lacking clear authentication, authorization, and lifecycle boundaries. That is the central problem in AI agent identity governance: knowing what data moved is not the same as knowing what the agent was permitted to do.

WorkOS uses the comparison to separate two layers that enterprise programmes often blur. Relyance AI focuses on data journeys, shadow AI detection, and compliance evidence, while the security problem for practitioners is whether the agent has a defensible identity, scoped access, and auditable delegation. That distinction matters across AI agents, service accounts, and human identities because governance breaks when evidence and enforcement sit in different control planes.


Key questions

Q: How should security teams govern AI agents that access enterprise data?

A: Security teams should govern AI agents as non-human identities with explicit ownership, scoped authorization, and a revocation path. Monitoring is useful, but it is not enough on its own. The governing question is whether the agent is authenticated through enterprise identity systems and whether its access can be removed when the task, model, or business owner changes.

Q: Why do AI agents create different IAM risks than normal applications?

A: AI agents can select actions dynamically, touch multiple systems in one workflow, and use data in ways that are harder to predict than fixed applications. That makes access scope, auditability, and approval boundaries more important. IAM programmes need to control delegation and lifecycle, not just login events.

Q: What breaks when shadow AI is not brought under identity governance?

A: What breaks is accountability. If the organisation cannot identify the agent, assign ownership, and define how access is reviewed or removed, it cannot reliably prove who used data or why. That leaves compliance teams with logs, but not governance.

Q: Who is accountable when an AI agent accesses data outside policy?

A: Accountability should sit with the business owner of the agent, the team that approved its access, and the security function that governs its identity. If those roles are unclear, the organisation has a governance gap rather than a tooling problem.


Technical breakdown

Data-flow observability versus enforcement

Data-flow observability tells you where information moved, how it was transformed, and which systems touched it. That is useful for privacy and breach investigation, but it is not the same as enforcement. A platform that maps journeys can surface policy violations after the fact, while an identity layer decides whether the actor could have performed the action at all. In AI environments, this distinction matters because agents can query, copy, transform, and hand off data across systems faster than human review cycles can respond.

Practical implication: separate monitoring tools from the identity controls that grant and revoke access, and do not treat lineage visibility as authorization.

Shadow AI detection and lifecycle management

Shadow AI refers to AI tools or agents introduced without security review, ownership, or governance hooks. Lifecycle management becomes the control plane for discovery, approval, recertification, and offboarding, but only if the organisation can identify the agent as a governed identity. Without that, the programme sees usage after deployment but cannot reliably tie the actor to an owner, policy, or deprovisioning event. This is where AI governance starts to resemble NHI governance, not human user administration.

Practical implication: require inventory, ownership, and offboarding paths for every AI agent before it is allowed to access production data.

Authentication infrastructure for AI agents

Production AI agents need a real identity layer, not just telemetry. That means federation, scoped access, directory alignment, and auditability so the agent can prove who or what it is when it reaches enterprise systems. For AI agents, identity is not a login screen problem. It is a delegation problem, because the system must verify the agent, bind it to policy, and constrain what it can do in each context without assuming a human is watching every step.

Practical implication: anchor AI agent access in enterprise identity systems and policy boundaries rather than app-local secrets or ad hoc API credentials.


Threat narrative

Attacker objective: The attacker wants to use an ungoverned AI agent as a trusted path to sensitive data and enterprise systems.

  1. Entry occurs when a shadow AI agent is introduced into enterprise workflows without formal identity onboarding or security review.
  2. Credential access or abuse follows when the agent reaches data or APIs through broad enterprise permissions that were never scoped to a specific task.
  3. Impact emerges when the agent processes or exposes sensitive data beyond policy intent, creating compliance, privacy, and breach-investigation blind spots.

Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Monitoring is not governance when the actor can already act. Real-time data mapping can reveal where an AI agent touched sensitive information, but it does not answer whether the agent should have had access in the first place. That leaves the programme with evidence after use, not control before action. Practitioners should treat visibility as an input to governance, not the governance layer itself.

Shadow AI becomes an identity problem the moment it reaches production. An unapproved agent is not just an inventory gap, it is an unowned identity with access potential, unclear lifecycle ownership, and weak accountability. That changes how teams think about recertification, offboarding, and audit trails across AI, NHI, and human governance. The practical conclusion is that every production agent needs an owner, a policy boundary, and a retirement path.

Authentication infrastructure defines whether AI agents can be trusted at enterprise scale. Data-security platforms can show contextual usage, but enterprises still need the agent to authenticate, inherit scoped permissions, and leave an audit trail that maps back to a governed identity. That puts identity systems at the centre of agent deployment decisions. If the authentication layer is missing or improvised, the rest of the control stack is only documenting risk.

Agentic governance should be measured by who can delegate, not just who can observe. The decisive control question is whether the organisation can bind an AI agent to a known identity, a specific purpose, and a revocation path. That is the point where privacy, IAM, and NHI governance meet. Teams should reframe AI security around delegation quality and lifecycle ownership, not dashboard completeness.

From our research:

  • 98% of companies plan to deploy even more AI agents within the next 12 months, despite documented rogue behaviour in 80% of current deployments, according to AI Agents: The New Attack Surface report.
  • 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems, inappropriately sharing sensitive data, and revealing access credentials.
  • For the access-layer view, read Ultimate Guide to NHIs - Lifecycle Processes for Managing NHIs for the lifecycle controls that underpin agent governance.

What this signals

Identity teams should expect agent governance to move from pilot concern to baseline control demand. With 98% of companies planning to deploy more AI agents within 12 months, the practical question is no longer whether to govern them, but which identity system will own the binding between agent, purpose, and access. That decision will determine whether the programme can scale without creating unmanaged delegation paths.

Shadow AI is becoming a lifecycle issue, not just a discovery issue. If an agent can appear quickly and disappear without offboarding, the organisation inherits identity debt that no periodic review cycle can clean up later. Teams should prepare inventory, ownership, and revocation workflows that work at machine speed, not human cadence.

Data visibility will matter less if agent identity remains fragmented. The governance gap is widening because evidence tools can show what happened after the fact, while identity controls decide whether the action should have been possible at all. Programmes that align AI agent access with the Lifecycle Processes for Managing NHIs will have a clearer path to auditability and containment.


For practitioners

  • Separate visibility from authorization Map which controls only observe agent behaviour and which controls actually constrain access. Then confirm that data lineage, policy monitoring, and compliance evidence are backed by enterprise identity enforcement for the same agent.
  • Inventory every production AI agent as a governed identity Require an owner, business purpose, access scope, and offboarding path before an agent can touch production systems. Treat shadow AI as an identity lifecycle failure, not just an application discovery issue.
  • Bind agent access to enterprise identity systems Use federation, scoped authorization, and audit logging so the agent authenticates through controlled identity infrastructure instead of ad hoc credentials. This reduces the chance that access outlives the task or the team that created it.
  • Review whether compliance tooling can answer revocation questions Ask whether a platform can show who approved the agent, what permissions it received, and how those permissions are withdrawn when the use case changes. If it cannot, it is not sufficient as a primary governance control.

Key takeaways

  • AI agent security now depends on identity enforcement, not just data observation.
  • The scale signal is clear: enterprises are expanding AI agent deployment even while rogue behaviour and blind spots persist.
  • Governance programmes should anchor agent access in lifecycle ownership, scoped authorization, and revocation paths.

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 CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10A1Agent monitoring and scope control map directly to agent misuse and delegation risk.
OWASP Non-Human Identity Top 10NHI-03The article centres on non-human identities and access scope for AI agents.
NIST CSF 2.0PR.AC-4Access permissions and identity enforcement are the core issue in the comparison.

Tie every AI agent to explicit permissions, approval boundaries, and revocation controls before production use.


Key terms

  • Shadow AI: Shadow AI is any AI tool or agent used inside an organisation without formal approval, ownership, or governance visibility. In practice, it becomes an identity risk when it can reach data or systems before security, legal, or IAM teams have assigned a control owner.
  • Agent Identity: Agent identity is the set of credentials, assertions, and policy bindings used to recognise and govern an AI agent as a distinct actor. It matters because the agent must be authenticated, authorized, audited, and eventually revoked like any other privileged non-human identity.
  • Data Journey: A data journey is the end-to-end path information takes from source systems through processing layers, cloud services, and AI models. It is useful for observability and compliance, but it does not replace identity controls that determine whether the transfer should have happened.
  • Lifecycle Ownership: Lifecycle ownership is the assignment of a responsible party for provisioning, reviewing, and removing access for an identity over time. For AI agents and other NHIs, it is the difference between a governed asset and a persistent blind spot with no clear offboarding path.

Deepen your knowledge

AI agent governance, identity binding, and lifecycle ownership are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are extending identity controls from service accounts to AI agents, it is worth exploring.

This post draws on content published by WorkOS: Relyance AI for AI Agent Security, features, pricing, and alternatives. Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2025-11-10.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org