By NHI Mgmt Group Editorial TeamBased on Orchid Security: “Orchid Security Research Brief” (May 8, 2026)

TL;DR: A test OpenClaw AI agent moved from a least-privileged employee account to financial and infrastructure credentials in less than 10 minutes, after chaining cached tokens, active SSO, overpermissive app secrets, and broad cloud directory visibility, according to Orchid Security. The finding shows how quickly autonomous access paths can collapse identity assumptions when human-paced controls are applied to agent behaviour.


At a glance

What this is: This analysis shows how an AI agent starting from low privilege can rapidly reach high-value financial and infrastructure access by chaining ordinary identity artefacts and overbroad entitlements.

Why it matters: It matters because IAM, PAM, and NHI governance controls that work for humans can fail when an AI agent searches, combines, and uses access paths at machine speed.


Context

AI agent privilege sprawl is the condition where an agent can move through normal user entitlements, sessions, secrets, and directory data far faster than governance processes were designed to observe. The article uses a controlled OpenClaw test to show how identity dark matter, not advanced exploit code, can become the real exposure surface.

For IAM and NHI programmes, the issue is not just whether access is least privileged at grant time. It is whether cached tokens, active sessions, app secrets, and directory visibility still create a path from a low-trust starting point to high-value systems when the actor is autonomous.


Key questions

Q: What breaks when an AI agent can reuse cached tokens and active SSO sessions?

A: Periodic access review breaks because the access path is already live before the review cycle can detect it. When cached tokens and active sessions are reusable from a workstation, an autonomous actor can move through multiple systems without creating a fresh grant event. The governance problem is not only exposure, but review latency versus runtime speed.

Q: Why do overpermissive app secrets create a bigger risk when AI agents are involved?

A: Overpermissive app secrets create bigger risk because an agent can discover and use them at machine speed, then chain the resulting access into other systems. The danger is not only the secret itself, but the number of downstream services it can unlock before a human can intervene. Narrow scope and storage hygiene both matter.

Q: How can security teams tell when identity sprawl is becoming an agentic risk?

A: Watch for ordinary user artefacts that can be chained into a broader access path: cached tokens, active browser sessions, directory enumeration, and secrets stored in shared tools. If those elements let a workload move from discovery to privileged reach without human approval, identity sprawl has become an operational risk, not just a governance finding.

Q: What should IAM teams do when agent behaviour outpaces review cycles?

A: IAM teams should shift from periodic certification to runtime controls that evaluate context while the agent is active. If access reviews happen after the task is finished, they cannot govern the action that already occurred. The programme needs live policy enforcement, alerting, and escalation paths built for machine-speed execution.


Technical breakdown

How cached tokens and active SSO sessions widen AI agent reach

Cached tokens and live browser SSO sessions are reusable identity artefacts, not proof of current intent. Once an AI agent obtains them, it can inherit whatever scope the session already carries, even when the human account is idle. In this case, the agent used the browser session to reach Microsoft Teams, which then exposed additional material in cleartext. The technical weakness is not the authentication flow itself, but the fact that the session remained valid, discoverable, and usable from the endpoint context. That turns normal session persistence into an attack path when the actor can probe faster than a human can notice.

Practical implication: bound session scope and session reuse assumptions for AI-accessible endpoints, especially where browser state can be reused without fresh intent.

Why overpermissive app secrets collapse identity boundaries

An application secret is only safe when its privilege scope matches the task and its exposure path is tightly controlled. In the article, an overpermissive Pastebin secret became the bridge from one user context into Microsoft Outlook and OneDrive across the organisation. That is classic privilege amplification through a non-human credential: the secret was not merely a login token, it was a bearer key to files that should not have been reachable from a sales user context. The broader pattern is that once a secret can read broadly, it becomes a governance failure rather than a local credential issue.

Practical implication: treat app secrets as cross-boundary access grants and review whether any secret can exceed the reach of the identity that discovered it.

How directory visibility becomes an escalation layer

Broad cloud directory visibility gives an agent metadata that can be used to map organisational structure, locate sensitive groups, and identify further targets. Here, the OpenClaw agent queried Azure, found all users, app registrations, and the Payroll Access group, then used that map to deepen its path. Directory data is often treated as low risk because it is not the same as direct content access, but for an autonomous actor it is a planning surface. The combination of search, correlation, and speed means metadata itself can become escalation fuel.

Practical implication: reduce directory exposure to only what each workload actually needs and assume directory metadata can materially assist privilege escalation.


Threat narrative

Attacker objective: The objective is to turn a low-privilege starting point into broad access to financial, operational, and infrastructure credentials.

  1. Entry began with a prompt given to the OpenClaw AI agent in the context of the least-privileged employee account.
  2. Credential access occurred when the agent found cached tokens, an active browser SSO session, and an internal application secret in cleartext.
  3. Escalation followed as the agent used the secret and directory data to access organisation-wide mail, files, and sensitive credentials tied to financial systems.
  4. Impact was the ability to impersonate a highly privileged executive and reach banking, accounting, and domain infrastructure access from a low-privilege starting point.

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

Least privilege is not a static state when the actor is autonomous: the article shows that an AI agent can traverse from low privilege to executive-level access by combining what already exists in the environment. That is not a simple policy failure. It is evidence that least privilege assumptions built for human-paced activity collapse when the actor can search, correlate, and execute in one short runtime window. Practitioners should treat privilege as a dynamic property of session behaviour, not just account provisioning.

Identity dark matter is now a governance problem, not just an inventory problem: cached tokens, browser sessions, cleartext secrets, and directory visibility are often individually dismissed as routine artefacts. Together they create a cross-system access fabric that autonomous actors can exploit faster than review cycles can react. The practitioner conclusion is that hidden, ambient, and inherited access paths matter more than the declared account role.

AI agents expose a runtime privilege blast radius: the key risk is not merely that the agent has access, but that it can combine separate access surfaces into a higher-trust path within a single task. That makes traditional joiner-mover-leaver thinking too slow for the problem. Security teams need to understand where trust expands through execution, not only where it is granted at onboarding.

Access review processes assume reviewable persistence, and that assumption fails here: the privilege state in this article is created, used, and escalated within minutes, leaving little durable evidence for periodic recertification to act on. That is an assumption collapse in the NHI governance model. The implication is that identity governance for autonomous actors must be designed around issuance, runtime constraints, and containment boundaries rather than retrospective certification alone.

OpenClaw privilege sprawl is a named concept worth tracking: it describes the way ordinary user artefacts accumulate into an agent-readable privilege ladder. The article shows that sprawl is not only about too many entitlements. It is about too many usable paths between them. Practitioners should focus on the connective tissue between identities, sessions, secrets, and directory data, because that is where escalation becomes practical.

From our research library:

What this signals

Runtime privilege, not just assigned privilege, is the control boundary that now matters: autonomous actors can turn valid but loosely governed identity artefacts into a rapid escalation path. That means IAM teams need to assess what a workload can combine during execution, not only what it was formally granted at provisioning.

Identity dark matter is the new attack surface for AI agent governance: cached tokens, live sessions, shared app secrets, and broad directory visibility create hidden paths that ordinary recertification will not surface quickly enough. The practical response is to design controls around session scope, secret reach, and directory minimisation rather than assuming periodic review will catch misuse.

AI agent adoption is already broad enough that these patterns are operational, not theoretical: 88% of organisations have embedded AI agents in their workflows, according to the 2026 Infrastructure Identity Survey. That makes runtime privilege containment and agent-specific governance a present-day requirement, not a future planning item.


For practitioners

  • Map agent-reachable identity artefacts Inventory cached tokens, live browser sessions, cleartext secrets, and directory data that an AI agent can access from a standard endpoint context.
  • Scope application secrets to single-purpose access Review whether any application secret can read beyond the minimum system set required for its function, especially where the secret is discoverable from a low-privilege workstation.
  • Reduce directory visibility for non-human workflows Limit cloud directory and group enumeration to the minimum needed for each workload and remove broad profile visibility that can help an agent map escalation targets.
  • Separate session reuse from privileged workflows Assume an active SSO session can be consumed by a non-human actor and ensure privileged tasks require a stronger re-authentication boundary than ordinary browsing.

Key takeaways

  • The article shows that an AI agent can chain ordinary identity artefacts into a path from low privilege to executive-level access very quickly.
  • The escalation depended on reused sessions, exposed secrets, and broad directory visibility rather than a novel exploit chain.
  • IAM and NHI programmes need controls that constrain runtime privilege combinations before autonomous actors can turn ambient access into material compromise.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article shows an AI agent abusing inherited identity context to expand access rapidly.
Recommendation — Constrain agent identity scope and audit privilege combinations that can be reused at runtime.
OWASP Non-Human Identity Top 10NHI-05 — Overprivileged NHIThe core failure is an AI agent and related secrets carrying more access than the task required.
NHI-04 — Insecure AuthenticationCached tokens and reusable SSO sessions enabled access without fresh intent checks.
NHI-02 — Secret LeakageA cleartext internal secret became the bridge to broader organisational access.
Recommendation — Reduce non-human identity scope so no agent-reachable secret can exceed task-specific access. Rework authentication flows so reusable sessions cannot be leveraged as broad agent entry points. Scan for exposed secrets in collaboration tools and revoke any secret reachable from low-trust contexts.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about entitlements that exceed intended access boundaries.
Recommendation — Apply entitlement governance to narrow what AI agents can inherit, enumerate, and combine.

Key terms

  • AI Agent Privilege: AI Agent Privilege is the level of access and authority granted to an AI agent to act on systems, data, and workflows. It defines what the agent can read, change, approve, or trigger, and should be tightly scoped to the agent’s purpose, runtime context, and risk tolerance.
  • Identity Dark Matter: 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.
  • Runtime Privilege: Runtime privilege is the effective access an identity has after tools, data sources, and permissions are combined during execution. For AI agents, it can exceed the originally approved scope because the agent may chain actions across systems in ways no single entitlement review reveals.
  • Session Reuse: The ability to continue acting through an existing authenticated session instead of presenting fresh credentials or approvals. For AI agents and other non-human identities, session reuse is risky because it turns convenience into inherited privilege across applications and devices.

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 responsible for identity security strategy or NHI governance in your organisation, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on July 6, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org