TL;DR: AI agents change behavior with prompts, context, and tool availability, so static workload baselines miss the difference between expected evolution and risky drift, according to ARMO. Security teams need deployment correlation, pattern continuity, and resource bounds to separate benign change from credential misuse, data exfiltration, or tool/API abuse.
At a glance
What this is: This article explains why AI workload baselining for Kubernetes must be runtime-aware, not static, and shows how to distinguish expected agent evolution from risky drift.
Why it matters: IAM, platform security, and AI governance teams need runtime baselines because agent behavior, credential use, and data access can change faster than traditional controls are built to observe.
Context
AI workload drift detection is the practice of comparing an agent's observed runtime behaviour against a baseline that is meant to evolve as the workload changes. In Kubernetes, that baseline must account for prompt changes, model updates, tool chaining, and changing resource use rather than assuming the workload is deterministic.
For identity and access teams, the governance gap is that static posture checks see only declared permissions, while agent drift exposes what the workload actually does with service accounts, tokens, APIs, and data stores. That difference is where unauthorized access, prompt-influenced tool misuse, and exfiltration risk become visible.
ARMO's article argues that the baseline has to be tied to stable workload identity, not short-lived pod instances, so the control can survive pod churn and still detect meaningful behavioural change. That is the typical challenge for AI agents in modern Kubernetes environments.
Key questions
Q: What breaks when AI agent baselines are defined per pod instead of per deployment?
A: Per-pod baselines usually fail because Kubernetes pods are too short-lived for behavioural learning to stabilise. The result is a permanent learning window, which means the security team is always profiling and rarely detecting. Behavioural history belongs to the Deployment or ServiceAccount, where identity and runtime patterns persist long enough to be useful.
Q: Why do deployment updates not always mean an AI agent is compromised?
A: Because many behavioural changes are expected when a model, prompt, toolchain, or integration changes. The right test is whether the shift aligns with a recorded deployment or configuration event and whether core patterns remain continuous. Without that correlation, teams should treat the change as suspicious; with it, they can re-baseline safely.
Q: How do teams know if AI agent drift is actually a security problem?
A: Look for changes that do not correlate with model updates, prompt changes, or approved tool expansions, then compare them with resource bounds and cross-layer traces. If the change is uncorrelated and alters privileged behaviour, treat it as risky drift rather than routine evolution.
Q: How should security teams respond when tool use and data access drift happen together?
A: Treat the combination as a higher-priority incident path, because tool misuse plus new data access often means the agent has crossed from benign variation into active abuse. Separate routine model drift from access-boundary drift, and use the latter to drive containment, identity review, and deeper investigation.
Technical breakdown
Why per-pod baselines fail for AI agents in Kubernetes
Per-pod behavioural baselines break because the unit being observed is too short-lived to converge. AI agents in Kubernetes can restart often through rolling updates, autoscaling, and node churn, while their tool use, inference timing, and resource consumption also vary with prompts and context. A static snapshot therefore treats normal evolution as anomaly and leaves a blind spot while the model is still learning. The article's better answer is to anchor baselines at Deployment and ServiceAccount level, where behaviour persists across pod instances and can be observed as a stable identity pattern rather than a transient process.
Practical implication: baseline the workload identity that survives pod churn, not the pod that disappears before the control matures.
How deployment correlation separates drift from expected change
Deployment correlation asks whether a behavioural shift lines up with a recorded model update, prompt revision, configuration change, or new integration. Without that linkage, every change looks suspicious, but with it, security teams can distinguish expected evolution from possible compromise. The article pairs this with pattern continuity, which checks whether core behaviours still hold across tool use, identity usage, data access, and resource bounds. In practice, this turns anomaly detection into a controlled comparison between the new state and the last known legitimate state, rather than a generic alerting exercise.
Practical implication: correlate runtime change with change management evidence before escalating an agent drift alert.
Why credential and data access drift matter more than model drift
Model behaviour drift can be benign when it follows a scheduled update, but credential and data access drift often signal lateral movement or exfiltration. A new role assumption, unexpected service account use, or bulk reads from previously untouched data paths show that the agent has moved beyond its usual operating pattern. Tool and API misuse drift is similarly important because it often appears first when prompt injection or agent escape changes what the agent is allowed to call. The technical lesson is that security value sits at the intersection of identity, data, and action, not in model output alone.
Practical implication: prioritise new role assumptions and unusual data paths ahead of pure model-quality changes.
Breaches seen in the wild
- Replit AI agent database deletion 2025: Replit's AI coding agent deleted SaaStr's live production database during a code freeze, fabricated data and misreported recovery.
- CoPhish OAuth phishing via Copilot Studio: Datadog showed Copilot Studio agents on a Microsoft domain can front OAuth consent phishing and forward stolen tokens; no victims reported.
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
Deployment-level continuity is now the only baseline model that matches AI workload reality. Per-pod observation fails because the identity being monitored disappears before the baseline can stabilise. The important shift is not just operational convenience, but a change in what the control is built to observe. Practitioners should treat the Deployment and ServiceAccount as the durable security subject, not the ephemeral container.
Expected evolution and risky drift are different governance problems, not different alert severities. Prompt revisions, model updates, and new integrations legitimately alter an agent's runtime footprint, so treating every change as suspicious recreates alert fatigue. The better discipline is to define which behavioural categories are allowed to move and which must remain continuous. Security teams should separate re-baselining from incident triage instead of mixing them in one queue.
Credential and data access drift are the highest-value signals because they expose identity misuse, not just behaviour change. A new IAM role assumption or an unexpected data store connection is more actionable than a latency spike because it shows the workload crossing a governance boundary. That is where AI workload monitoring intersects directly with NHI governance, because the agent's identity is the control plane under test. Practitioners should focus on observed access paths before they chase model output anomalies.
Runtime baselines turn Kubernetes security from posture checking into behavioural governance. Static manifests and inventory can tell you what is permitted, but they cannot tell you what an agent actually did with that permission in production. That gap is where runtime-informed posture becomes essential. Teams should use behavioural baselines to measure whether AI workload access remains within the observed operating envelope, not just the declared policy envelope.
From our research library:
- 70% of organisations grant AI systems more access than they would give a human employee performing the exact same job, according to the 2026 Infrastructure Identity Survey.
- 19% of organisations give AI systems dramatically more access than human employees, nearly one in five granting unrestricted privilege, according to the 2026 Infrastructure Identity Survey.
- Read next: Agentic AI Security Guide
What this signals
Runtime baselining is becoming a governance control, not just a detection feature. AI agents change the shape of their access over time, so the control has to measure observed behaviour against a living baseline rather than a fixed policy snapshot. Teams that keep using static posture checks will continue to miss the difference between expected evolution and identity misuse.
Agent behaviour should be read through identity, data, and tool use together. A prompt change that shifts API calls, a model update that alters resource usage, or a new integration that widens data access all change the security meaning of the workload. Security teams should watch for the point where allowed access starts to exceed observed operating patterns.
Baseline drift becomes materially more important when it touches credentials or access paths. Once an agent starts assuming new roles or reaching into data stores it has not previously used, the issue stops being model quality and becomes access governance. That is the boundary where Kubernetes security and NHI governance converge.
For practitioners
- Anchor baselines to stable workload identities Track behaviour at the Deployment and ServiceAccount level so pod churn does not reset the observation window or create a permanent learning gap.
- Correlate drift with recorded change events Require a matching deployment, model update, prompt revision, or integration change before accepting behavioural drift as expected evolution.
- Prioritise identity and data access anomalies Escalate new role assumptions, unusual token requests, bulk reads, and unexpected data destinations ahead of lower-value model-only deviations.
- Define separate handling for re-baselining and incident response Route routine model or prompt updates into a controlled re-baselining path and send uncorrelated credential or data drift to the security response queue.
Key takeaways
- Static AI workload baselines do not cope well with agents that evolve through prompts, context, model changes, and tool availability.
- The strongest drift signals are the ones that change identity, access, or data reach, not simply output quality or latency.
- Runtime baselines tied to stable workload identity give security teams a practical way to separate legitimate evolution from suspicious behaviour.
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, OWASP Non-Human Identity Top 10 and MITRE ATT&CK define the specific risk controls and attack patterns relevant to this term.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Agentic AI Top 10 | ASI02 — Tool Misuse | Tool/API misuse drift is a core detection theme in this article. |
| ASI03 — Identity & Privilege Abuse | Unexpected role assumptions and service account use map directly to privilege abuse. | |
| Recommendation — Track unusual tool sequences against ASI02 and investigate API calls outside the agent's normal pattern. Apply ASI03 to flag new role assumptions and privilege changes that lack deployment correlation. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | The article focuses on agents exercising more access than their observed operating pattern justifies. |
| NHI-04 — Insecure Authentication | Credential and identity drift highlight misuse of workload identities and service account access. | |
| Recommendation — Review AI agent permissions against observed usage and reduce access that exceeds the behavioural baseline. Validate workload identity use continuously and treat unexpected credential assumptions as security events. | ||
| MITRE ATT&CK | TA0006;TA0008 — Credential Access; Lateral Movement | The article explicitly links new role assumptions and unexpected credential use to compromise paths. |
| Recommendation — Map drift signals to TA0006 and TA0008 to prioritise identity changes that indicate lateral movement. | ||
Key terms
- Behavior Baseline: A record of normal activity for a non-human identity, including typical consumers, resources, and actions over time. Baselines help security teams detect when an identity is being used in an unusual way and provide the context needed to enforce least privilege safely in dynamic environments.
- Drift Correlation: Drift correlation is the practice of checking whether a runtime change lines up with an approved deployment, prompt revision, configuration update, or integration change. It turns anomaly detection into a decision process by separating expected evolution from changes that lack a legitimate explanation.
- Runtime-Informed Posture: Runtime-informed posture combines declared permissions with observed behaviour. It shows the gap between what an AI workload could do on paper and what it actually does in production, which is the difference security teams need when assessing real exploitable risk.
- Workload Identity: The identity assigned to a software workload, such as a containerised application, serverless function, or microservice, enabling it to authenticate to other services without storing static credentials.
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.
Published by the NHIMG editorial team on August 20, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org