Agentic AI Module Added To NHI Training Course
Home Glossary Governance, Ownership & Risk Identity Dark Matter
Governance, Ownership & Risk

Identity Dark Matter

← Back to Glossary
By NHI Mgmt Group Updated June 2, 2026 Domain: Governance, Ownership & Risk

Identity dark matter is the hidden mass of old grants, unused credentials, and inherited access that exists in an environment but is not actively understood. In NHI programmes it becomes dangerous because autonomous systems can discover and reuse it at machine speed.

Expanded Definition

Identity dark matter is not a formal standard term, but it is a useful operational label for the hidden layer of legacy access that survives after teams forget why it was granted. It usually includes stale service accounts, orphaned API keys, inherited roles, dormant certificates, and accounts tied to retired systems. In NHI programmes, the risk is amplified because Ultimate Guide to NHIs shows that NHIs outnumber human identities by 25x to 50x, which makes unmanaged access much harder to see and reconcile.

Definitions vary across vendors when they talk about “shadow access,” “access debt,” or “permission residue,” but the practical meaning is consistent: access exists, cannot be confidently explained, and is therefore hard to govern. The concept is closely related to the visibility and offboarding themes described in NIST Cybersecurity Framework 2.0, even though NIST does not use the term itself. The most common misapplication is treating identity dark matter as a simple cleanup task, which occurs when teams remove obvious stale accounts but leave inherited permissions, machine-to-machine trust, and automation paths untouched.

Examples and Use Cases

Implementing a rigorous approach to identity dark matter often introduces reconciliation overhead, requiring organisations to weigh faster delivery against the cost of deeper entitlement review and lifecycle discipline.

  • A CI/CD pipeline still trusts an API key issued for a retired build job, and the key persists because no owner is tied to its original purpose.
  • A cloud role inherited from a parent group grants read access to production data long after the project team changed, creating hidden blast radius.
  • A service account used by an old integration remains active in a secrets store, even though the application now authenticates through a newer path.
  • An AI Agent retains tool access after the workflow that created it has been replaced, so the agent can rediscover and reuse forgotten permissions at machine speed.
  • An offboarded vendor account still appears in logs only intermittently, making it easy to miss without continuous review and incident-style tracing.

These patterns are documented across incident analyses such as 52 NHI Breaches Analysis and the JetBrains GitHub plugin token exposure, where dormant or overexposed secrets became operationally relevant long before teams noticed them. The same governance logic appears in guidance from Top 10 NHI Issues and the identity assurance principles reflected in NIST Cybersecurity Framework 2.0.

Why It Matters in NHI Security

Identity dark matter matters because it is usually the first place adversaries look once they have a foothold. If a secret is still valid, a role is still trusted, or a service account was never fully decommissioned, an attacker does not need to defeat strong front-door controls. In practice, that means governance gaps become execution paths. NHIMG research shows that Ultimate Guide to NHIs reports 91.6% of secrets remain valid five days after the targeted organisation is notified, which illustrates how slowly hidden access is often remediated.

This is why identity dark matter belongs in every review of ZTA, PAM, RBAC, JIT, and ZSP. A Zero Trust posture cannot be credible if unknown identities retain standing access, and privileged access reviews are incomplete when legacy grants are excluded from inventory. Organisations typically encounter the impact only after a breach review, at which point the forgotten credential, role, or certificate becomes operationally unavoidable to address.

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 address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02Addresses secret sprawl and unmanaged NHI credentials that create hidden access.
NIST CSF 2.0PR.AA-1Identity and access management controls require knowing what identities and privileges exist.
NIST Zero Trust (SP 800-207)SC-7Zero Trust requires explicit verification, not trust in legacy or hidden standing access.

Inventory dormant secrets, remove orphaned access, and enforce lifecycle controls for every NHI.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on June 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org