By NHI Mgmt Group Editorial TeamBased on Zenity: “The Shift to Continuous Context and the Rise of Guardian Agents” (March 23, 2026)

TL;DR: AI agent risk develops across configuration changes, runtime behavior, and multi-step interactions, but most security tools still rely on periodic scans and stateless analysis, according to Zenity. That leaves teams blind to attacks that unfold over time, and it makes continuous context the new governance baseline for agent security.


At a glance

What this is: This is a Zenity analysis of why AI agent security must move from snapshots to continuous context, with the central finding that runtime behaviour, exposure state, and multi-step interactions change faster than periodic scans can track.

Why it matters: For IAM, IGA, PAM, and security architects, the implication is that AI agent governance has to account for changing runtime context, not just static entitlements or point-in-time review results.


Context

AI agent security breaks down when teams treat configuration, permissions, and behaviour as if they were fixed long enough to review in a snapshot. That assumption fails because agents can rewrite instructions, update memory, add connectors, and change execution paths while a task is still in progress.

For identity and access teams, the issue is not just detection volume. The governance gap is that static analysis cannot represent an actor whose risk state evolves across build time, runtime, and chained interactions with users and enterprise systems.

Zenity's article frames continuous context as the new baseline because the attacker or failure condition may only become visible when posture and runtime are evaluated together over time.


Key questions

Q: What breaks when AI agent security relies on snapshot scans?

A: Snapshot scans go stale as soon as an agent changes memory, permissions, connectors, or runtime behaviour. That means the control can describe yesterday’s state while the agent is already operating in a different one. Teams lose the ability to see how exposure develops across interactions, which is where the real risk sits.

Q: Why does continuous context matter for AI agent governance?

A: Continuous context matters because the security question is no longer whether an agent exists, but what it can do right now and how its behaviour is evolving. That includes runtime actions, permission drift, and sequence-based manipulation. Without live context, teams cannot reliably tell the difference between a theoretical weakness and an active compromise path.

Q: How do security teams detect agent misuse across multiple interactions?

A: They correlate behaviour across the full interaction chain, including prompts, tool calls, connector changes, and session state. A single request may look legitimate, but the sequence can reveal gradual exfiltration or tool misuse. The practical test is whether the control can join normal-looking events into one risk object before impact occurs.

Q: When should organisations treat an AI agent as a high-risk identity?

A: Treat an AI agent as high-risk when it can move data, trigger production actions, or access multiple systems without direct human oversight. The more environments it spans, the more likely a single misconfiguration can create broad blast radius. In those cases, continuous review is safer than static approval.


Technical breakdown

Why snapshot analysis misses agentic risk

Snapshot security assumes the relevant security state can be captured at one point in time and remain useful long enough for review. That model works poorly for AI agents because exposure changes as connectors are added, prompts evolve, memory is updated, and the agent continues executing. A stateless prompt check sees only one interaction, not the sequence that turns benign-looking behaviour into abuse. The core technical problem is that the security unit is no longer a single request or a single configuration record. It is the interaction chain across session, permissions, and state changes.

Practical implication: move control decisions from isolated scans to continuous evaluation of agent state, session context, and permission drift.

How stateful detection changes agent governance

Stateful detection preserves contextual history so security controls can evaluate how a request sequence evolves. That matters because multi-step prompt injection, gradual exfiltration, and tool misuse often appear ordinary at each step and only become malicious in aggregate. In agent systems, the risky event is frequently not the first request but the later action after the agent has accumulated context or changed behaviour. This is a fundamentally different detection problem from scanning a prompt or policy file. It requires correlation across users, agents, sessions, and action timing.

Practical implication: correlate agent actions across the full task lifecycle so abuse is judged by sequence, not by isolated messages.

Why real-time exposure visibility is an access control problem

Real-time exposure visibility is not just a monitoring feature. It is the control layer that tells teams what an agent can reach right now, after configurations, connectors, and permissions have changed. In AI environments, exposure can shift within minutes, so yesterday's posture view can be functionally obsolete during an investigation. When runtime behaviour and current permissions are evaluated together, security teams can distinguish active risk from theoretical risk. That distinction is essential for deciding whether a misconfiguration is merely present or currently exploitable.

Practical implication: treat current exposure as a live access-control signal and re-evaluate risk whenever agent permissions or connectors change.


Threat narrative

Attacker objective: The objective is to manipulate an AI agent into taking unsafe actions or exposing data through a chain of interactions that looks harmless step by step.

  1. Entry begins when a user steers an agent through a sequence of normal-looking requests that each appear legitimate in isolation.
  2. Escalation occurs as the agent accumulates context, rewrites instructions, updates memory, or expands connectors, allowing a benign task to shift into tool misuse or data exposure.
  3. Impact follows when the combined sequence produces multi-step prompt injection, gradual exfiltration, or harmful execution that a snapshot-based control never linked together.

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

Continuous context is now the minimum viable control model for AI agent governance: point-in-time review cannot describe an actor whose permissions, memory, and execution path can all change during one session. The security state of an agent is not a fixed record; it is a moving relationship between user intent, tool access, and runtime behaviour. Practitioners should stop treating snapshot posture as authoritative for agent risk.

Stateful analysis is the right response to sequence-based abuse: the attack surface for AI agents is often distributed across multiple normal events that only become dangerous in combination. That means the meaningful unit of review is the interaction chain, not the prompt, the policy, or the connector alone. Teams that cannot correlate across those layers will keep finding incidents after the harmful action has already executed.

Continuous exposure visibility collapses the old separation between configuration and runtime: an agent whose connectors, permissions, or memory can change minute by minute cannot be governed by static inventory alone. The practical outcome is that identity governance, observability, and enforcement must operate together as one control plane. Programmes that leave those signals disconnected will keep producing stale risk decisions.

AI agent security is becoming a lifecycle problem, not a scan problem: the article points to a field in which build-time posture and runtime behaviour must be assessed as one governance chain. That aligns most closely with how NHI governance works when identity state is dynamic, but the autonomy of the actor raises the bar further because the actor can alter its own execution conditions. Practitioners should reframe agent oversight as continuous lifecycle control rather than periodic verification.

Guardian-style oversight changes the category expectation for agent governance: once agents can supervise or enforce policy on other agents, the governance model shifts from seeing risk to acting on it in real time. That does not reduce the need for human accountability; it increases the need for trusted context, decision traceability, and policy correlation. Teams should prepare for identity programmes that govern observation, enforcement, and escalation as separate controls.

What this signals

Continuous context is the new baseline for agent governance: the practical problem is not whether teams can scan an agent, but whether they can explain its current authority at the moment it acts. That pushes AI agent programmes toward live authorization, correlated telemetry, and task-level oversight rather than periodic review.

Snapshot tools still have value for inventory, but they are no longer enough for systems that mutate while executing. The stronger operating model is to join posture, runtime activity, and permission drift into one control surface so that governance decisions are made against current state, not stale evidence.


For practitioners

  • Define a continuous agent context model Track current connectors, memory state, permissions, and session context as one live record instead of relying on scan output from the last review cycle.
  • Correlate posture and runtime events Join configuration drift, permission changes, and live agent actions so one system can show whether a weakness is active, exploitable, or already being used.
  • Review agent authorization at task boundaries Re-evaluate what an agent can do whenever a task expands, a connector is added, or memory is rewritten, because those changes alter effective access scope.
  • Instrument sequence-based detection Look for chained interactions that are individually normal but collectively indicate prompt injection, tool misuse, or gradual data exfiltration.

Key takeaways

  • AI agent security fails when teams assume configuration snapshots can represent a system that changes during execution.
  • The article shows that meaningful risk emerges across sequences of normal-looking interactions, not just isolated prompts or policy checks.
  • Continuous context is the practical control shift because exposure, permissions, and runtime behaviour now have to be judged together.

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 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI02 — Tool MisuseThe article centers on multi-step agent misuse and unsafe tool execution.
ASI03 — Identity & Privilege AbuseAgent permissions and runtime authority drift are the core governance issue here.
Recommendation — Correlate agent tool calls with session context to stop tool misuse before harmful execution. Review agent privilege changes continuously and revoke scope when behaviour diverges from intent.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe post treats agent access as a live identity problem rather than a static scan result.
Recommendation — Bind agent authentication to current runtime context instead of relying on one-time approval.
NIST AI RMFMANAGE — Manage AI RisksContinuous contextual oversight is an AI risk management practice, not a one-off control.
Recommendation — Operationalise continuous monitoring and escalation paths for changing AI agent risk.
NIST CSF 2.0DE.CM-09 — Vulnerabilities are monitored and disclosed in a timely mannerThe article emphasizes continuous monitoring of changing exposure and runtime state.
Recommendation — Monitor AI agent exposure continuously so risk decisions reflect current state.

Key terms

  • Continuous Context: An access-control approach that evaluates environment, source, behaviour, and request type at runtime instead of assuming a privilege decision made at provisioning will remain valid. For autonomous actors, this is essential because the next action can change as soon as the agent receives new input.
  • Stateful Detection: Stateful detection compares current activity with prior behavior rather than evaluating each event in isolation. It uses a baseline, history, or frequency model to identify novelty, such as a tool call an agent has never made before. This makes it useful for spotting suspicious behavioral change.
  • Real-time exposure visibility: Real-time exposure visibility means seeing current agent permissions, connectors, and configuration state as they change, rather than relying on the last scan. It is essential where AI systems evolve continuously and stale posture data can no longer support trustworthy decisions.
  • Contextual risk correlation: Contextual risk correlation is the practice of combining posture, permissions, and runtime activity into one risk view. It matters because a configuration weakness only becomes actionable when it is linked to live behaviour, allowing teams to distinguish theoretical exposure from active misuse.

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 building or maturing an IAM programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 9, 2026.
Updated on October 10, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org