Subscribe to the Non-Human & AI Identity Journal

Who is accountable when revoked sessions keep working after access should end?

Accountability sits with the identity and application owners because session termination is a governance control, not a convenience feature. In regulated or audited environments, teams should be able to show that offboarding, password reset, and incident response all trigger authoritative session invalidation. If they cannot prove that, the control is not complete.

Why This Matters for Security Teams

When revoked sessions keep working, the problem is not just technical drift. It is a control failure that can extend access beyond offboarding, incident response, and privilege changes. That is why identity and application owners must treat session invalidation as part of the lifecycle, not as an optional cleanup step. NHIMG’s Ultimate Guide to NHIs notes that only 20% of organisations have formal processes for offboarding and revoking API keys, which helps explain why stale access persists in production.

This issue matters even more for non-human identities because sessions, tokens, and service credentials are often embedded in automation, CI/CD, or agent workflows where nobody manually logs out. The OWASP Non-Human Identity Top 10 frames this as a lifecycle and revocation problem, not a one-time authentication event. If a session can survive revocation, then the organisation has not proven that access changes actually take effect. In practice, many security teams encounter this only after an offboarding event, a compromised account, or an audit finding has already exposed the gap.

How It Works in Practice

Accountability is usually shared, but the control owner is clear: identity teams own the revocation mechanism, application teams own enforcement, and operations teams must verify that the service path actually stops accepting the session. A revoked session can persist when the application validates a long-lived token locally, caches authorisation decisions, or delays token introspection. That means the security requirement is not simply “revoke the account,” but “invalidate every active credential or session that can still call protected resources.”

For human users, this is often handled through an IdP, a session store, and a forced reauthentication policy. For NHIs and agents, the same pattern is stronger when paired with NHI Lifecycle Management Guide, short-lived credentials, and central token revocation. Where possible, teams should prefer workload identity and runtime verification over static secrets. Standards such as SPIFFE and JWT access tokens support a model where the service can check whether the caller is still valid at request time rather than assuming the session remains trustworthy forever.

  • Define who can revoke: IdP, PAM, secret manager, or application owner.
  • Verify revocation propagation: token blacklist, introspection, cache expiry, and downstream policy checks.
  • Test termination paths for offboarding, compromise, and role change, not just password reset.
  • Use short TTLs and JIT issuance where practical so stale access expires quickly even if revocation fails.

These controls tend to break down in distributed systems with offline workers, edge nodes, or locally cached authorisation because revocation does not reach every decision point immediately.

Common Variations and Edge Cases

Tighter session controls often increase operational overhead, requiring organisations to balance fast revocation against service continuity and support burden. That tradeoff becomes visible in environments that rely on long-running jobs, third-party integrations, or browser sessions that cannot be restarted on demand. Current guidance suggests that these cases need compensating controls, but there is no universal standard for exactly how quickly every session must die.

One common edge case is a legacy application that cannot call back to the identity provider on every request. In that situation, session TTL, reauthentication prompts, and network enforcement may be the only practical controls, but they are weaker than authoritative invalidation. Another edge case is a multi-agent or service-to-service workflow where one revoked credential still leaves another active path in the chain. The Guide to the Secret Sprawl Challenge is relevant here because hidden copies of secrets often outlive the session the team thought it had terminated.

Where the environment uses shared service accounts, distributed caches, or vendor-managed integrations, accountability also becomes evidentiary: teams must prove which system revoked access, when propagation completed, and which downstream services honored it. Best practice is evolving toward explicit revocation logs and periodic kill-switch testing, because “access should have ended” is not enough when audit or incident response needs proof.

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 AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 Covers lifecycle revocation and stale non-human access.
NIST CSF 2.0 PR.AA-05 Identity lifecycle controls require timely deprovisioning and access removal.
NIST AI RMF GOVERN AI governance needs clear accountability for autonomous access termination.

Assign ownership for agent session invalidation, logging, and post-revocation verification.