Threats to non-human identities are usually described one incident at a time, which makes it hard to see whether a programme covers the whole problem or just last month's breach. This guide sets out a structured taxonomy of NHI threats, classified by the lifecycle stage where the weakness is introduced and the goal the attacker pursues, with an example, a control and the matching MITRE ATT&CK techniques for each. It maps the taxonomy to the OWASP Non-Human Identities Top 10 2025 and covers AI agent threats through the OWASP Top 10 for Agentic Applications. It is written for NHI security architects, threat modellers and detection engineers who need a shared vocabulary for risk registers, threat models and coverage reviews.
Key takeaways
- Classify by stage and goal. Each threat has a lifecycle stage where the weakness is created (provision, store, use, change, retire) and an attacker goal (obtain, abuse, escalate, persist, pivot); together they tell you which team owns the fix.
- Four families cover most NHI attacks. Credential threats, privilege and permission threats, lifecycle and governance threats, and AI agent specific threats.
- The OWASP NHI Top 10 maps cleanly. Every NHI1 to NHI10 risk falls into one family, so the taxonomy can carry OWASP references straight into a risk register.
- ATT&CK describes the attacker's moves, not the weakness. Use ATT&CK techniques such as T1552 Unsecured Credentials and T1098.001 Additional Cloud Credentials for detection coverage, and OWASP for the underlying condition.
- Agents add new routes to old outcomes. Goal hijack and tool misuse end in the same place as a leaked key, an NHI acting with permissions nobody intended, which is why agent threats sit in the same taxonomy.
Why a taxonomy
A taxonomy turns scattered incident knowledge into something you can measure. Without one, NHI risk registers tend to list "leaked secrets" five times under different names and miss whole classes such as identity reuse or human use of service accounts. A shared classification gives you:
- Coverage checks: for each category, is there a preventive control, a detection and an owner?
- Consistent threat models: teams modelling a pipeline, a SaaS integration or an agent use the same categories, so findings can be compared and aggregated.
- Better incident classification: post-incident reviews record both the weakness (for example a long-lived secret) and the attacker technique (for example use of an application access token), which keeps lessons reusable.
- Clear reporting: boards and auditors see a short, stable set of categories rather than a list of tools.
This page classifies threats; it does not repeat how to collect intelligence about them. For sources, indicators and matching findings to your inventory, see the Threat Intelligence for Identity and NHI Guide.
Taxonomy structure
The taxonomy uses two axes and four families. The axes are NHI Mgmt Group's classification; the OWASP and ATT&CK references attached to each threat come from those frameworks.
| Axis | Values | Question it answers |
|---|---|---|
| Lifecycle stage | Provision, Store and distribute, Use and authenticate, Change and rotate, Retire | Where in the identity's life was the weakness introduced, and which process owns it? |
| Attacker goal | Obtain credential, Abuse access, Escalate privilege, Persist, Pivot to other systems or tenants | What is the attacker trying to achieve with the NHI? |
| Family | Credential, Privilege and permission, Lifecycle and governance, AI agent specific | Which control domain responds: secrets management, authorisation, identity governance or agent controls? |
Use the identity type (service account, API key, OAuth client or token, certificate, workload identity, AI agent) as a tag, not a category. The same threat, such as reuse across environments, applies to many identity types.
Credential threats
Credential threats concern the secret or token that proves an NHI's identity: how it leaks, how it is stolen and how it is replayed.
| Threat | Stage / goal | Example | Primary control | ATT&CK |
|---|---|---|---|---|
| Secret exposed in code, configuration or chat | Store / obtain | An access key published in source code on a public repository for years, as in the Toyota T-Connect key exposure | Secrets manager, pre-commit and repository scanning, push protection | T1552.001 Credentials In Files; T1213.003 Code Repositories |
| Credential stored by a person outside approved stores | Store / obtain | Service account credentials saved in a personal browser profile, as in the Okta support system breach | Vaulted credentials, browser sync controls, no human knowledge of NHI secrets | T1555 Credentials from Password Stores |
| Token theft from a third party | Use / obtain | OAuth access and refresh tokens taken from an integration provider, as in the Salesloft Drift breach | Token binding where available, IP restrictions, short token life, supplier monitoring | T1528 Steal Application Access Token; T1550.001 Application Access Token |
| Metadata service or runtime credential harvest | Use / obtain | Workload role credentials read from a cloud instance metadata endpoint after an SSRF flaw | Metadata service hardening (session-oriented requests), least privilege roles | T1552.005 Cloud Instance Metadata API |
| Private key or certificate theft or forgery | Store / obtain | A signing key or client certificate copied from a build host | HSM or KMS-held keys, short-lived certificates, issuance monitoring | T1552.004 Private Keys; T1649 Steal or Forge Authentication Certificates |
| Token forgery | Use / escalate | Forged SAML assertions after a federation signing key is compromised | Protect federation keys, monitor token issuance anomalies | T1606.002 SAML Tokens |
For secret storage and rotation patterns, see the Secrets Management Guide; for authentication strength, see the NHI Authentication Guide.
Privilege and permission threats
These threats assume the attacker already holds the NHI. The damage depends on what the identity can do and whether the attacker can widen it.
| Threat | Stage / goal | Example | Primary control | ATT&CK |
|---|---|---|---|---|
| Overprivileged identity | Provision / abuse | A legacy test OAuth application with elevated access to a production tenant, as in the Microsoft Midnight Blizzard breach | Least privilege, permission reviews, unused permission removal | T1078.004 Cloud Accounts |
| Adding credentials to an existing NHI | Change / persist | New client secret or certificate added to a service principal to keep access after the original key is rotated | Alert on credential additions, restrict who can manage app credentials | T1098.001 Additional Cloud Credentials |
| Granting roles to an NHI | Change / escalate | Attacker-controlled identity granted an application role that reads every mailbox | Approval workflow for high-impact roles and consent, privileged role monitoring | T1098.003 Additional Cloud Roles |
| Creating new NHIs | Provision / persist | New service accounts or apps created to survive clean-up of the first foothold | Restrict identity creation, inventory reconciliation, creation alerts | T1136.003 Cloud Account |
| Trusted relationship abuse | Use / pivot | A supplier's integration identity used to reach customer tenants | Scoped third-party access, per-tenant credentials, supplier offboarding | T1199 Trusted Relationship |
| Discovery of identities and permissions | Use / pivot | Enumerating cloud accounts and roles to find a better identity to steal | Detection of enumeration bursts from workload identities | T1087.004 Cloud Account (discovery); T1580 Cloud Infrastructure Discovery |
Lifecycle and governance threats
These are weaknesses in how NHIs are owned, separated and retired. They rarely cause an incident on their own, but they make credential and privilege threats far more damaging.
- Improper offboarding: identities and keys left active after the system, project or supplier has gone. Attackers find them because nobody watches them. See the NHI Offboarding and Decommissioning Guide.
- Long-lived secrets: credentials with no expiry or an expiry years away give a stolen secret unlimited useful life. Control: maximum lifetimes, federation and short-lived tokens.
- Environment crossover: the same identity used in test and production, so a weaker test environment becomes the route into production. Control: separate identities and trust boundaries per environment.
- NHI reuse: one identity shared by several applications, so a single compromise reaches all of them and revocation breaks everything. Control: one identity per workload.
- Human use of NHIs: engineers signing in with service accounts for manual work, which bypasses individual accountability and MFA and hides who did what. Control: block interactive sign-in for NHIs, use personal privileged access for people.
- Ownerless identities: NHIs with no named owner cannot be reviewed, rotated or retired safely. Control: owner as a mandatory attribute at creation, and reconciliation against the inventory.
- Supply chain compromise of NHI holders: a compromised package, IDE extension or CI action that reads the credentials it can reach (T1195.002 Compromise Software Supply Chain). Control: pinned dependencies, scoped CI tokens, workload identity federation.
AI agent specific threats
AI agents are NHIs that decide which tools to call. They inherit every threat above and add routes where the attacker steers the agent rather than stealing its credential. The OWASP Top 10 for Agentic Applications, published by the OWASP GenAI Security Project on 9 December 2025, gives the reference names used below.
| Threat | OWASP Agentic reference | Example | Primary control |
|---|---|---|---|
| Goal hijack through injected content | ASI01 Agent Goal Hijack | Instructions hidden in a document or web page redirect the agent to send data out (ATLAS AML.T0051 LLM Prompt Injection) | Treat retrieved content as untrusted, restrict outbound actions, human approval for sensitive steps |
| Tool misuse | ASI02 Tool Misuse | Agent calls a legitimate tool with harmful parameters (ATLAS AML.T0053 AI Agent Tool Invocation) | Per-tool allowlists, parameter validation, rate limits |
| Identity and privilege abuse | ASI03 Identity & Privilege Abuse | Agent runs with a broad service account or a user's full delegated token | Dedicated agent identity, scoped short-lived tokens, on-behalf-of with narrow scopes |
| Agentic supply chain | ASI04 Agentic Supply Chain Vulnerabilities | A malicious MCP server or plug-in receives the agent's credentials | Approved tool registry, provenance checks, isolated credentials per tool |
| Memory poisoning | ASI06 Memory & Context Poisoning | False instructions stored in long-term memory influence later sessions | Memory provenance, review and expiry |
| Insecure agent-to-agent trust | ASI07 Insecure Inter-Agent Communication | An agent accepts commands from another agent without authenticating it | Mutual authentication between agents, signed messages, scoped delegation |
| Rogue agent | ASI10 Rogue Agents | An unregistered or drifting agent keeps acting with valid credentials | Agent inventory, kill switch, credential revocation path |
The remaining entries (ASI05 Unexpected Code Execution, ASI08 Cascading Failures, ASI09 Human-Agent Trust Exploitation) are covered in their own guides; see the OWASP Agentic Top 10 ASI03 Guide for the identity entry and the AI Agent Threat Modelling Guide for modelling method.
Mapping to OWASP NHI Top 10 and ATT&CK
| OWASP NHI Top 10 2025 | Taxonomy family | Typical ATT&CK techniques |
|---|---|---|
| NHI1 Improper Offboarding | Lifecycle and governance | T1078.004 Cloud Accounts |
| NHI2 Secret Leakage | Credential | T1552.001 Credentials In Files; T1213.003 Code Repositories |
| NHI3 Vulnerable Third-Party NHI | Credential; Privilege and permission | T1199 Trusted Relationship; T1195.002 Compromise Software Supply Chain; T1528 |
| NHI4 Insecure Authentication | Credential | T1550.001 Application Access Token; T1606 Forge Web Credentials |
| NHI5 Overprivileged NHI | Privilege and permission | T1078.004; T1098.003 Additional Cloud Roles |
| NHI6 Insecure Cloud Deployment Configurations | Credential; Privilege and permission | T1552.001; T1552.005 Cloud Instance Metadata API |
| NHI7 Long-Lived Secrets | Lifecycle and governance | T1078.004; T1098.001 Additional Cloud Credentials |
| NHI8 Environment Isolation | Lifecycle and governance | T1078 Valid Accounts |
| NHI9 NHI Reuse | Lifecycle and governance | T1078 Valid Accounts |
| NHI10 Human Use of NHI | Lifecycle and governance | T1078 Valid Accounts |
How to read the mapping: OWASP names the condition that makes an attack possible; ATT&CK names what the attacker does once it is. The ATT&CK column is NHI Mgmt Group's mapping of likely techniques, not part of the OWASP text. Use it to check that each condition has at least one detection.
| Control framework | Reference | Taxonomy families |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-5 Authenticator Management; IA-9 Service Identification and Authentication | Credential |
| NIST SP 800-53 Rev 5 | AC-6 Least Privilege; AC-2 Account Management | Privilege and permission; Lifecycle and governance |
| NIST CSF 2.0 | PR.AA-01, PR.AA-05, ID.RA-03 | All families |
Using the taxonomy: detection and measurement
- Tag the inventory: record identity type, owner, environment and credential lifetime for each NHI so each family can be measured.
- Tag findings and incidents: give every scanner finding, audit issue and incident a family, a threat and an OWASP reference.
- Map detections: list SIEM rules against the ATT&CK column; any threat with no rule is a gap, such as no alert on new credentials added to service principals (T1098.001).
- Review quarterly: compare open findings by family and track movement.
- Coverage: share of taxonomy threats with a preventive control, a detection and an owner.
- Exposure: NHIs with secrets older than policy, NHIs without an owner, identities shared across environments.
- Time to revoke: median time from a credential exposure finding to revocation.
- Agent scope: share of AI agents running with dedicated, scoped identities rather than shared or user tokens.
Common failure patterns
- Classifying by tool: categories such as "GitHub issues" or "vault issues" hide that the same weakness exists in several places.
- Only modelling theft: credential leaks get attention while added credentials, new roles and new identities (persistence) go unmonitored.
- Treating agents as a separate programme: agent identities are left out of the NHI inventory and reviews.
- Mapping without verification: outdated or revoked ATT&CK IDs copied into registers; check IDs against the current ATT&CK release.
Practitioner checklist
- Adopt the four families and the two axes as the classification for your NHI risk register.
- Tag every NHI with type, owner, environment and credential lifetime.
- Link each register entry to an OWASP NHI Top 10 or Agentic Top 10 reference.
- Map detections to the ATT&CK techniques listed and record gaps.
- Alert on credential additions, role grants and new NHI creation, not only leaks.
- Include AI agents in the NHI inventory with dedicated, scoped identities.
- Classify every NHI incident by family, stage and goal in the post-incident review.
- Re-check the mapping when OWASP or ATT&CK publish new versions.
Standards and references
- OWASP: Non-Human Identities Top 10 2025
- OWASP GenAI Security Project: Top 10 for Agentic Applications
- MITRE: ATT&CK Enterprise Matrix
- MITRE ATT&CK: T1552 Unsecured Credentials
- MITRE ATT&CK: T1098 Account Manipulation
- MITRE: ATLAS
- NIST: SP 800-53 Rev. 5
- NIST: Cybersecurity Framework 2.0
Related NHI Mgmt Group resources: Threat Intelligence for Identity and NHI Guide · Non-Human Identity (NHI) Guide · NHI Authentication Guide · AI Agent Threat Modelling Guide · MITRE ATLAS Guide