Why it matters

An agent that can be redirected by text in a web page, email, tool result or peer message will pursue the attacker’s goal with its own permissions, across many steps.

How to prevent it

  • Treat everything the agent reads as untrusted data, and keep the user’s goal and constraints outside the context the model can edit.
  • Authorize each action against the original user’s intent and permissions, not the agent’s current plan.
  • Require confirmation for actions that change goals, involve new parties or have high impact, and log plans and actions for review.

Guides on this site

Practice

References

  1. OWASP Top 10 for Agentic Applications for 2026 (OWASP GenAI Security Project, Agentic Security Initiative)

List data from the publisher. A guide is listed as the main subject when the weakness or risk is what the guide is about, and as covering it when a dedicated section or worked example addresses it.