TL;DR: A CSA survey of 418 IT and security professionals found 82% had discovered at least one AI agent or autonomous workflow created outside security, IT, or governance awareness, while 65% of enterprises reported an AI agent incident in the past 12 months, according to Token Security's analysis. The control problem is not theoretical: discovery without lifecycle governance leaves autonomous identities accumulating risk faster than legacy IAM can absorb.
At a glance
What this is: This is an analysis of AI agent governance maturity, with survey data showing that enterprises are seeing shadow agents, weak decommissioning, and material incidents despite a sense of control.
Why it matters: For IAM and NHI practitioners, it shows that autonomous agents are becoming first-class identities that need discovery, ownership, and lifecycle controls, not just monitoring.
By the numbers:
- 82% admitted they had discovered at least one AI agent or autonomous workflow created entirely without the knowledge of their security, IT, or governance teams.
- 65% of enterprises experienced a security incident involving an AI agent or autonomous workflow in the past 12 months.
- 16% have implemented real-time, continuous monitoring.
- 79% of organizations see context-aware, intent-based controls as important or very important over the next two years.
👉 Read Token Security's analysis of AI agent governance and shadow workflow risk
Context
AI agent governance fails when organisations assume traditional IAM controls automatically extend to autonomous software. An AI agent can hold credentials, call APIs, move data, and trigger business actions without the same lifecycle visibility that human identities receive, which turns ownership and review into the real control gap for NHI governance.
The article argues that many enterprises are seeing shadow AI agents in places built for speed, such as automation platforms, custom tools, and developer workflows. That is a familiar pattern in NHI risk: creation is easy, retirement is neglected, and access accumulates long after the business need has ended.
Key questions
Q: How should security teams govern AI agents that act like non-human identities?
A: Treat each AI agent as a distinct non-human identity with its own owner, purpose, privileges, and retirement trigger. Governance should cover discovery, approval, access scope, monitoring, and revocation across the full lifecycle. If the organisation cannot answer who owns the agent and when its access expires, control is incomplete.
Q: When does AI agent monitoring become insufficient on its own?
A: Monitoring becomes insufficient when an agent already has credentials and meaningful access. At that point, logging can reveal misuse, but it cannot prevent stale access, inherited privileges, or forgotten identities from accumulating. Organisations need prevention at the identity layer, not only detection after the fact.
Q: What is the difference between AI agent visibility and AI agent governance?
A: Visibility tells you that an agent exists. Governance tells you who owns it, what it can access, whether that access still makes sense, and how it will be retired. A team can have strong dashboards and still lack control if ownership, policy, and decommissioning are missing.
Q: Why do autonomous workflows create more NHI risk than traditional applications?
A: Autonomous workflows can change behavior, invoke tools, and retain credentials without the same human-paced review cycle that traditional applications usually receive. That makes their access more dynamic and their retirement harder to track. The risk rises when identity, not code alone, determines what actions can happen.
Technical breakdown
Why AI agent identity is different from normal application access
AI agents are not static applications. They can make decisions, select tools, and execute actions under their own runtime context, which means the identity carrying their access matters as much as the code they run. In practice, they often inherit cloud roles, OAuth grants, service accounts, and secrets that were never designed for autonomous use. That creates a governance problem at the identity layer, not just the application layer. The core failure is assuming a human approval model can govern machine-speed delegation. Practical implication: treat each agent as a distinct non-human identity with its own intent, ownership, and access boundaries.
Practical implication: Classify each agent as a separate NHI and map its access path before it reaches production.
Why AI agent retirement debt creates hidden exposure
Retirement debt is the accumulation of dormant or forgotten agent identities that remain active after the original purpose has ended. Unlike provisioning risk, which appears at creation time, retirement risk grows silently because agents do not self-cleanup and their credentials can remain valid across systems. If decommissioning is not formalised, the organisation ends up with stale access, undocumented ownership, and blind spots in audit evidence. This is a classic lifecycle failure with autonomous systems because the volume and pace of agent creation outstrips manual review. Practical implication: make decommissioning and access revocation mandatory events in the NHI lifecycle.
Practical implication: Build explicit offboarding and revocation steps into every agent lifecycle workflow.
How shadow AI agents evade legacy IAM assumptions
Shadow agents appear when teams can create workflows faster than governance teams can inventory them. Legacy IAM assumes a known application or a known user journey, but autonomous agents can emerge inside LLM tools, automation scripts, and SaaS integrations without central registration. Once those agents have tokens or service credentials, they become durable access paths that standard periodic reviews often miss. The result is a gap between perceived visibility and actual control. Practical implication: pair discovery with continuous context, because inventory alone does not tell you whether the agent is still authorised or still needed.
Practical implication: Use continuous discovery and contextual review to keep pace with agent sprawl.
Threat narrative
Attacker objective: The objective is to exploit unmanaged autonomous access paths so actions, data movement, and system interactions occur outside normal governance and oversight.
- Entry occurs when an AI agent is created in an automation or development environment without security, IT, or governance awareness, then given credentials or OAuth access to perform tasks.
- Escalation happens when the agent retains broad permissions, continues operating after the original project ends, and starts touching systems beyond its intended scope.
- Impact follows when the agent performs unintended actions, exposes sensitive data, or disrupts business processes at machine speed.
Breaches seen in the wild
- Moltbook AI agent keys breach — Moltbook breach exposed 1.5M AI agent keys.
- MongoBleed breach — MongoBleed exposed secrets across 87K MongoDB servers.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
AI agent governance has become an identity lifecycle problem, not a model safety problem. The article frames control in terms of visibility and monitoring, but the more durable failure is lifecycle management. If an organisation cannot discover, own, review, and retire an autonomous identity, it does not govern that identity, regardless of any behavior filters layered on top. Practitioners should align AI agent oversight with the same discipline used for other NHIs.
Ephemeral credential trust debt: AI agents create a new form of standing access risk because credentials are often issued quickly and forgotten slowly. That debt compounds when agents keep service accounts, tokens, and API keys after the original task ends. Practitioners should assume every unrevoked agent credential is a live control failure until proven otherwise.
Visibility without ownership is not control. A dashboard can show agents, but unless there is a clear owner, a defined purpose, and a decommissioning trigger, the organisation is only counting exposure. The article's data supports a broader market pattern: enterprises are discovering autonomous software faster than they are assigning accountability. Practitioners should tie every agent to an accountable business owner and an expiration condition.
Intent-based access is the right direction, but it only works when policy follows lifecycle. The article argues for context-aware controls, which is directionally correct, but the policy engine must be backed by inventory, least privilege, and revocation. Otherwise the organisation adds another layer of oversight without reducing access persistence. Practitioners should make policy enforcement and retirement part of the same control workflow.
The market is moving toward agent governance as a core NHI discipline. The blend of agent autonomy, secret use, and workflow execution means NHI programmes can no longer treat AI systems as a special case. The field is converging on lifecycle control, continuous discovery, and scoped privilege as the baseline. Practitioners should expect AI agent governance to sit inside broader NHI and IAM operating models.
From our research:
- 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems (39%), inappropriately sharing sensitive data (31%), and revealing access credentials (23%), according to AI Agents: The New Attack Surface report.
- Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation.
- For the lifecycle side of the problem, read Ultimate Guide to NHIs , Lifecycle Processes for Managing NHIs for a practical model of provisioning, rotation, and offboarding.
What this signals
Agent retirement debt is now a programme-level risk. Once AI agents begin accumulating in automation and development environments, the problem is no longer just discovery. Security teams need an operating model that links inventory, ownership, and revocation so dormant access does not persist after projects end. For a broader map of agentic risk patterns, use the OWASP NHI Top 10 as a control lens.
With 92% of organisations agreeing that governing AI agents is critical, yet only 44% having implemented policies, the gap is not awareness but execution. That gap will push more teams toward policy-backed lifecycle controls, identity-bound approvals, and tighter audit evidence. The practical next step is to align agent governance with the NIST AI Risk Management Framework.
Ephemeral credential trust debt: the more quickly teams issue access to agents, the more aggressively they need to remove it. In practice, that means building revocation into onboarding, setting expiration conditions for every autonomous workflow, and treating unresolved ownership as a control defect. The governance model that survives will be the one that can scale lifecycle discipline faster than agent sprawl.
For practitioners
- Inventory every autonomous agent and workflow Build a complete register of AI agents, custom GPTs, scripts, MCP-connected tools, and SaaS automations, then assign an owner and business purpose to each one.
- Make retirement a required control Create a formal decommissioning process that revokes tokens, disables service accounts, and removes OAuth grants when the agent is no longer needed.
- Enforce purpose-scoped access Replace inherited permissions with least privilege based on intended task scope, then review access when the agent changes function or data domain.
- Move to continuous monitoring Track agent actions in real time for changes in intent, privilege drift, data access, and unexpected system interactions instead of relying on periodic review.
Key takeaways
- AI agent governance fails when organisations confuse visibility with control and overlook lifecycle ownership.
- Survey data shows the gap is already producing incidents, with autonomous behaviour, data exposure, and credential leakage appearing in production environments.
- The practical response is not another monitoring layer, but discovery, least privilege, and mandatory retirement across the full NHI lifecycle.
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 address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | A2 | Agent autonomy and tool use create the risks this control set targets. |
| NIST AI RMF | GV-2 | The article is about governance for autonomous AI in production. |
| NIST CSF 2.0 | PR.AC-4 | Least-privilege access is central to preventing agent sprawl from becoming exposure. |
Map every agent workflow to agentic-AI risk controls and restrict tool access to the minimum required.
Key terms
- AI Agent Identity: An AI agent identity is the account, token, role, or certificate that lets autonomous software act in a system. In NHI governance, it must be treated as a separate identity with ownership, purpose, and lifecycle controls, because the agent can execute actions without human pacing.
- Shadow AI Agent: A shadow AI agent is an autonomous workflow or agent that exists without security, IT, or governance visibility. It may be embedded in automation, developer tools, or SaaS workflows, which makes discovery and inventory the first control challenge before policy and monitoring can work.
- Retirement Debt: Retirement debt is the backlog of non-human identities that remain active after their business purpose has ended. For AI agents, it shows up as forgotten credentials, lingering permissions, and incomplete offboarding, creating quiet exposure that compounds over time.
- Intent-Based Access: Intent-based access limits what an AI agent can do to the task it was created for. It goes beyond static role assignment by tying permissions to purpose, ownership, and conditions of use, which is especially useful when agents can call tools and move data at machine speed.
What's in the full article
Token Security's full blog covers the survey detail this post intentionally leaves for the source:
- The full breakdown of the 418-person survey sample and the discovery methodology behind the AI agent confidence gap.
- The vendor's breakdown of where shadow AI agents are appearing, including automation platforms, LLM tools, and developer workflows.
- The detailed control model for discovery, intent analysis, and continuous enforcement across agent identities.
- The article's discussion of how organizations can operationalise intent-aware controls in real environments.
Deepen your knowledge
AI agent governance and NHI lifecycle control are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building controls for autonomous workflows like the ones discussed here, the course is a practical place to start.
Published by the NHIMG editorial team on 2026-04-28.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org