Join our Newsletter — 33% off our NHI Course

Admission controls or runtime enforcement for AKS agents?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 19717
Topic starter  

TL;DR: Prompt injection can push AKS agents into shell use and metadata-service token theft within seconds, ARMO explains. Identity scope and IMDS reach decide whether one compromised workload can turn into cloud access.

Editorial analysis by NHI Mgmt Group, based on content published by ARMO: “Sandboxing AI Agents on AKS: Network Policies, Workload Identity, and Least Privilege”.

By the numbers:

  • The attack timeline in the article shows credential theft unfolding in 47 seconds on AKS.

Key questions

Q: Why do AI agents on AKS create a larger blast radius than ordinary pods?

A: Because an AI agent can be pushed by prompt content into using tools, shells, or internal APIs in ways the operator did not intend.

Q: How should teams decide between admission controls and runtime enforcement for AI agents?

A: Use admission controls to stop insecure workloads from being deployed, but do not treat them as a containment strategy.

Q: What breaks when AI agents on AKS can reach the metadata endpoint?

A: If an agent pod can reach 169.254.169.254, a compromised process may obtain Azure credentials without touching a vault or secret store.

Practitioner guidance

  • Scope each agent to a dedicated identity Assign a separate federated identity to every AI agent deployment and avoid sharing managed identities across tools or namespaces.
  • Block metadata service access Prevent agent pods from reaching 169.254.169.254 with AKS IMDS restriction, NetworkPolicy, or default-deny egress where appropriate.
  • Tighten Azure RBAC to the resource level Grant only the exact Azure role needed for the specific vault, container, or service instance instead of resource-group Contributor.

Bottom line: The article shows that AI agent compromise on AKS is a runtime identity problem, not just a pod hardening problem.

Glossary terms: Prompt Injection (Agentic), Workload Identity Federation, Metadata Endpoint Exposure, Observe-to-Enforce

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 days ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20207
 

Identity scope is the actual control plane for AI agent risk: In AI-on-Kubernetes environments, pod admission controls are necessary but not sufficient because they do not constrain what a live agent can do with its runtime identity. The decisive question is how much Azure access the agent can reach once a prompt changes its behaviour. Practitioners should treat agent identity scope as the primary blast-radius variable.

A few things that frame the scale:

  • Systems with least-privileged AI access had a 17% incident rate vs 76% for over-privileged systems. Organisations failing to scope AI access properly are 4.5x more likely to experience a security incident, according to the 2026 Infrastructure Identity Survey.
  • 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.

A question worth separating out:

Q: What is the difference between Workload Identity and shared managed identities for AI agents?

A: Workload Identity binds one Kubernetes service account to one Azure identity through federated token exchange, so the trust boundary is specific to that workload. Shared managed identities blur accountability because several agents can inherit the same Azure reach. For AI agents, the narrower pattern is easier to audit and far easier to contain when something goes wrong.

👉 Read our full editorial: AI agents on AKS need runtime containment, not only least privilege


This post was modified 2 days ago by NHI Mgmt Group

   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.