By NHI Mgmt Group Editorial TeamPublished 2026-01-27Domain: Agentic AI & NHIsSource: 1Password

TL;DR: OpenClaw shows how an agentic loop can combine persistent memory, local-machine access, and autonomous action to create a security problem that conventional app consent models do not solve, according to 1Password. The broken assumption is that one-time approval can govern adaptive behaviour; once the agent changes context, that model no longer holds.


At a glance

What this is: OpenClaw is a locally running AI agent that highlights how persistent memory, deep device access, and autonomous action create a governable identity problem, not just an app-security problem.

Why it matters: It matters because IAM, PAM, and NHI teams must treat agents as identities with runtime authority, not as ordinary software that can be approved once and forgotten.

👉 Read 1Password's analysis of OpenClaw, AI agent identity, and runtime access control


Context

OpenClaw exposes a simple but uncomfortable governance gap: once an AI agent can retain memory, reach into local apps, and decide how to complete a task, one-time approval stops being a meaningful control. The problem is not just that the agent can act, but that its actions are adaptive and can change meaning from one session to the next. That puts the question squarely into NHI and emerging agent governance, not only endpoint or application security.

The article’s core point is that agent security cannot be reduced to consent screens, static scopes, or a single provisioning event. For identity teams, that means the unit of control shifts from the app wrapper to the runtime identity behind the agent. The closest NHIMG framing is runtime access mediation, where authority is granted per action rather than assumed to remain valid after initial approval.


Key questions

Q: How should security teams govern AI agents that can act autonomously?

A: Security teams should govern AI agents as runtime identities, not as ordinary applications. That means assigning ownership, limiting tool access, recording each action, and revoking authority at the point of use rather than relying on one-time setup approval. If the agent can choose actions dynamically, governance must follow the session, not the installation.

Q: Why do one-time consent screens fail for AI agents?

A: One-time consent screens fail because they assume future behaviour will match the original approval moment. Autonomous or highly adaptive agents can change tasks, select new tools, and reuse prior authority in unexpected ways. That makes the original approval stale almost immediately, especially when the agent retains memory across sessions.

Q: What breaks when AI agent memory is stored in readable files?

A: Readable memory files expand the impact of a compromise far beyond a single token leak. An attacker can recover credentials, task history, relationships, and behavioural context, which makes impersonation and targeted phishing far easier. The result is an identity exposure problem, not just a data exposure problem.

Q: How can IAM teams tell whether agent access is actually under control?

A: IAM teams should look for per-action authorization, complete audit trails, separate ownership, and fast revocation of agent privileges. If an agent can make sensitive tool calls without a logged decision point, control is weak. If the answer to who approved each action is unclear, the programme is not yet governable.


Technical breakdown

Agentic loops and runtime decision-making

An agentic loop is the control structure that lets a system take a goal, choose intermediate steps, call tools, observe outcomes, and keep iterating until the task is done. In OpenClaw’s case, that means the system is not merely executing a preset workflow. It is deciding what to do next based on context, memory, and available tools. That matters because the security boundary is no longer the code path alone. The boundary becomes the set of actions the agent can initiate during runtime, including actions that were never explicitly anticipated when access was first granted.

Practical implication: model the agent as a runtime identity and review what it can decide mid-session, not just what it can launch at setup.

Persistent memory on disk as an identity risk

Persistent memory turns an agent from a transient process into a stateful identity with continuity across sessions. The article notes that memory and configuration are stored as readable files, which means secrets, transcripts, and behavioural context can all become exfiltration targets. That is materially different from ordinary application state, because the memory file can describe relationships, habits, and operational history. If compromised, it can support impersonation, targeted phishing, and replay of prior context, all of which extend the blast radius beyond a single credential leak.

Practical implication: treat agent memory stores as sensitive identity artefacts and include them in the same protection scope as secrets and session material.

Deep local-machine access and delegated authority

The article’s most important architectural point is that the agent can touch local apps and use those privileges dynamically. That creates delegated authority without a stable human operator supervising each action. In practice, the risk is not simply that the agent has access. It is that the agent can combine access, memory, and timing to produce actions that the original approver did not explicitly authorise. This is where conventional least-privilege thinking starts to fail, because privilege is no longer just a static entitlement. It becomes a sequence of context-dependent decisions made by the agent itself.

Practical implication: bound agent authority at the action layer, not just the account layer, and log every tool call as an identity event.


Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

One-time approval is a broken governance assumption for adaptive agents. Consent models were designed for systems whose future behaviour stays close to the moment of approval. That assumption fails when the actor is autonomous because the agent changes task, context, and tool use mid-session. The implication is not simply that controls need to be stronger. It is that identity governance must stop treating initial approval as a durable statement of intent.

Persistent memory creates identity blast radius, not just data exposure. The article shows that agent memory can include tokens, transcripts, preferences, and operational context. That means a compromise can produce a richer impersonation surface than a single credential theft, because the attacker gets behavioural context as well as access material. Practitioners should recognise this as a distinct NHI failure mode: memory persistence turns the agent into a replayable identity.

Runtime mediation is now the real control plane for agent access. The article’s vision of per-action authority reflects where the market is heading, even if most programmes are not built that way yet. OWASP agentic guidance and NIST AI governance both point toward treating agent actions as governable events rather than static entitlements. For identity teams, the practical conclusion is that agent access must be attributable, revocable, and bounded at execution time.

Human-style approval flows do not scale to machine-paced behaviour. The article makes clear that the problem is not merely how much access an agent has, but how quickly it can combine that access with memory and tool use. That breaks the human assumption behind many access reviews and consent experiences. The result is a governance gap between what was approved and what actually happened, which is why agent identity has to be managed as a first-class IAM and PAM concern.

Agent security is becoming an identity lifecycle problem. The customer story in the article, where the agent is treated like a new hire with its own account and access boundary, is not a metaphor. It is the operational direction this category is moving toward. Lifecycle governance for agents will need provisioning, runtime review, revocation, and offboarding semantics that differ from both human and workload identities. Teams that delay that model will be forced to retrofit it under pressure.

From our research:

  • 80% of organisations report their AI agents have already performed actions beyond their intended scope, including accessing unauthorised systems (39%), inappropriately sharing sensitive data (31%), and revealing access credentials (23%), according to AI Agents: The New Attack Surface report.
  • Only 52% of companies can track and audit the data their AI agents access, leaving 48% with a complete blind spot for compliance and breach investigation.
  • That visibility gap makes runtime mediation central, which is why OWASP Agentic Applications Top 10 is a useful next step for teams mapping agent controls.

What this signals

Runtime mediation will become the practical test of agent governance. Once an agent can combine memory, tools, and timing on its own, the old model of approving access once and certifying it later no longer matches reality. Teams should prepare for controls that evaluate each action, not each deployment, and that make agent decisions attributable in the same way as human or workload access.

Agent memory should be treated as a protected identity artefact. The article makes clear that memory, transcripts, and configuration can hold enough context to make impersonation easier if they are exposed. That pushes IAM, PAM, and endpoint teams toward shared ownership of agent data stores, especially where local files, cached sessions, or long-lived tokens are involved.

With 92% of organisations agreeing that governing AI agents is critical, but only 44% having implemented any policies, the gap is now operational rather than theoretical. Teams that still fold agents into ordinary application processes will struggle to answer simple accountability questions. The more durable posture is to connect agent governance to established identity controls and external guidance such as the NIST AI Risk Management Framework and the OWASP Agentic AI Top 10.


For practitioners

  • Define agent identities as first-class subjects Assign each agent its own identity, ownership, and audit trail so its actions are not collapsed into the human operator or a generic application account.
  • Move secrets out of plain-text agent storage Do not leave API keys, session tokens, transcripts, or long-term memory in readable local files where infostealers can collect them in seconds.
  • Mediate access at runtime for each action Require per-action authorization for sensitive tool use so the agent cannot rely on one approval to justify later context changes.
  • Separate agent environments from primary endpoints Run experimental agents on dedicated machines or constrained environments with limited blast radius, distinct email, and separate access paths.
  • Log tool calls as identity events Capture each request, approval, and tool invocation as part of the identity record so investigations can answer who did what, when.

Key takeaways

  • AI agents create an identity problem when they can retain memory, reach local tools, and act without human pacing.
  • Most organisations already report agent behaviour beyond intended scope, which means the risk is present now, not hypothetical.
  • Per-action authorization and runtime auditability are the controls that separate governable agents from useful but unsafe ones.

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

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10NHI-03The article centers on autonomous agent access and runtime tool use.
OWASP Non-Human Identity Top 10NHI-01Agent identities, secrets, and memory storage are all non-human identity concerns.
NIST AI RMFThe article is about accountability and governance for adaptive AI behaviour.

Assign separate identities and constrain secret handling, rotation, and auditability for each agent.


Key terms

  • Agentic Loop: The execution cycle where an AI agent interprets a goal, chooses actions, calls tools, observes results, and continues until the task is complete. In governance terms, the loop matters because authority is exercised repeatedly at runtime, not just at initial approval.
  • Runtime Mediation: A control model where access is granted, checked, and potentially revoked at the moment an action is taken. For AI agents, runtime mediation is the practical alternative to one-time consent because decisions, context, and tool use can change during a session.
  • Persistent Agent Memory: Stored state that lets an AI agent retain context, preferences, or task history across sessions. When memory includes secrets, transcripts, or behavioural details, it becomes an identity artefact and must be protected like other high-value access material.
  • Agent Identity: The distinct identity assigned to a software actor that can act on behalf of a person or process. For autonomous or semi-autonomous agents, this includes ownership, scope, auditability, and revocation paths that let teams govern actions instead of just accounts.

Deepen your knowledge

AI agent identity risk and runtime access control are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building governance for agents that can act on their own, this is a practical place to start.

This post draws on content published by 1Password: OpenClaw, the locally running AI agent, and the security model it exposes. Read the original.

NHIMG Editorial Note
Published by the NHIMG editorial team on 2026-01-27.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org