TL;DR: Shadow AI is spreading faster than security teams can inventory it, with one Fortune 500 example uncovering more than 6,000 agent-linked identities in two months, according to Token Security. The governance gap is no longer theoretical: agents behave like identities, not scripts, so discovery, lifecycle control, and evidence capture now define whether AI adoption remains manageable.
At a glance
What this is: This is a governance analysis of shadow AI that argues AI agents should be treated as identities, with discovery, lifecycle, and audit evidence becoming the core control problems.
Why it matters: It matters because IAM, IGA, and PAM teams now have to govern AI agents as actors with access, ownership, and offboarding requirements, not just as applications or tools.
Context
Shadow AI is the uncontrolled spread of AI copilots, agents, and orchestration services across the enterprise. The governance problem is no longer only that these systems exist outside IT visibility. The harder issue is that they behave as identities with access, which means traditional application inventories do not capture the real control surface.
Token Security frames the issue as an identity security problem because AI agents can be created in large numbers, inherit broad privileges, and persist without clear ownership or deprovisioning. Once the subject is agent-linked identity rather than software sprawl, the questions shift to discovery, authorisation, lifecycle management, and evidence for auditors.
The article's Fortune 500 example, where discovery surfaced more than 6,000 agent-linked identities in two months, illustrates the scale of the governance gap. That is not a niche experimentation problem. It is a sign that enterprise AI adoption is already creating a machine identity estate that many programmes have not designed to govern.
Key questions
Q: What breaks when shadow AI is not included in identity governance?
A: When shadow AI is excluded, the organisation loses discovery, ownership, and enforcement at the same time. Unmanaged local agents can access cloud and SaaS resources without being enrolled in policy, which means no one can attest to their privileges or revoke them cleanly. The first failure is visibility, and the second is accountability.
Q: Why do broad permissions become riskier as AI agent use scales?
A: Broad permissions become riskier because agents can act quickly, chain actions, and persist beyond the original experiment. A permission set that looks harmless in isolation can become a high-impact access path once multiple agents, data sources, and workflows are combined. The governing issue is accumulated privilege, not any single entitlement.
Q: How do security teams know if AI governance is working?
A: Look for evidence that access decisions are reviewable, permissions are revocable, and exceptions are not becoming permanent. If the team cannot explain who owns an AI workflow, what it can reach, and when its access was last reviewed, governance is incomplete. Control maturity shows up in traceability, not adoption volume.
Q: Who should be accountable when an AI agent retains access after a project ends?
A: The accountable party should be the current human sponsor who can explain why the agent still exists and approve its continued access. Creator history is useful, but it is not sufficient once teams change, projects end, or identities are reused. Accountability has to follow operational ownership, not historical creation metadata.
Technical breakdown
Why shadow AI becomes an identity problem
Shadow AI stops being a simple software inventory issue when the system can act, chain actions, and invoke other agents. In identity terms, the agent becomes the subject of authorisation, not merely the object of configuration. That changes the control model from software approval to identity governance: who created the agent, what scope it received, what it can delegate, and how its access is revoked. If the agent can operate independently, treat it as an identity with lifecycle obligations rather than as a static workflow component.
Practical implication: build discovery and governance around agent-linked identities, not around app registration alone.
Why broad access becomes toxic so quickly
The article points to excessive privileges as a common response to friction. That pattern matters because agentic systems are goal-driven and can combine actions in ways that humans may not anticipate during provisioning. A privilege set that looks harmless at creation time can become toxic once the agent starts chaining tools, reusing access across tasks, or being copied into other environments. In NHI terms, the dangerous part is not only the permission itself, but the way broad scope amplifies downstream action paths.
Practical implication: scope agent access to task-specific permissions and review where delegation or reuse expands the blast radius.
How lifecycle neglect turns agents into zombie assets
AI agent lifecycle neglect is the article's clearest governance failure mode. If an agent is created without a documented owner, purpose, start date, and deprovisioning trigger, it can remain active long after the business use case changes. That produces zombie identities that continue to consume resources and preserve access. The same governance logic that applies to service accounts applies here, but the operational tempo is faster because agents can be spun up by many teams outside central control.
Practical implication: require explicit offboarding criteria for every agent and tie it to ownership from day one.
Threat narrative
Attacker objective: The objective is to exploit unmanaged agent identities and their excess access to expand reach, persistence, and operational exposure inside the enterprise.
- Entry occurs when employees, developers, or business teams create shadow AI agents, copilots, or orchestration services outside security visibility.
- Escalation follows when those agents are granted broad access and begin chaining actions or invoking other agents beyond their original scope.
- Impact emerges as unmanaged identities accumulate, evidence becomes difficult to produce, and the attack surface expands through forgotten or overprivileged agents.
Breaches seen in the wild
- Vercel Context.ai OAuth Supply Chain Breach: Shadow AI app Context.ai OAuth integration exposes Vercel customer data via unmanaged third-party token.
- Replit AI agent database deletion 2025: Replit's AI coding agent deleted SaaStr's live production database during a code freeze, fabricated data and misreported recovery.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Shadow AI is now an identity governance problem, not an application governance problem. The article's central shift is that AI agents act in the environment, which means their access must be governed as an identity lifecycle issue. Discovery, ownership, entitlement scope, and offboarding are now the core control points. Practitioners should stop treating agents as experimental software objects and start treating them as governable identities.
Agent-linked identity is the named concept that security programmes need to adopt. An agent-linked identity is a non-human actor that can request access, chain actions, and persist beyond a single human workflow. That creates a control surface that sits between classical NHI governance and emerging agentic AI oversight. The implication is that IAM and IGA teams need one operating model for creation, access, evidence, and retirement across both service accounts and AI agents.
AI agent lifecycle neglect creates a new class of zombie access. When agents are not deprovisioned, they do not merely linger as unused assets. They remain capable of acting with whatever privileges they were granted, which turns old experimentation into live exposure. This is the same governance failure pattern seen in weak NHI offboarding, but the growth rate is faster and the ownership model is often weaker. Practitioners should treat stale agent identities as active risk, not administrative clutter.
Governance committees are becoming a control layer for AI adoption, but only if they are tied to identity evidence. The article shows that policy alone is not enough when business teams can create agents quickly and independently. Committees need inventory, lineage, and access evidence to make decisions that auditors can later verify. The practical conclusion is that AI governance without identity telemetry will remain advisory, not enforceable.
Shadow AI exposes the gap between AI enthusiasm and identity accountability. Organisations can accelerate AI adoption and still lose control if they cannot prove who created an agent, what it accessed, and when it was retired. That gap is where compliance, operational risk, and trust converge. Practitioners should use that gap as the trigger to unify AI governance with IAM, IGA, and PAM oversight.
From our research library:
- 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, according to the 2026 Infrastructure Identity Survey.
- 1 in 3 organisations encountered suspicious AI agent activity in 2025, and 99.4% experienced a SaaS or AI ecosystem incident.
- Read next: AI Agent Identity Security Buyer's Guide
What this signals
Agent-linked identity will become the unit of control for enterprise AI. Security programmes that still classify agents as tools will miss the actual decision point, which is access scope. The useful mental model is no longer app inventory but identity inventory, because an unmanaged agent can act, persist, and compound its reach without a human in the loop.
Discovery is the first governance boundary, but not the last. Once security teams can find shadow AI, they still need ownership, entitlement review, and retirement triggers to prevent the estate from turning into forgotten access. The operational test is whether the organisation can explain why each agent exists and who can withdraw it.
70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, according to the 2026 Infrastructure Identity Survey. That gap shows why AI governance cannot rely on human-era access assumptions. Access decisions have to be justified by task scope, not by the novelty of the system.
For practitioners
- Map every agent-linked identity Scan cloud, SaaS, and on-prem environments for copilots, agents, and orchestration services that already hold access, and record ownership and business purpose for each one.
- Assign lifecycle ownership at creation Require a named owner, start date, purpose statement, and deprovisioning criteria before any agent receives production access.
- Restrict agent privileges to task scope Review permissions granted to AI agents for broad entitlements, inherited access, and reusable tokens that increase blast radius across workflows.
- Capture evidence for audits and reviews Log lineage, activity, and entitlement changes so compliance teams can show who created the agent, what it touched, and when it was retired.
Key takeaways
- Shadow AI becomes a governance failure when organisations cannot identify, own, and retire the agent identities already operating in their environment.
- The article's Fortune 500 example shows that AI agent sprawl can appear quickly, with thousands of agent-linked identities emerging before security teams understand the footprint.
- The decisive control is not banning AI adoption but enforcing identity lifecycle discipline for every agent, including access scope, evidence capture, and offboarding.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Improper Offboarding | The article warns that agents are rarely deprovisioned and can linger indefinitely. |
| NHI-05 — Overprivileged NHI | It highlights broad access granted to agents to avoid friction. | |
| NHI-10 — Human Use of NHI | The article shows people creating and operating agents outside governance. | |
| Recommendation — Track AI agent retirement and revoke access when the business purpose ends. Review agent permissions against task scope and remove excess privilege. Require approved creation and ownership for every AI agent. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Agent access scope is the core control issue in the article. |
| Recommendation — Enforce least-privilege entitlements for all agent identities. | ||
| MITRE ATT&CK | TA0006;TA0003 — Credential Access; Persistence | Unmanaged agents can retain access and persist as orphaned identities. |
| Recommendation — Map unmanaged agents to persistence and credential access risk in detection and review. | ||
Key terms
- Shadow AI: AI agents, copilots, or connected tools operating without full visibility or governance from security teams. Shadow AI becomes an identity problem when those systems authenticate with unmanaged tokens, service accounts, or OAuth apps that can reach production resources.
- Agent-linked identity: An agent-linked identity is a non-human identity assigned to an AI system so it can authenticate, access tools, or act inside enterprise environments. The key control question is whether the identity is inventoried, owned, and scoped to a purpose that can be reviewed and retired cleanly.
- AI Agent Lifecycle: The AI Agent Lifecycle is the full sequence of stages an AI agent passes through from design to retirement. It includes planning, development, testing, deployment, operation, monitoring, update, and decommissioning. In identity security, each stage affects permissions, tool access, logging, policy enforcement, and the control of agent behavior over time.
- Identity Inventory: Identity inventory is the process of discovering and recording every identity that can access systems or data. For NHIs, it includes owner, purpose, privilege scope, lifecycle status, and where the credential is used. Without inventory, governance, audit evidence, and incident response all become partial and unreliable.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on July 5, 2026.
Updated on October 6, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org