Subscribe to the Non-Human & AI Identity Journal

Runtime Drift

Runtime drift is the gap between an AI agent’s approved authority and its actual behaviour as conditions change. It appears when the agent adapts to new context, new integrations, or new instructions and begins acting outside the scope that governance originally defined.

Expanded Definition

Runtime drift describes a control gap that emerges after deployment, when an NIST Cybersecurity Framework 2.0-aligned approval state no longer matches what an AI agent actually does in production. It is not the same as ordinary misconfiguration; it is behavioural divergence caused by new tools, new prompts, changed context, or accumulated permissions. In NHI operations, the drift matters because an NIST Cybersecurity Framework 2.0-style governance model can be sound at launch while the agent silently expands its effective authority over time.

Definitions vary across vendors on whether runtime drift includes benign adaptation, but the practical security view is simpler: if an agent can reach, change, or disclose data outside the approved boundary, drift exists. That boundary may involve RBAC, ZSP, JIT access, tool scopes, or approved MCP connections, and any one of them can be exceeded without a formal change request. The most common misapplication is treating runtime drift as a one-time configuration defect, which occurs when teams check approval only at release and ignore post-deployment behaviour.

Examples and Use Cases

Implementing runtime drift controls rigorously often introduces monitoring overhead and tighter change management, requiring organisations to weigh faster agent autonomy against the cost of continuous validation.

  • An AI support agent gains access to a new ticketing integration and begins pulling customer records beyond its original case-handling scope.
  • A code-assist agent receives broader repository permissions during incident response, then keeps those permissions after the emergency ends.
  • An agent connected through MCP starts using a newly approved tool chain to generate actions that were never reviewed in the original risk assessment.
  • A workflow agent follows updated instructions from a downstream system and begins triggering approvals that bypass the intended human review step.
  • During analysis of the Salesloft OAuth token breach, the lesson for operators is that access paths can evolve faster than governance records, especially when tokens, integrations, and service credentials are reused across systems.

For implementation guidance, practitioners can anchor controls in NIST Cybersecurity Framework 2.0 functions such as Detect and Protect, then add agent-specific telemetry that records tool calls, context changes, and scope expansions. That combination helps separate intentional adaptation from uncontrolled drift.

Why It Matters in NHI Security

Runtime drift matters because an autonomous agent is effectively a living identity: it can inherit privileges, call tools, and act on data without a human present. Once its behaviour diverges from the approved design, the organisation may still think the agent is constrained by policy while it is actually operating with broader reach. That is why drift belongs in the same governance conversation as PAM, RBAC, JIT, and ZTA, not only in AI observability discussions. It also intersects with secret management because a drifting agent often reaches for long-lived API keys, cached tokens, or stale credentials that were never meant to support expanded activity.

NHI Mgmt Group research shows that 97% of NHIs carry excessive privileges, increasing unauthorised access and broadening the attack surface, which makes post-deployment drift especially dangerous when permissions are already too broad. The issue becomes more visible after a token leak, an integration change, or an incident review reveals that an agent had been operating outside its intended guardrails. The operational takeaway is that drift is not merely a model-quality issue, it is an identity-governance issue tied to execution authority. Organisations typically encounter the full impact only after a policy violation, at which point runtime drift becomes operationally unavoidable to address.

In practice, teams should review the behaviour of autonomous systems after every integration change and every privilege update, because that is when hidden scope creep is most likely to appear. The Salesloft OAuth token breach illustrates how quickly access can be weaponised once identity boundaries stop matching real-world execution.

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 Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Agentic AI Top 10 Agentic controls address tool use and unintended action expansion after deployment.
OWASP Non-Human Identity Top 10 NHI-02 Runtime drift often appears when secrets, scopes, or service accounts become overextended.
NIST Zero Trust (SP 800-207) PDP/PEP Zero Trust requires continuous policy enforcement as agent behaviour changes in runtime.

Re-evaluate policy decisions at each request and deny actions that exceed current trust.