Join our Newsletter — 33% off our NHI Course
Authentication, Authorisation & Trust

Compromised Token

← Back to Glossary
By NHI Mgmt Group Updated August 24, 2026 Domain: Authentication, Authorisation & Trust

A compromised token is a session credential or bearer token that has been stolen, intercepted, or otherwise abused by an attacker. Because the token may already be trusted by the application, it can bypass password checks and sometimes MFA. Defending against token abuse requires session visibility, revocation options, and detection of suspicious browser activity.

Expanded Definition

A compromised token is more than a stolen credential; it is a bearer artifact that may still be accepted by a service because possession alone is often enough to authenticate. In NHI environments, that makes token theft, interception, replay, and post-exfiltration reuse especially dangerous. Definitions vary across vendors, but the practical concern is consistent: once an attacker holds a valid token, they may inherit the original identity’s access path without triggering password validation or, in some implementations, step-up checks. The relevant standards context is bearer-token handling in protocols such as the OAuth 2.0 Bearer Token Usage specification, where the token itself becomes the proof of access.

This term is often confused with “credential theft” in the abstract, but compromised token handling requires session-specific controls: visibility into where tokens are used, the ability to revoke them quickly, and rules that distinguish normal automation from abuse. NHI practitioners should also treat tokens as short-lived when possible and bound to device, audience, or context rather than reusable everywhere. The most common misapplication is assuming MFA removes token risk, which occurs when organisations protect login events but fail to detect reuse of already issued bearer token.

Examples and Use Cases

Implementing token protection rigorously often introduces operational friction, requiring organisations to weigh tighter revocation and session limits against smoother automation and user experience.

  • A leaked oauth token in a support ticket is used to access customer records, similar to the Salesloft OAuth token breach, where possession of the token enabled downstream abuse.
  • A CI/CD runner stores a cloud access token in logs, then an attacker reuses it from another network location; this matches the exposure patterns described in the State of Secrets Sprawl 2026 and the OAuth 2.0 Token Revocation specification for invalidation workflows.
  • A browser session token is replayed after a phishing kit captures the cookie, allowing access without re-entering a password until the session is forced out.
  • An AI agent’s tool-access token is copied from a misconfigured workspace and used to invoke privileged APIs, echoing the exposure risks documented in the Guide to the Secret Sprawl Challenge.
  • A contractor’s former session token remains active after offboarding, enabling continued access until a revocation sweep closes the gap.

Why It Matters in NHI Security

Token compromise turns identity trust into an attacker’s shortest path, because the application often cannot distinguish the legitimate holder from the thief. That is why NHI security teams focus on lifecycle control, anomaly detection, and revocation readiness rather than authentication events alone. NHIMG research shows that 44% of NHI tokens are exposed in the wild, and 91% of former employee tokens remain active after offboarding, which means exposure and persistence often coexist. The same risk shows up in broader secret sprawl, where leaked credentials remain exploitable long after discovery. External guidance such as CISA guidance on stolen credentials and the OAuth 2.0 Security Best Current Practice both reinforce the need for sender-constrained tokens, rapid invalidation, and telemetry-driven response. Organistions typically encounter the impact only after suspicious access has already occurred, at which point compromised token handling becomes operationally unavoidable to address.

Understanding this term is also essential for agentic AI governance, because an AI agent with a compromised token may continue acting as though authorised until its access path is discovered and terminated. The token itself becomes the incident boundary, not just the login event that created it.

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.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-02Directly addresses secret and token exposure as a core NHI compromise path.
NIST CSF 2.0PR.AC-1Access control governance depends on validating and limiting bearer-token use.
NIST Zero Trust (SP 800-207)SC-7Zero Trust requires continuous verification even after a token is issued.
NIST SP 800-63Digital identity guidance informs assurance, session binding, and lifecycle controls.
OWASP Agentic AI Top 10AG-04Agentic systems are vulnerable when tool-access tokens are stolen or replayed.

Inventory tokens, detect exposure, and revoke compromised NHI credentials quickly.

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