Sourced guideLast checked 16 October 2026 with AI-assisted research. Editor: Akshay Dubey.Corrections logEditorial policy
On this page
  1. What it is
  2. Quick reference
  3. NHI1, Improper offboarding
  4. NHI2, Secret leakage
  5. NHI3, Third-party NHI
  6. NHI4, Insecure authentication
  7. NHI5, Overprivileged NHI
  8. NHI6, Cloud deployment
  9. NHI7, Long-lived secrets
  10. NHI8, Environment isolation
  11. NHI9, NHI reuse
  12. NHI10, Human use of NHI
  13. Self-audit
  14. Primary sources
  15. Mapping the Top 10 to the NHI lifecycle
  16. How to use the list
  17. FAQ

TL;DR

  • OWASP NHI Top 10 (2025) ranks ten NHI risks by exploitability, prevalence, detectability and impact.
  • NHI1 (Improper offboarding), NHI2 (Secret leakage), NHI5 (Overprivileged) recur across the 2023 to 2025 breach case studies on this site.
  • By our grouping, three of the ten trace to two root causes: lifecycle management (NHI1) and credential hygiene (NHI2, NHI7).
  • Run the interactive self-audit for a coverage score.

What the OWASP NHI Top 10 is, and isn't

The OWASP NHI Top 10 is a risk taxonomy: a structured list of ten risks to non-human identities, published as an OWASP Incubator project in 2025 and ranked using the OWASP Risk Rating Methodology. It follows the format of the OWASP Top 10 for web applications and the OWASP API Security Top 10, and OWASP describes it as written for application developers.

It is not:

  • A complete NHI controls framework (it lists risks, not a control set)
  • A regulatory requirement (it is a community awareness document, not a standard or a regulation)
  • A benchmarking model (the five-level maturity model on this site does that job)
  • An architecture specification (that is SPIFFE/SPIRE and the IETF WIMSE drafts)

The primary source document is maintained at owasp.org/www-project-non-human-identities-top-10/. OWASP's project listing names two project leaders, Tal Skverer of Astrix Security and Roni Lichtman of Torch Security. Our walkthrough is editorial and was not commissioned by OWASP or by any sponsor.

Quick reference, all ten at a glance

The root-cause grouping and the exemplar incidents in this table and in the sections below are our own selection, not OWASP's. The OWASP project page cited here names no incidents; the introduction to the 2025 list gives three examples of its own (Midnight Blizzard, the Internet Archive and Okta).

IDRiskRoot causeExemplar breach
NHI1Improper offboardingLifecycle managementMicrosoft Storm-0558 (2023)
NHI2Secret leakageCredential hygieneShai-Hulud 2.0 (2025); CircleCI (2023); Okta Support (2023), in our reading
NHI3Vulnerable third-party NHISupply chainSalesloft/Drift (2025)
NHI4Insecure authenticationAuth designSnowflake UNC5537 (2024)
NHI5Overprivileged NHIAuthorisation designOkta Support (2023), in our reading
NHI6Insecure cloud deployment configurationsAuth designNo single named incident
NHI7Long-lived secretsCredential hygieneCodecov (2021); Storm-0558 (2023)
NHI8Environment isolationArchitectureNo single named incident
NHI9NHI reuseGovernanceNo single named incident (shared automation accounts)
NHI10Human use of NHIGovernanceOkta Support (2023), in our reading; Uber 2022 (hard-coded administrator credentials, per press reports of the attacker's claims)

NHI1, Improper offboarding

What it is: An NHI is created for a purpose, the purpose ends, and the NHI continues to exist with live credentials and accumulated privileges. The defining characteristic of orphaned identities.

Why it happens: NHIs have no natural decommissioning trigger. When a human leaves, HR fires an event. When an application is retired, nobody fires an event. The NHI lives on.

Exemplar: Microsoft Storm-0558 (2023). A Microsoft account (MSA) consumer signing key created in 2016 was still valid in 2023 and was used to forge tokens. The Cyber Safety Review Board found the key had been due for retirement in 2021. How it was stolen is not known. Press reports put the number of State Department emails taken at about 60,000. See the case study.

Controls: Event-driven offboarding tied to HR terminations, application retirements (CMDB), and integration removals. Inactivity-based retirement (no authentication in 90 days). Quarterly orphan sweeps that flag NHIs with no current owner. See lifecycle triggers.

NHI2, Secret leakage

What it is: Credentials end up in places accessible to attackers, public or private source repositories, CI/CD log files, container images, Slack, developer workstations, backup archives.

Why it happens: Developers need credentials to develop. Without a centralised secret store that's easier than hardcoding, credentials end up inline.

Exemplar: Shai-Hulud second wave (November 2025), a self-replicating npm worm that published stolen secrets to public GitHub repositories created by the malware. Wiz counted more than 25,000 such repositories on 24 November 2025, and Entro Security was reported to have identified 1,195 organisations in the exposed data; counts differ by researcher and date. See the case study. CircleCI (disclosed January 2023): malware on an engineer's laptop stole a 2FA-backed SSO session, and the actor then exfiltrated customer environment variables, tokens and keys from production databases and stores, according to CircleCI's incident report.

Controls: Centralised secret store (Vault, Secrets Manager, Key Vault). Secret scanning (GitGuardian, GitHub native, TruffleHog) across all source repositories and CI logs. Developer training and pre-commit hooks. Rapid rotation on detection. See secrets management.

NHI3, Vulnerable third-party NHI

What it is: A third-party supplier's NHI credential, their OAuth refresh token, their integration service account, their API key, is compromised, and the attacker pivots into your environment through the supplier's authorised access.

Why it happens: Third-party integrations require shared trust, and your defenders don't have visibility into the supplier's identity posture.

Exemplar: Salesloft/Drift (August 2025). An actor tracked by Google Threat Intelligence Group as UNC6395 stole OAuth tokens held by Salesloft's Drift integration and used them between 8 and 18 August 2025 to export data from customers' Salesforce instances. Google estimated that more than 700 organisations were potentially affected, which is an estimate of exposure and not a count of confirmed breaches. Organisations that publicly acknowledged impact include Cloudflare, Google, Tanium, Zscaler and Palo Alto Networks.

Controls: OAuth application review on installation. Periodic re-review of granted scopes. Revocation of unused integrations. SSPM tooling (for example AppOmni or Obsidian Security) for SaaS-to-SaaS integration inventory. Contractual language requiring supplier notification of credential-related incidents. See full case study.

NHI4, Insecure authentication

What it is: NHIs authenticate with deprecated mechanisms, HTTP basic auth, bare passwords, long-lived bearer tokens without binding, rather than modern patterns (OIDC, mTLS, workload identity federation).

Why it happens: Legacy applications don't support modern auth. Migrations are hard. Short-term pragmatism outlasts the migration plan.

Exemplar: Snowflake UNC5537 (2024). Single-factor customer credentials, many exposed by infostealer malware, were used to access Snowflake customer instances. Mandiant and Snowflake notified approximately 165 potentially exposed organisations. Organisations that disclosed related incidents include AT&T (about 110 million customers to be notified, according to an AT&T spokesperson; Wired reported a payment of about $370,000, which AT&T's 8-K does not mention) and Live Nation (sellers claimed 560 million Ticketmaster records; Live Nation gave no figure). Mandiant found that the impacted accounts had no MFA, which was available to customers but optional at the time. Public sources do not say how many of the accounts were service accounts; we use the case because unrotated single-factor passwords behave like static secrets. See the case study.

Controls: Require modern authentication (OIDC with workload binding) for all new NHIs. Replace personal access tokens used by automation, which are credentials of a human account, with app or installation tokens or federated identity. Deprecate basic auth and static passwords on a scheduled migration. Use workload identity federation instead of long-lived keys where supported. See SPIFFE/SPIRE.

NHI5, Overprivileged NHI

What it is: NHIs are granted more permissions than they need for their purpose, creating broader lateral-movement potential when compromised.

Why it happens: Right-sizing is tedious. Granting broad permissions is fast. Reviewing them afterward requires effort nobody has.

Exemplar: Okta Support System (October 2023). Okta said the username and password of a service account in its customer support system had been saved to an employee's personal Google profile on an Okta-managed laptop. The account had permissions to view and update customer support cases, and files belonging to 134 customers were accessed. In our reading, the breadth of that access compounded the initial credential exposure. See the case study.

Controls: Permission boundaries enforced at creation. Regular access reviews (quarterly for high-privilege, annually for the population). Unused-permission detection and removal. Just-in-time elevation for rare privileged actions. Attribute-based access control (ABAC) where applicable.

NHI6, Insecure cloud deployment configurations

What it is: CI/CD pipelines have to authenticate to cloud services in order to deploy. OWASP describes two routes. A dedicated service account with static credentials can have those credentials exposed through code repositories, logs or configuration files. OpenID Connect (OIDC) federation issues short-lived tokens, but it can be misconfigured so that identity tokens are not properly validated or claims such as sub are not restricted.

Why it happens: Static cloud keys in a pipeline are quick to set up. An OIDC trust policy is easy to write too broadly, for example by accepting any repository or branch.

Exemplar: No single named incident is cited here. The example scenarios on the OWASP page are generic misconfigurations of AWS and Azure trust for CI/CD pipelines.

Controls: Replace static cloud keys in pipelines with OIDC federation. Restrict the trust policy to named repositories, branches or environments through conditions on the token claims. Give the pipeline role least privilege. Lint trust policies in infrastructure as code (for example with OPA or Checkov). See GitHub Actions to AWS without keys.

NHI7, Long-lived secrets

What it is: Credentials that never rotate, or rotate only in response to known exposure. The inverse of the short-lived / dynamic / workload-identity ideal.

Why it happens: Rotation is operationally hard. "If it isn't broken, don't fix it" applies. Integration with modern rotation patterns is often an afterthought.

Exemplar: Microsoft Storm-0558 again (the signing key was about seven years old when it was used). Codecov Bash Uploader (2021): per Codecov's post-mortem, a static HMAC key for a Google Cloud Storage service account, extracted from a Docker image layer, let an actor alter the script periodically from 31 January 2021 until a customer noticed a checksum mismatch on 1 April 2021. See the case study.

Controls: Scheduled rotation in the centralised secret store. Dynamic secret generation for databases and cloud IAM. Workload identity federation where available. Target: p50 credential age under 90 days; ideally under 7 days. See dynamic and short-lived secrets.

NHI8, Environment isolation

What it is: NHIs shared across environments (dev, staging, production), so a compromise of the development environment grants access to production.

Why it happens: Sharing NHIs is a shortcut. Separate NHIs per environment require proper CI/CD patterns and configuration-per-env hygiene.

Exemplar: No single named incident is cited here. The pattern is a compromised development or staging environment used to reach production through shared service accounts or shared API keys.

Controls: Distinct NHIs per environment. Environment-specific permission boundaries. Separate secret-store namespaces per environment. Network-level segmentation so production-only NHIs cannot be exercised from development contexts.

NHI9, NHI reuse

What it is: A single NHI used for multiple unrelated purposes, so its permissions are the union of all those purposes, and compromise exposes all of them.

Why it happens: Creating new NHIs has friction. "Just use the existing one" is the path of least resistance.

Exemplar: Common organisational pattern: one "automation" service account that runs deployments, runs backups, and handles monitoring, with accumulated permissions from all three. Compromise of any one use case exposes the others.

Controls: Separate NHI per use case / per application / per integration. Naming conventions that encode purpose. Provisioning workflows that default to creating new NHIs rather than reusing. Discovery processes that flag NHIs used by multiple distinct systems.

NHI10, Human use of NHI

What it is: Humans logging in as service accounts, or sharing NHI credentials across a team for operational convenience. Breaks identity accountability and exposes NHI credentials to human-vector risks (phishing, credential stuffing).

Why it happens: Operational convenience, especially during incidents. Permissions that humans need are convenient when already present on a service account.

Exemplar: In our reading, the Okta support system breach (October 2023) is the closest documented case: Okta said the username and password of a service account had been saved to an employee's personal Google profile on an Okta-managed laptop. See the case study. Separately, press reports of the September 2022 Uber intrusion, based on the attacker's own claims, described a PowerShell script on a network share that contained administrator credentials for a privileged access management system. Uber's own security update does not mention the script.

Controls: Block interactive login for service accounts where possible. Break-glass access logged separately with alerting. Distinct privileged access tooling (PAM) for human operators. Just-in-time elevation rather than shared long-lived credentials.

Self-audit, run it now

Scoring yourself against all ten risks takes about eight minutes and gives a coverage percentage in the browser. Nothing is emailed or stored. The OWASP NHI Top 10 self-audit is the tool.


Primary source: owasp.org/www-project-non-human-identities-top-10. Always consult the primary source for the authoritative current version.

Mapping the Top 10 to the NHI lifecycle

The list is organised by risk. Programmes are organised by lifecycle stage. The mapping below is ours, not OWASP's, and is offered as a way to convert an awareness list into a work plan. Where a risk spans two stages we have assigned it to the one where prevention is cheapest.

Scroll sideways to see all columns.

Lifecycle stageRisks it preventsThe failure if you skip it
1. Discovery & inventoryPrerequisite for all tenYou cannot offboard, right-size or rotate an identity you have not found. Every other control has an unbounded denominator.
2. Secure provisioningNHI5, NHI6, NHI8, NHI9Over-permissioned, shared, cross-environment identities are created faster than you can remediate them.
3. Monitoring & detectionNHI10, and detection for NHI2, NHI3Human use, third-party compromise and leaked-secret exercise all look like normal traffic.
4. Credential risk managementNHI2, NHI4, NHI7Leaked credentials stay valid indefinitely; deprecated authentication persists because nothing forces migration.
5. DecommissioningNHI1The top-ranked risk, unaddressed. Every retired workload leaves a working credential behind.

The one the lifecycle does not cover

NHI3 Vulnerable Third-Party NHI is only partly a lifecycle problem. The compromise happens at a supplier, outside your control surface, and no control of yours is bypassed when the grant is exercised. What you can control is the scope of the grant, whether it has an owner and a review date, and whether you would detect abnormal use of it. Treat it as a third-party risk management item that happens to be expressed as an identity, and make sure it appears in both registers.

How to use the list

  1. Score your own inventory against all ten. Not a workshop estimate, counts from the inventory. If you cannot produce counts, the finding is that discovery is incomplete, and that is the first project.
  2. Re-rank for your estate. OWASP's order is a general ranking. Rank by your own count multiplied by your own blast radius.
  3. Assign each risk to a lifecycle stage owner, not to a security analyst. These are prevented by platform and engineering changes, not by findings.
  4. Map to your control framework for evidence. The Top 10 tells you what to worry about; ISO/IEC 27001:2022 Annex A and NIST SP 800-53 Rev. 5 tell you what to show an auditor.
  5. Re-score quarterly. The list is static; your estate is not.

Frequently asked questions

What is an overprivileged NHI?

A non-human identity holding permissions beyond what its actual function requires. It is one of the OWASP Non-Human Identities Top 10 categories. Permissions are often granted on what was requested at creation rather than on observed usage, and are not reduced unless someone reviews them. The practical test is to compare granted permissions against ninety days of actual use.

What is a vulnerable third-party NHI?

An identity granted to an external vendor, SaaS integration or connected application, where the risk is inherited from a party outside your control. It is an OWASP NHI Top 10 category and the pattern behind several major incidents, including the Salesloft/Drift OAuth compromise: the integration was legitimate, the scope was broad, and the compromise happened at the third party rather than at the customer.

Is there an OWASP NHI Top 10 PDF?

OWASP publishes the Non-Human Identities Top 10 through its project site and the material is freely available. We deliberately do not host a copy, because the list is revised and a mirrored PDF becomes a stale authority. Always work from the OWASP project page for the current version, and use our walkthrough for interpretation rather than as a substitute.

How does the OWASP NHI Top 10 relate to the OWASP Top 10 for Agentic Applications?

They are complementary lists from adjacent OWASP efforts. The NHI Top 10 enumerates risks to non-human identities generally, including service accounts, secrets and third-party integrations. The Top 10 for Agentic Applications, published in December 2025, addresses threats specific to autonomous agent systems. Organisations deploying agents usually need both, since an agent holds a non-human identity and adds failure modes of its own.

Does the OWASP NHI Top 10 cover secrets rotation?

Yes, in substance. Long-lived and unrotated credentials appear as a distinct risk category, and rotation is the primary control. Note that rotation on its own is insufficient if the identity is also overprivileged or unowned: a rotated credential attached to an over-scoped identity narrows the theft window without narrowing the blast radius.

Is the OWASP NHI Top 10 a standard?

No. It is a published awareness document from OWASP: freely available, but not certifiable and, as far as we have found, not cited in any regulation. Use it to structure an assessment and to communicate risk categories. If you need something citable to an auditor, map findings onto ISO/IEC 27001 controls or an ISO/IEC 42001 management system.

What is the OWASP Non-Human Identities Top 10?

An awareness document published by OWASP in 2025 ranking the ten most critical risks associated with non-human identities. It was compiled using the OWASP Risk Rating Methodology over data sources including real-world breaches, surveys and CVE databases, and is aimed primarily at application developers.

What are the ten risks?

NHI1 Improper Offboarding, NHI2 Secret Leakage, NHI3 Vulnerable Third-Party NHI, NHI4 Insecure Authentication, NHI5 Overprivileged NHI, NHI6 Insecure Cloud Deployment Configurations, NHI7 Long-Lived Secrets, NHI8 Environment Isolation, NHI9 NHI Reuse, NHI10 Human Use of NHI.

Is it a compliance requirement?

No. It is an awareness and prioritisation document, not a standard or certifiable control set. No regulation requires conformance to it. Many of its items map onto control objectives in ISO/IEC 27001:2022 Annex A and NIST SP 800-53 Rev. 5 that are auditable.

Why is Improper Offboarding ranked first rather than secret leakage?

OWASP ranks by exploitability, prevalence, detectability and impact. Our reading, which is not OWASP's stated rationale, is that improper offboarding is common and requires no vulnerability to exploit. An identity that is never removed remains a valid authentication path indefinitely, with no owner monitoring it and no expiry to close the window. The credential simply still works.

Primary sources

Sources for the OWASP material are listed below. Where a figure is vendor-published or reported rather than formally disclosed, the entry says so.

From the publisher

HumanAudit, which publishes this site, is preparing the NHI Governance pack: an NHI policy, ownership register, lifecycle procedures and one control set mapped, as our interpretation, to PCI DSS v4.0.1, ISO/IEC 27001:2022, NIS2 and DORA. Planned for March 2027; not yet on sale, and no price has been published.

Page history

Merged from the nhimanagement.com guide on 7 October 2026, when the two sites were combined: the sections "Mapping the Top 10 to the NHI lifecycle"; "How to use the list" and 4 questions in the FAQ. The merged material is under review against our methodology.

Monthly change log

Know when the NHI landscape changes.

One email a month from this reference: new deals, standards status changes and corrections. No sponsored content. Unsubscribe from any email.

We first email you a link to confirm. Privacy policy.