Every AI Agent Is a Non-Human Identity That Needs Governance
Summary
AI agents are rapidly introducing significant security vulnerabilities into enterprise systems by operating as unmanaged, non-human identities. Developers commonly grant agents broad, static privileges by reusing personal tokens, creating new "principals" that lack proper provisioning, authentication, authorization, rotation, audit, and de-provisioning. Salesforce's 2026 Connectivity Benchmark indicates enterprises average a dozen AI agents, climbing to twenty, with half operating in isolation. Orchid Security's 2026 Snapshot found unmanaged identities outweigh managed ones by 57% to 43%. This creates a "confused deputy" scenario, where an agent, influenced by prompt injection, can misuse its inherited authority. A May 2026 Sysdig report documented an LLM agent exploiting a vulnerability to exfiltrate an internal database in under two minutes. The core issue is not AI-specific but a failure to apply existing, mature identity governance practices to these new principals.
Key takeaway
For AI Engineers or MLOps Engineers deploying agentic systems, you must integrate AI agents into your existing identity and access management lifecycle. Failing to provision agents with scoped, short-lived, and attributable credentials creates significant security risks, turning prompt injections or leaked secrets into major breaches. Ensure your audit logs differentiate between human and agent actions, and de-provision agent credentials rigorously to prevent orphaned secrets with active access.
Key insights
AI agents are new principals requiring existing identity governance, not novel AI-native security solutions.
Principles
- Treat each AI agent as a distinct principal.
- Scope credentials to task, make them short-lived.
- Ensure full auditability for agent actions.
Method
Implement OAuth 2.0 Token Exchange (RFC 8693) or cloud STS session credentials to issue scoped, short-lived, and attributable tokens for agents, with the user as subject and agent as actor.
In practice
- Use OAuth 2.0 Token Exchange for agent credentials.
- Revoke agent credentials upon decommissioning.
- Configure audit logs to distinguish human from agent actions.
Topics
- AI Agent Security
- Identity Governance
- Access Control
- Prompt Injection
- OAuth 2.0 Token Exchange
- MLOps Security
Best for: AI Security Engineer, AI Engineer, MLOps Engineer
Related on AIssential
Editorial summary, takeaway, and curation by AIssential. Original article published by HackerNoon.