> For clean Markdown of this page, append .md to its URL. For the complete documentation index, see https://www.superagent.sh/llms.txt.


Check whether instructions in web pages, forms, or support tickets can redirect an AI agent’s workflow or influence a protected action.

# Indirect prompt injection testing for AI agents


[← Back to attack scenarios](https://www.superagent.sh/docs/products/red-teaming/attack-scenarios)

Indirect prompt injection happens when instructions reach an AI agent through material it reads, such as a web page, a submitted form, or a support ticket. The agent may encounter the material while working on a task the user authorized.

This scenario checks whether untrusted content can change the agent's task or influence an action that needs separate authorization. It is useful for agents that read from public sites or accept documents and messages from people outside the team that operates them.

A finding can show the source of the content, the workflow it affected, and any change in the agent's actions. Read how this risk surfaced in [50 AI agent assessments](https://www.superagent.sh/blog/red-teaming-ai-agents-learnings).

The app lists this scenario as **Redirect a legitimate workflow through untrusted content** (`AG-09`) in [Agent Red Teaming](https://www.superagent.sh/docs/products/red-teaming/agents).

## Standards and guidance

[OWASP Agentic Top 10 (2026), ASI01 Agent Goal Hijack](https://genai.owasp.org/resource/owasp-top-10-for-agentic-applications-for-2026/) · [OWASP LLM01:2026 Prompt Injection](https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/)

---
Source: https://www.superagent.sh/docs/products/red-teaming/attack-scenarios/indirect-prompt-injection
Index: https://www.superagent.sh/llms.txt
