By NHI Mgmt Group Editorial TeamBased on Saviynt: “Key Insights from the OWASP Top 10 for Securing Non-Human Identities” (April 18, 2025)

TL;DR: Machine identity risk is now being driven by offboarding failures, secret leakage, overprivilege, and long-lived credentials, according to Saviynt’s analysis of the OWASP Top 10 for NHI, with the article framing NHI governance as a real-time discipline rather than a periodic review process. The sharpest insight is that human-centric IAM controls break down when NHIs are decentralized, short-lived, and embedded across cloud, CI/CD, and AI workflows.


At a glance

What this is: Saviynt maps the OWASP Top 10 for NHI to the operational failures that make machine identities hard to govern, with offboarding, secret leakage, overprivilege and long-lived secrets at the centre.

Why it matters: IAM, IGA and PAM teams need to treat NHI governance as a live control problem because machine identities move faster, sprawl wider and fail differently from human accounts.


Context

Non-human identities are machine and software identities such as service accounts, API keys, certificates, tokens and bot or AI agent credentials. The governance problem is not just volume. These identities are created, used and forgotten across cloud, CI/CD and AI workflows in ways that human-centric IAM processes do not fully cover.

Saviynt argues that the OWASP Top 10 for NHI gives security teams a common way to rank these risks, especially where offboarding, secret leakage and overprivilege create persistent exposure. The article’s core point is that NHI governance has to move closer to runtime and lifecycle events, not periodic review cycles.

The article also links NHI risk to compliance pressure and to the growing overlap between human and machine access paths. That makes the topic relevant to IAM, IGA and PAM programmes that still treat machine access as an edge case rather than part of the identity estate.


Key questions

Q: What breaks when NHI credentials are never offboarded?

A: When offboarding is missing, API keys, tokens and service accounts can remain valid after the workload or integration is gone. That creates orphaned access that no one owns, no one reviews and attackers can eventually find in repositories, logs or old configurations. The failure is lifecycle, not just hygiene: the credential outlives the business need.

Q: Why do long-lived NHI secrets create disproportionate breach risk?

A: Long-lived secrets extend the time an attacker can reuse a stolen credential and make revocation harder after exposure. The risk grows when teams depend on manual rotation or legacy systems, because the credential stays valid long enough to become reusable across multiple systems and incidents.

Q: What are the signs that NHI governance is failing in an enterprise?

A: Common warning signs include unclear ownership for service accounts, secrets stored in code or configuration instead of managed vaults, infrequent rotation, and weak offboarding of API keys. Other red flags are excessive permissions, third-party exposure without controls, and low visibility into where non-human identities exist or how they are used across the stack.

Q: Should IAM teams prioritize NHI inventory or NHI remediation first?

A: They should start with inventory if the organisation cannot reliably see where machine identities exist or who owns them. Without inventory, remediation becomes guesswork and offboarding is incomplete. Once the estate is visible, teams can target the highest-risk items first, especially exposed secrets, overprivileged accounts and credentials with no clear expiry.


Technical breakdown

Why traditional IAM controls break down for NHIs

Traditional IAM was built around people, with stable ownership, slower turnover and clear review cycles. NHIs behave differently because they can be created in code, copied into pipelines, reused across systems and left active without a natural offboarding event. That breaks assumptions behind recertification, role assignment and entitlement cleanup. The result is not just more identities, but identities that do not fit the human lifecycle model. Practical implication: treat NHI governance as a separate operational lane with its own ownership, inventory and expiry logic.

Practical implication: Separate NHI lifecycle governance from human access administration and give it its own controls and ownership.

How secret leakage becomes an identity problem

For NHIs, a secret is not just a credential artifact. It is often the identity itself. API keys, tokens and certificates can appear in repositories, logs, build systems or support tooling, and once exposed they can be replayed until revoked. That is why secret leakage is an identity governance issue, not only a code hygiene issue. The control gap is that many environments still do not know where machine credentials live or who can revoke them fast enough. Practical implication: inventory machine secrets as governed identities, not as stray technical assets.

Practical implication: Track machine secrets as governed identities so exposure, ownership and revocation are always clear.

Why overprivilege and long-lived secrets compound NHI risk

Overprivileged NHIs become high-value access paths because machines often need broad permissions to keep services working. When those permissions are paired with long-lived secrets, the blast radius becomes durable and difficult to inspect. This is where the OWASP NHI model is useful: it highlights that excessive access and excessive lifetime are not separate issues. They reinforce each other. Practical implication: reduce standing scope and shorten credential lifetime together, rather than treating them as independent fixes.

Practical implication: Review privilege scope and credential lifetime together because either problem amplifies the other.


Threat narrative

Attacker objective: The attacker wants durable machine-side access that can be reused across systems without triggering human access controls.

  1. Entry occurs when exposed or reused NHI secrets are discovered in code, logs or third-party services and then replayed against connected systems.
  2. Escalation follows when the compromised machine identity carries broader permissions than the task requires, allowing access beyond the original workload.
  3. Impact occurs when those credentials persist long enough to reach cloud resources, data stores or administrative interfaces that were never meant to be broadly accessible.
  • Sisense breach 2024: A credential in Sisense's GitLab reportedly opened S3 buckets of customer tokens, passwords and certificates; CISA urged a full reset.
  • CISA Private-CISA GitHub leak 2026: A CISA contractor's public GitHub repo exposed AWS GovCloud admin keys, Artifactory credentials and plaintext passwords for six months.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

OWASP-NHI gives practitioners a control language for machine identities, but the real issue is governance lag. The article’s value is not the list itself. It is the way it surfaces recurring failure modes such as improper offboarding, secret leakage, overprivilege and long-lived secrets as a connected identity problem. For practitioners, the point is to stop treating NHIs as exceptions and start governing them as a first-class identity estate.

Machine identity governance is now a runtime discipline, not a review-cycle discipline. Saviynt’s article makes clear that NHIs are scattered across CI/CD, cloud services and AI workflows, often existing for minutes or seconds. That means a quarterly access review cannot be the primary control plane. The practitioner takeaway is that issuance, expiry and revocation need to happen near the point of use, not after the fact.

Human-centric IAM assumptions do not survive NHI sprawl. The article shows why centralized records, stable owners and periodic certification are weak fits for identities created and consumed by software. That is especially true when one person can indirectly control many machine identities through pipelines and automation. Practitioners should reframe NHI governance as delegated machine access with explicit lifecycle ownership.

Access scope and credential lifetime are the two variables that matter most in machine identity risk. The article consistently points to overprivilege and long-lived secrets as the conditions that turn ordinary automation into persistent exposure. If either control is weak, the other loses value quickly. The practical conclusion is that identity programmes need to measure machine privilege and secret age together, not in separate silos.

Identity blast radius is the right concept for this category. The article shows that the exposure created by one leaked or orphaned NHI can spread far beyond the original system because machine access is often reused and poorly segmented. That blast radius is what security teams should map, contain and reduce. The implication is to govern machines by reachable impact, not just by count of credentials.

From our research library:

What this signals

Identity blast radius: NHI risk is best understood as the distance a single machine credential can travel before it is contained. When secrets are reused across pipelines, third-party services and runtime workloads, the control problem shifts from access management to exposure containment. Practitioners should map that blast radius explicitly rather than assuming one secret equals one system.

The article also reinforces a practical split between human IAM and machine governance. Human review cycles do not naturally fit credentials that are created by code, consumed by software and retired by deployment logic. That means programme owners should separate inventory, ownership and revocation paths for NHIs instead of layering them onto human access processes.


For practitioners

  • Define a dedicated NHI ownership model Assign explicit owners for service accounts, API keys, certificates and tokens so every machine identity has a lifecycle accountable party.
  • Inventory machine secrets continuously Map where credentials live across repositories, build systems, logs, cloud consoles and third-party services, then tie each secret back to a workload or service owner.
  • Shorten secret lifetime by design Replace persistent machine credentials with short-lived authentication wherever the workload allows, and set hard expiry for exceptions.
  • Reduce default privilege for NHIs Review each machine identity for task-scoped permissions and remove broad access that is only there for convenience or legacy integration.
  • Build offboarding into deployment and decommissioning Remove machine access when applications, vendors or pipelines are retired, not after a periodic review discovers the orphaned account.

Key takeaways

  • The article frames machine identity governance as a lifecycle and exposure problem, not just a policy problem.
  • The strongest risk signals are exposed secrets, overprivileged access and credentials that outlive the workload they support.
  • Teams that cannot inventory and revoke machine identities quickly will keep inheriting the same attack paths across cloud and CI/CD estates.

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 CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-01 — Improper OffboardingThe article repeatedly cites orphaned and unmanaged machine identities as a core governance gap.
NHI-02 — Secret LeakageSecret exposure is one of the article's main failure modes for machine identity compromise.
NHI-05 — Overprivileged NHIThe article warns that machine identities often carry broader permissions than their task requires.
Recommendation — Map machine identity offboarding to NHI-01 and revoke access when workloads, vendors or pipelines are retired. Scan code, logs and build systems for leaked NHI secrets and revoke exposed credentials immediately. Review NHI entitlements for task scope and remove broad permissions that are only present for convenience.
MITRE ATT&CKTA0006; TA0008 — Credential Access; Lateral MovementThe article describes how exposed machine secrets enable reuse and movement across connected systems.
Recommendation — Map exposed machine secrets to TA0006 and TA0008 to prioritise containment paths and downstream access.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about controlling NHI entitlements and authorization scope.
Recommendation — Apply PR.AA-05 to govern machine access scopes, ownership and revocation as part of identity control.
CIS Controls v8CIS-5 — Account ManagementMachine identity lifecycle and account ownership are central to the article's governance argument.
Recommendation — Use CIS-5 to track machine accounts, owners and decommissioning status across the identity estate.

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.
  • Secrets Leakage: Secrets leakage is the exposure of credentials such as API keys, tokens, or certificates in places where they can be discovered and reused. The risk is not just disclosure, but unauthorized authentication that turns a coding or pipeline mistake into active access.
  • Offboarding: Offboarding is the controlled retirement of a workload, service account, token, certificate, or other non-human identity when it is no longer needed. It includes revoking credentials, removing permissions, and verifying that no residual trust path remains available to attackers.
  • Overprivileged Nhi: An overprivileged NHI is a service account, token, key, or other machine identity that has been granted more access than it needs to do its job. The risk is not theoretical. Excess scope increases blast radius, makes compromise more valuable to attackers, and slows containment when the identity is abused.

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.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 17, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org