Independent analysis by NHI Mgmt GroupSource article: Pomerium, “When the Web Becomes the Attacker: AI Agent Traps and the Case for Identity-Aware Access” (April 22, 2026)

TL;DR: DeepMind’s AI Agent Traps taxonomy shows how perception, reasoning, memory, action, multi-agent, and overseer surfaces can be manipulated so agents act on hostile content, according to Pomerium’s analysis. The governance problem is that once an agent can reach tools, APIs, or data, prompt-level deception becomes an access-control problem, not just a model-safety issue.


At a glance

What this is: NHI Mgmt Group's analysis, drawing on Pomerium's blog post: Once agents can act in web workflows, deception becomes an access-control problem rather than a model-only problem.

Why it matters: It matters because IAM, NHI, and emerging agent governance programmes must control what an agent can do at execution time, not just what it is allowed to read or infer.


Context

AI Agent Traps are adversarial web content patterns that manipulate how agents perceive, reason, remember, or act after they ingest online information. The problem is not just prompt injection in a narrow sense; it is that a machine reader can be steered into making an access decision with hostile input.

For identity and access teams, the key issue is that an agent with tools, API reach, or file access can turn a manipulated page into a real-world action. That shifts the control question from content trust to identity-aware authorization, per-request policy, and auditable execution boundaries.

Pomerium’s article treats the web as an attack surface for agents and argues that the dangerous moment is when the model’s output becomes a request against internal systems. That framing is typical of the current wave of agent security thinking, not an edge case.


Key questions

Q: How should security teams govern AI agents that read untrusted text and can act on it?

A: Treat the agent as a privileged runtime with untrusted input, not as a chat interface. Limit tool access, shorten session scope, and remove at least one high-risk property such as external write access or access to sensitive systems. Then add monitoring or enforcement at the action boundary so the control evaluates what the agent actually does, not just what it reads.

Q: Why do AI Agent Traps become an access-control problem once agents can act on behalf of users?

A: Because the attacker does not need to break the model if they can steer it into using legitimate access. Once the agent can reach tools, APIs, or files, a successful trap becomes a confused-deputy event. The risk is governed by what the identity can execute, not just what the model believes.

Q: What are the signs that an agent security policy is too permissive?

A: Look for broad tokens, direct upstream access from the agent, unrestricted tool lists, and logs that show actions without enough context to explain why they were allowed. If the agent can write to sensitive destinations or spawn other actors without explicit policy checks, the boundary is too loose.

Q: What is the difference between content injection and identity-aware access control for agents?

A: Content injection tries to manipulate what the agent perceives or decides. Identity-aware access control governs what the agent can actually do after that influence lands. The first is a security input problem, while the second is the enforcement layer that limits blast radius and prevents a deceptive instruction from becoming an executable action.


Technical breakdown

How AI Agent Traps turn content into execution risk

The article breaks traps into six families because the failure mechanism changes depending on whether the target is perception, reasoning, memory, action, multi-agent orchestration, or human oversight. Content injection can hide commands in HTML, Markdown, or images; semantic manipulation can bias the agent’s reasoning; memory poisoning can persist across sessions. The important distinction is that these are not all prompt injection in the same form. Some attacks only distort interpretation, while others directly steer tool use, exfiltration, or delegated execution. For security teams, the architectural question is where hostile content becomes an authorization event.

Practical implication: classify agent exposure by the stage at which hostile content can become an executable request.

Why identity-aware access changes the control point

Identity-aware access layers do not make the model truthful. They make the downstream action governable. In the article’s model, the agent never directly holds broad credentials to tools, databases, or internal APIs; instead, the access layer evaluates each request against policy and issues short-lived, scoped credentials only when the action is permitted. That matters because many agent attacks depend on confused-deputy behavior, where the agent is convinced to act with authority it should not have. The control is therefore not prompt sanitization alone, but per-request authorization tied to identity, context, and destination.

Practical implication: move authorization from session trust to request-level decisioning with scoped credentials.

Model Context Protocol adds a new policy boundary

The article’s MCP examples show why agent security is now partly a tooling problem. An agent can be allowed to call only specific tools, on specific routes, with identity and context as conditions. That means the policy boundary is no longer just network reachability or application login. It is which tool names, destinations, and request attributes are valid for a given identity at a given moment. This is especially relevant for web workflows because the same page content that influences the model may also trigger access to internal services. The result is a tighter coupling between identity governance and agent execution governance.

Practical implication: treat MCP tool access as an authorization surface, not just an integration detail.


Threat narrative

Attacker objective: The attacker wants the agent to perform unauthorized actions or leak privileged context without needing to compromise the model, endpoint, or user directly.

  1. Entry occurs when the agent ingests hostile web content, email, image, or document material that contains a trap for perception, reasoning, memory, or action.
  2. Credential or action abuse occurs when the compromised instruction causes the agent to request tools, APIs, files, or model endpoints with more authority than intended.
  3. Impact occurs when the agent exfiltrates data, executes an unauthorized workflow, or propagates the malicious instruction through delegated or multi-agent execution.

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

Identity-aware access is becoming the real control plane for agent security: AI Agent Traps show that hostile content can still reach the model, but harm only becomes material when the agent can execute against a tool, API, or file boundary. That means security teams have to stop treating the prompt as the unit of trust and start treating the request as the governance event. The practical conclusion is that authorization must sit where action occurs, not where language is parsed.

Prompt deception is now an authorization problem, not just a model-safety problem: The article’s strongest point is that an agent can be fully convinced and still be harmless if it lacks usable credentials or route permission. This is a useful shift for IAM and NHI programmes because it collapses the gap between agent safety and access governance. Practitioners should read that as a mandate to align agent policy with least-privilege execution paths, not with conversational guardrails alone.

Autonomous agents invalidate the assumption that access persists long enough to be reviewed: Access review processes were designed for identities whose privilege remains stable across a review cycle. That assumption fails when an agent can acquire, use, and release scope inside a single task or delegated session. The implication is that governance must move from periodic certification of standing access to continuous control at issuance and execution time.

Identity blast radius, not model accuracy, is the decisive risk metric: The article repeatedly shows that once an agent can reach internal systems, the attacker’s leverage comes from what the identity can touch, not from whether the model is clever. This is why short-lived, scoped credentials and per-request policy matter more than superficial content filtering. The practitioner lesson is to measure how far an agent can act when its judgment is wrong.

AI agent traps expose a new governance gap between context and authority: The trap taxonomy is valuable because it separates what influenced the agent from what the agent was allowed to do. That distinction is the missing governance concept for many early agent programmes. Teams should now govern the translation from retrieved context to executable authority as a first-class control domain, not as an implementation detail.

What this signals

Context-to-authority translation is the new agent governance problem: Teams do not need to assume that every hostile page will be blocked at the content layer. They do need to assume that any retrieved context may be adversarial, and therefore the only durable control is whether that context can be translated into an allowed request.

Access reviews and prompt safety are both insufficient when an agent can acquire and shed privilege inside one workflow. Governance now has to attach to issuance, destination, and tool-specific scope, which is why identity-aware gateways are becoming part of the agent security stack.

The most useful programme question is no longer whether an agent can be fooled. It is whether a fooled agent can still touch anything consequential. That is where policy, scoped credentials, and auditability become the practical boundary.


For practitioners

  • Define request-level authorization for agents Require every tool, API, and file request to pass a policy check at execution time, using identity, destination, and context as conditions rather than assuming a trusted session.
  • Issue scoped credentials for each agent purpose Prevent agents from directly holding broad bearer tokens or shared secrets. Translate external identity into short-lived, task-scoped credentials that can be revoked without affecting unrelated workflows.
  • Limit MCP tool exposure by route and tool name Allow only the specific MCP tools needed for the task, and bind those permissions to the requesting identity, destination, and session context.
  • Log denied and allowed actions with full context Record user, agent identity, source prompt session, route, destination, and policy reason so that security teams can reconstruct agent behaviour from SIEM data.
  • Separate content scanning from access governance Treat content sanitization, retrieval filtering, and runtime authorization as different controls. A trap may still reach the model, but it should not automatically gain execution rights.

Key takeaways

  • AI Agent Traps show that hostile web content can influence an agent without compromising the underlying model, endpoint, or user account.
  • The security impact depends on whether the agent can translate manipulated context into tool calls, API requests, or file access.
  • Identity-aware access shifts control to the execution layer, where scoped credentials and per-request policy can contain the blast radius.

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 SP 800-53 Rev 5 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 centres on agents being manipulated into misusing tools and execution paths.
ASI03 — Identity & Privilege AbuseThe core risk is an agent using authority it should not have once deceived by content traps.
ASI07 — Insecure Inter-Agent CommunicationThe article discusses sub-agent spawning and multi-agent control flow hijacks.
Recommendation — Bind tool execution to policy so manipulated agents cannot misuse allowed tools beyond scope. Constrain agent privilege with per-request authorization and scoped credentials tied to identity. Authenticate inter-agent requests and stop child agents inheriting implicit trust.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationThe article focuses on how agents authenticate to downstream services and MCP routes.
NHI-05 — Overprivileged NHIThe main governance failure is excessive reach once an agent can call internal tools or data services.
Recommendation — Replace broad bearer access with short-lived, policy-verified agent authentication. Reduce agent blast radius by limiting each identity to only the tools and destinations it needs.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementShort-lived scoped credentials and credential translation map directly to authenticator lifecycle control.
Recommendation — Manage agent authenticators so credentials are scoped, rotated, and revoked without shared use.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about request-level authorization and entitlement boundaries for agents.
Recommendation — Apply entitlement controls to every agent request and deny actions outside approved context.

Key terms

  • AI Agent Traps: AI Agent Traps are adversarial content patterns designed to mislead an AI agent into unsafe behaviour. They exploit the difference between what a human perceives and what a machine reads, then rely on the agent’s privileges to turn deception into action. For governance, they are an access problem as much as a model problem.
  • Identity-Aware Access: Identity-aware access is an authorization model that evaluates who or what is making a request, what it is trying to reach, and under what context. It replaces broad, persistent trust with request-level decisions. In agentic environments, it is the control that can contain a deceived agent before it reaches enterprise systems.
  • Confused Deputy: A confused deputy is a privileged system that is tricked into performing an action on behalf of an untrusted requester. In agentic AI, the agent may misread malicious input as legitimate intent and then use its own authority to act, which turns a logic problem into a security incident.
  • MCP Tool Boundary: The MCP tool boundary is the control line that separates an AI agent’s reasoning from the external tools it can call. In Model Context Protocol, it defines which actions, data, and permissions are exposed to the agent, helping limit unintended access, reduce prompt injection impact, and constrain tool use to approved functions.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security 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