Non-Human Identity
A term used in security for the digital identities, such as accounts, API keys and tokens, that software, automation tools and AI agents, rather than people, use when they connect to systems and receive permissions.
What does Non-Human Identity mean in simple terms?
Employees receive an account when they join a company, and the account is handled through offboarding when they leave. By contrast, the API keys and service accounts used by automation tools, and the tokens used by AI agents, often have no clear owner, so they are frequently forgotten after being created. OWASP regards these non-human identities as identities used to identify, authenticate and authorize software entities, and published a separate risk list in December 2024. If a key with more permissions than needed, or a key with no expiry date, is leaked, it can be used to break into company systems even though it is not an account a person uses. The more AI agents are connected to work tools, the more important it becomes to manage which identity an agent uses and how far it can go.
How can Non-Human Identity be explained with an analogy?
It is like an access badge that a departing employee never returned: a key that keeps opening doors even when no one knows who is responsible for it.
Where is Non-Human Identity used?
Microsoft — An intrusion through a test account that was never cleaned up
On January 19, 2024, Microsoft announced that on the 12th of that month it had detected an attack by a nation-state actor.[2] The attacker used a password spray attack to take over an old test tenant account that was not used in production, then used that account's permissions to access some corporate email accounts and steal emails and attached documents.[2] OWASP cites this case as a real-world example of NHI1, "Improper Offboarding."[1]
Result: The attack began in late November 2023, and a "very small percentage" of corporate email accounts were affected (per Microsoft's announcement).[2]
Microsoft AI research team — An access token posted to a public repository
On September 18, 2023, Wiz Research disclosed that an Azure storage access token shared by Microsoft's AI research team in a public GitHub repository had been configured with full permissions and to remain valid until 2051.[3] The token gave access to 38TB of internal data, including more than 30,000 Teams messages exchanged by 359 Microsoft employees.[3]
Result: Reported on June 22, 2023, and the token was revoked on June 24 (per Wiz Research's disclosure).[3]
Learning steps, limitations and developments
- List the API keys, automation accounts and AI agent connections your company uses, and assign an owner to each.
- Give keys and tokens only the permissions the work requires, and set an expiry date.
- When a project ends or the owner changes, revoke the connected keys at the same time.
- Do not write keys directly into code, documents or shared folders; keep them in a secrets storage feature.
Figures showing the scale of non-human identities mostly come from security vendor surveys; a CyberArk survey counted 82 per person, but the number varies widely by organization.[4] How to manage AI agents' identities and permissions is still at the stage where NIST released a concept paper in February 2026 and is gathering comments, so standards are still being worked out.[5]
How has Non-Human Identity evolved?
Which concepts are related to Non-Human Identity?
- Underlying technologyAPIAPI keys are a typical non-human identity
- Underlying technologyOAuthA standard for delegating permissions to apps and agents
- Related riskExcessive AgencyA state in which an agent has been given too many permissions
- What is managedAI agentAn actor that connects to systems and works on behalf of people
Human Accounts vs Non-Human Identity
Which sources explain Non-Human Identity?
- OWASP — OWASP Non-Human Identities Top 10 - 2025 (2024-12-24) — https://owasp.github.io/www-project-non-human-identities-top-10/2025/
- Microsoft — Microsoft Actions Following Attack by Nation State Actor Midnight Blizzard (2024-01-19) — https://www.microsoft.com/en-us/msrc/blog/2024/01/microsoft-actions-following-attack-by-nation-state-actor-midnight-blizzard
- Wiz Research — 38TB of data accidentally exposed by Microsoft AI researchers (2023-09-18) — https://www.wiz.io/blog/38-terabytes-of-private-data-accidentally-exposed-by-microsoft-ai-researchers
- CyberArk — Machine Identities Outnumber Humans by More Than 80 to 1: New Report Exposes the Exponential Threats of Fragmented Identity Security (2025-04-23) — https://www.businesswire.com/news/home/20250423817886/en/Machine-Identities-Outnumber-Humans-by-More-Than-80-to-1-New-Report-Exposes-the-Exponential-Threats-of-Fragmented-Identity-Security
- NIST NCCoE — Accelerating the Adoption of Software and Artificial Intelligence Agent Identity and Authorization (2026-02-05) — https://csrc.nist.gov/pubs/other/2026/02/05/accelerating-the-adoption-of-software-and-ai-agent/ipd
Tell us what you think
Your feedback helps us improve the content.