Join our Newsletter — 33% off our NHI Course

Account Chain

An account chain is the linked path between identities, permissions, and downstream resources that an account can reach. Mapping these relationships helps security teams understand how access propagates across systems. In practice, it is a control for spotting hidden privilege paths and limiting blast radius during compromise.

Expanded Definition

An account chain is the linked sequence of identities, entitlements, and reachable resources that defines what an account can touch, inherit, or pivot into across systems. In NHI security, the concept is less about a single login and more about the access graph created by service account, API keys, workloads, tokens, and delegated permissions.

That graph matters because compromise rarely stays local. A narrowly scoped account may still become a path to secrets, administrative functions, or production data if trust relationships are layered poorly. This is why account chain analysis is closely related to least privilege, access reviews, and privilege path discovery, and why practitioners often map it alongside controls in NIST SP 800-53 Rev 5 Security and Privacy Controls. The terminology is still evolving across vendors, so some teams use it interchangeably with access path mapping or entitlement chaining, but the practical goal is the same: show how authority propagates. The most common misapplication is treating the account itself as the unit of risk, which occurs when inherited permissions and downstream trust links are not modeled.

Examples and Use Cases

Implementing account chain analysis rigorously often introduces mapping overhead, requiring organisations to balance visibility into privilege propagation against the cost of continuous graph maintenance.

  • A CI/CD service account can read a deployment secret, assume a cloud role, and reach production workloads. That chain is a high-value path even if each individual permission looks acceptable in isolation.
  • An AI agent with tool access may inherit an account chain through an orchestrator, then reuse stored tokens to call external APIs. This is where NHI and agentic AI governance overlap in practice.
  • A legacy admin account is linked to a shared automation account, which is linked to a secrets vault. The chain explains why a low-frequency account still creates a broad blast radius.
  • During investigations, teams can compare observed account chain behavior against documented expectations in the DeepSeek breach to understand how exposed credentials and connected systems magnify impact.
  • In cloud environments, a short-lived token may be harmless alone, but if it can refresh, impersonate, or enumerate downstream roles, the chain becomes the real control object.

Analysts typically use account chain views to find unnecessary transitive access, cross-environment reach, and privilege escalation routes before a compromise turns into a broader incident.

Why It Matters in NHI Security

Account chains are critical because NHI compromise is often about reach, not just possession. A leaked secret, token, or certificate may appear limited, but once mapped into its account chain, it can reveal hidden administrative paths, lateral movement options, and paths to additional secrets. That is why account chain analysis supports both preventive governance and incident containment.

NHIMG research shows how quickly exposed credentials can be abused in the wild: when AWS credentials are exposed publicly, attackers attempt access within an average of 17 minutes, and as quickly as 9 minutes in some cases, as discussed in LLMjacking: How Attackers Hijack AI Using Compromised NHIs. In the same source, DeepSeek reportedly embedded over 11,000 secrets in training data and exposed a database with more than one million sensitive records, illustrating how chained access and secret sprawl can compound each other. The average leaked secret still takes 27 days to remediate, according to The State of Secrets in AppSec, which means a compromised chain can remain viable long after discovery. Organisations typically encounter the consequence only after a token theft, cloud breach, or agent misuse, at which point account chain analysis 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 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0, NIST Zero Trust (SP 800-207) and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-04 Account chains expose hidden privilege paths and transitive access risks in NHI estates.
NIST CSF 2.0 PR.AA-1 Identity proofing and access relationships underpin how accounts propagate authority.
NIST Zero Trust (SP 800-207) SC-7 Zero trust limits implicit trust across chained identities and reachable resources.
NIST SP 800-63 AAL2 Assurance levels matter when chained accounts can impersonate or escalate access.
OWASP Agentic AI Top 10 A3 Agent tool use can inherit account chains through orchestrators and delegated tokens.

Inventory agent tool permissions and break chains that let one agent reach many systems.