TL;DR: For every person in an organisation there are about 92 non-human identities, and 69% of organisations are concerned about attacks from them while only 15% feel confident preventing them, according to JumpCloud. The governance problem is no longer just volume but persistent, poorly owned machine access that IAM programmes were never built to control.
At a glance
What this is: This article argues that non-human identity sprawl, especially through service accounts, API keys, and emerging AI agents, has become a major enterprise security blind spot because these identities persist, proliferate, and are rarely governed like human accounts.
Why it matters: IAM, PAM, and security teams need to treat machine identities as first-class identities because unmanaged credentials expand attack surface, enable lateral movement, and break lifecycle assumptions built for human users.
By the numbers:
- For every person in an organization, there are about 92 non-human identities.
- 69% of organizations are concerned about attacks from non-human identities.
- Only 15% feel confident in their ability to prevent attacks from non-human identities.
Context
Non-human identity sprawl is the growth of machine credentials, service accounts, API keys, certificates, and tokens faster than organisations can inventory, govern, and retire them. In a modern enterprise, these identities are not edge cases. They are the operating layer behind automation, integrations, and cloud workloads, which means their security failures become business failures.
The governance problem is that most IAM programmes were designed around human users, human sessions, and human lifecycle events. AI agents intensify the issue because they can use non-human identities while also making independent decisions, which changes the trust model from static access control to runtime behaviour control.
Key questions
Q: What breaks when non-human identity ownership is unclear?
A: When ownership is unclear, rotation stalls, reviews default to approval, and nobody feels safe removing access. That creates orphaned identities, stale credentials, and broad permissions that persist because the organisation cannot prove what depends on them. The result is a growing attack surface with no accountable decision-maker.
Q: What problem does ownership attribution solve for service accounts and API keys?
A: It closes the gap between exposure detection and accountable remediation. Many organisations can find the secret, but not the human who introduced it, maintains it, or can safely replace it. Ownership attribution gives security teams a practical way to assign action without relying on informal knowledge that disappears during staff changes.
Q: How can organisations tell whether NHI governance is actually working?
A: NHI governance is working when every machine identity has an owner, a purpose, a minimum-necessary entitlement, and evidence of rotation and review. If teams can produce that chain without manual reconstruction, the programme is mature enough to withstand audit pressure. If they cannot, the governance model is still fragmented.
Q: How should teams govern non-human identities in AI-heavy environments?
A: Teams should govern non-human identities the same way they govern other privileged assets: assign ownership, minimise scope, rotate credentials regularly, and monitor for abnormal use. The key difference is speed. AI-driven workflows can exploit exposed access quickly, so detection and revocation must be automated and tied to lifecycle controls.
Technical breakdown
Why non-human identities become a hidden attack surface
Non-human identities do not behave like human users. They authenticate with keys, tokens, or certificates, often without MFA, interactive sessions, or obvious user context. That makes them difficult for conventional IAM and ITDR tools to distinguish from legitimate automation. When creation is automated through pipelines and cloud provisioning, the estate grows faster than ownership, review, or revocation processes can keep up, creating dormant and overprivileged credentials that blend into normal system traffic.
Practical implication: Inventory machine identities continuously and classify them by owner, purpose, and expiry so invisible credentials do not become permanent access paths.
How standing machine access turns into lateral movement
A compromised service account or API key is rarely valuable only once. In interconnected environments, the credential can provide access to data stores, APIs, deployment systems, and downstream workflows. Because many non-human identities are granted broad permissions to preserve uptime, the first stolen credential often becomes a stepping stone to privilege escalation and lateral movement across hybrid environments. The risk is not the credential alone but the trust it inherits across systems.
Practical implication: Map which machine identities can reach multiple environments or high-value services, then reduce shared reach before an attacker can reuse it across domains.
Why AI agents make NHI governance an assumption problem
AI agents are different from scripted automation because they can make independent decisions and alter workflows at runtime while still using non-human identities underneath. That breaks a core IAM assumption: least privilege can be defined fully at provisioning time because the actor’s behaviour is predictable. With autonomous behaviour, intent changes in-session, so the access pattern may no longer match the original approval model. Governance has to account for the identity that acts, not just the credential it uses.
Practical implication: Treat agent access as a runtime governance issue and review which controls still assume predictable, pre-scripted identity behaviour.
Threat narrative
Attacker objective: The attacker aims to turn one compromised machine credential into durable access across multiple systems and workloads without triggering human-centric identity controls.
- Entry begins when attackers obtain a leaked API key, token, or service account credential that was created for automation and left exposed or poorly governed.
- Escalation follows when that credential carries broad privileges or can reach multiple integrated systems, allowing the attacker to expand beyond the initial foothold.
- Impact occurs when the compromised non-human identity is used for lateral movement, data access, code injection, or backdoor creation across connected environments.
Breaches seen in the wild
- JumpCloud breach 2023: North Korean hackers breached JumpCloud and abused its device commands framework against a few customers; all admin API keys were reset.
- Dropbox Sign breach 2024: A compromised back-end service account gave attackers Dropbox Sign customer data, including API keys, OAuth tokens and MFA information.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 150+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Non-human identity sprawl is no longer a hygiene problem, it is an architectural trust problem. The article shows that machine identities now outnumber human identities by orders of magnitude and are often created faster than governance can track them. That means the real failure is not just volume but the assumption that background credentials can remain background assets. The practitioner conclusion is that NHI inventory and ownership have to sit inside the identity programme, not beside it.
Persistent machine access creates identity blast radius. When service accounts, API keys, and workload identities are long-lived and widely connected, a single compromise can move laterally across cloud, CI/CD, and production systems. That pattern aligns directly with OWASP-NHI concerns around overprivileged and long-lived identities, and with Zero Trust assumptions about continuously verifying access rather than trusting the credential by default. Practitioners should read this as a blast-radius control problem, not a simple secret-rotation exercise.
AI agents turn NHI governance into runtime authorisation management. A service account is static, but an autonomous agent can change how it uses that access while the session is still active. The assumption that least privilege is fully knowable at provisioning time was designed for predictable actors; it fails when the actor can select actions dynamically. The implication is that governance must shift from only managing issued credentials to managing behaviour under issued credentials.
Unclear ownership is the governance gap that keeps machine identity risk alive. The article repeatedly points to service accounts and automation artefacts that are created, used, and forgotten across teams. That is a classic lifecycle failure, not merely a technical one, because no single owner is accountable for revocation, rotation, or decommissioning. The practical conclusion is that lifecycle governance must be explicit for every non-human identity, including those created by development and cloud automation.
Machine identity security now needs a unified view across NHI and human IAM programmes. The same organisation that struggles to govern machine credentials often still runs human identity controls in separate silos. That split is no longer defensible when machine identities can carry comparable or greater access than staff accounts. Practitioners should align identity policy, monitoring, and recertification across human and non-human populations so governance reflects how modern enterprises actually operate.
From our research library:
- 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, according to the Ultimate Guide to NHIs.
- 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.
- Read next: Ultimate Guide to NHIs
What this signals
Identity blast radius: the practical unit of risk is no longer the credential itself but the reach that credential inherits across systems, environments, and workflows. Once machine identities can pivot into production, IAM teams need to measure lateral reach as a first-class control outcome, not just login success or rotation cadence.
The next governance step is to treat non-human identity lifecycle as part of identity architecture, not an adjacent secret-management task. That means ownership, revocation, recertification, and isolation need to be applied consistently to service accounts, workload identities, and AI agents where runtime behaviour can change without human approval.
For practitioners
- Map the full NHI estate Build an inventory of service accounts, API keys, certificates, tokens, and workload identities, then record owner, purpose, privilege scope, and expiry for each one.
- Remove standing privilege from machine credentials Replace broad permanent access with task-scoped permissions where automation can tolerate it, and force explicit justification for any persistent elevated access.
- Create lifecycle ownership for every non-human identity Assign a named owner to each credential so rotation, decommissioning, and offboarding are no longer informal or team-dependent.
- Separate autonomous agent access from scripted automation Review which machine identities are used by AI agents versus deterministic workflows, then document where runtime behaviour can change without human approval.
- Monitor machine-to-machine trust paths Track which credentials can reach multiple environments or critical systems, because those connections create the largest lateral movement paths if compromised.
Key takeaways
- Non-human identities now represent a major share of enterprise access, and unmanaged growth turns them into a hidden attack surface.
- The main failure mode is persistent machine access with broad reach, which gives attackers a way to move laterally once a single credential is exposed.
- Security teams need lifecycle ownership, bounded privilege, and runtime-aware governance if they want machine identities to remain useful without becoming the easiest path into critical systems.
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 SP 800-53 Rev 5 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The article centres on broad, persistent machine access that exceeds what automation needs. |
| NHI-07 — Long-Lived Secrets | The article highlights long-lived API keys, tokens, and certificates that persist far beyond their intended use. | |
| NHI-03 — Vulnerable Third-Party NHI | Third-party integrations and shared machine trust paths are part of the exposure pattern described. | |
| Recommendation — Reduce standing machine access and align each non-human identity to the smallest viable privilege scope. Inventory long-lived credentials and replace them with rotation-bound or shorter-lived alternatives wherever possible. Review external integrations for excessive access and revoke machine identities that are no longer contractually needed. | ||
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The article discusses machine credential lifecycle, rotation, and persistent authentication material. |
| AC-6 — Least Privilege | Privilege creep and broad machine access are central themes in the article. | |
| Recommendation — Apply authenticator management to rotate, revoke, and retire machine credentials on a governed schedule. Enforce least privilege for non-human identities and review any entitlement that is broader than its job function. | ||
| MITRE ATT&CK | TA0006; TA0008 — Credential Access; Lateral Movement | The article describes compromise of machine credentials followed by movement across connected systems. |
| Recommendation — Map exposed machine credentials to credential-access and lateral-movement threats in detection and hunting workflows. | ||
| NIST Zero Trust (SP 800-207) | 3.5 — Least Privilege and Access Control | The article argues for continuous control of machine trust rather than default acceptance of background access. |
| Recommendation — Apply zero-trust access control to machine identities and verify every entitlement against current need. | ||
Key terms
- Non-Human Identity (NHI): A digital identity assigned to a non-human entity such as a software application, service account, API key, bot, machine, or AI agent that enables it to authenticate and interact with systems without direct human involvement. NHIs now outnumber human identities in most enterprises by 25 to 50 times.
- Identity Sprawl: Identity sprawl is the uncontrolled growth of identities, entitlements, and credentials across an environment. For NHIs, it usually appears when automation creates accounts faster than governance teams can inventory, review, and remove them. The result is hidden access, weak accountability, and a wider attack surface.
- Privilege Creep: Privilege creep is the gradual accumulation of access rights beyond what an identity actually needs. It usually happens when permissions are added for convenience and never removed. For NHIs, privilege creep expands blast radius and makes old credentials far more dangerous than their original purpose suggests.
- Autonomous Agent: A software entity that can act with its own execution authority and use tools or data sources to complete tasks. In security terms, an autonomous agent is also a non-human identity, so its permissions, approval boundaries, and credential lifecycle must be governed like any other privileged workload.
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 June 11, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org