In-depth lesson · technique
Indirect prompt injection
What every disclosed Indirect prompt injection report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.
- reports cited in this lesson
- 72
- median public bounty
- $6,000
- highest public bounty
- $6,000
Learning AI and LLM features, step 3
Overview
What it is and why programs pay for it.
Indirect prompt injection is a vulnerability where an AI or LLM feature processes untrusted content, such as user comments, emails, or web pages, and treats instructions embedded in that content as if they came from the user or system. This can cause the model to perform unintended actions, leak data, or produce harmful output. Bug bounty programs care because AI features are increasingly integrated into products, and a successful injection can lead to data exposure, account compromise, or further exploitation.
This issue usually leads to data exfiltration, unauthorised actions, or chaining with other vulnerabilities like SSRF or XSS. It is most often found in AI assistants, chatbots, code assistants, email summarisers, and any feature that ingests external content and passes it to a language model without proper sanitisation or trust boundaries.
The evidence shows reports across various products, including public API documentation endpoints, issue trackers, chat assistants, and coding tools. Many reports highlight that unsanitised content or weak guardrails allow injected instructions to be executed.
Seen in these reports5
-
Medium -
Medium -
$6,000 High
Show all 5 reportsShow fewer
-
Medium -
High
How it works
The mechanics, as the reports show them.
The attack works by hiding instructions in content that the model will read but a user may not see, such as HTML comments, Unicode tag characters, or metadata. When the AI feature processes this content, it may interpret the hidden text as commands.
A common enabler is that the application passes raw, unsanitised user-generated content to the model instead of the sanitised version shown to users. This means any instructions embedded in the raw content are treated as trusted input by the model.
Another factor is that models often lack robust guardrails to distinguish between data and instructions. Even when guardrails exist, they can be bypassed through obfuscation, role-play framing, or by chaining with other vulnerabilities like path traversal or SSRF to deliver malicious content.
The impact can be amplified when the model's output is rendered without sanitisation, leading to cross-site scripting, or when the model has access to sensitive data or tools, allowing exfiltration or command execution.
Seen in these reports6
-
Medium -
$6,000 High -
Medium
Show all 6 reportsShow fewer
-
Medium -
High
Year by year
4 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2023 | 12 |
|---|---|
| 2024 | 17 |
| 2025 | 74 |
| 2026 | 80 |
-
2026
New this year4
- A link with a prompt parameter that preloads an arbitrary query into a chat assistant first appears as a technique in the disclosed reports.
- Injection into untrusted email content that an agent writes into persistent notes for later re-injection appears as a new pattern in the disclosed reports.
- Abuse of model-produced markdown for injection or exfiltration shows up as a fresh angle in the disclosed reports.
Kept working3
- Browser-integrated AI was tested to see whether injected content could make it exfiltrate cross-tab data, in the disclosed reports.
- Hunters chained prompt injection with XSS, RCE or exfiltration to escalate impact, in the disclosed reports.
Turned up less2
- Simple image-text injection into multimodal assistants, seen earlier, is rarer here, with only one such report in the disclosed reports.
- Video transcript injection, seen earlier, does not recur in this year's disclosed reports.
-
2025
New this year2
- Repository content read by Copilot was used to check whether the assistant followed injected instructions, in the disclosed reports.
- Unicode special-purpose characters were sent to check whether a parser decoded hidden instructions as plain text, in the disclosed reports.
Kept working6
- Invisible prompt injection in coding agents was a recurring focus, with hunters hiding instructions in content the model reads but the user does not see, in the disclosed reports.
- Coding agents were tested to see whether injected instructions in content they read could make them run arbitrary commands, in the disclosed reports.
-
2024
New this year4
- Computer-use and terminal agents became injection targets in the disclosed reports.
- Memory poisoning through recalled content first appears clearly in the disclosed reports.
- Unusual encodings such as ASCII were tested for reaching model training or context without filtering, in the disclosed reports.
Kept working5
- Hunters hid instructions in content a model reads but a user does not see and checked whether the assistant acted on them, in the disclosed reports.
- Hidden Unicode tag characters were submitted in a report and the AI assistant was then asked to suggest a severity to see whether the hidden text influenced the answer, in the disclosed reports.
Earlier years1
Root causes
6The mistakes in the code or configuration behind the reports.
-
The front end did not strip or display Unicode tag characters before passing report content to the model.
Seen in 1 report
-
AI features processed raw, unsanitised issue and comment content instead of the sanitised version shown to users.
-
The model treated user-generated content as trusted instructions, and the chat rendered markdown links without restriction.
-
Unsanitised path components were concatenated into a URL and normalisation resolved traversal segments, with fetched content not sanitised before entering the AI context.
Seen in 1 report
-
A URL parameter let attacker text be treated as a genuine user query, and guardrails were too weak to stop task-framed instructions from sending data out.
Seen in 1 report
Things to try
The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.
ticked in this lesson
Coding agents and repository content
of 3 ticked-
Seen in 3 reports
Computer-use and terminal agents
of 3 ticked-
Seen in 3 reports
-
Seen in 1 report
Encoding and obfuscation filters
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
-
Seen in 1 report
Payouts
1 paidPublic bounties in US dollars, from the data. 1 of 198 reports show an amount.
- a quarter paid up to
- $6,000
- median
- $6,000
- three quarters paid up to
- $6,000
- highest
- $6,000
One in ten paid reports was paid $6,000 or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 5 | 0 | None paid | None |
| High | 9 | 1 | $6,000 | $6,000 |
| Medium | 7 | 0 | None paid | None |
| Low | 4 | 0 | None paid | None |
| Informational | 1 | 0 | None paid | None |
| Unrated | 172 | 0 | None paid | None |
Highest-paid reports1
-
$6,000 High
Tips for beginners
8Advice for a first hunt, drawn from the reports.
-
Test whether hidden instructions in content are acted upon. For example, hide text in HTML tags or use Unicode tag characters and see if the assistant follows them.
-
Probe memory features: inject instructions that get stored and later recalled, and see if they are re-injected without guardrails.
-
Test multimodal assistants by embedding instructions in images or video transcripts and observing if the model treats them as commands.
-
When reporting, demonstrate concrete impact such as data exfiltration, unauthorised actions, or code execution. Avoid reporting theoretical issues without proof.
-
Look for common mistakes: reporting out-of-scope features, lacking a clear impact, or not providing reproducible steps. Always include a clear proof of concept that shows the vulnerability in action.
Seen in 2 reports
Guides and techniques
The best explainers, cheat sheets and technique posts on Indirect prompt injection, from around the web.
-
Exploiting LLM prompt injection vulnerabilitiesIntigriti walks through identifying and exploiting prompt injection in LLM-powered web applications.
Explainer Intigriti
-
AI Security Assessment: A Six-Step Full-Stack Evaluation StandardBishop Fox outlines a six-step full-stack AI security assessment that proves exploit chains from model output to database and agent actions.
Methodology Bishop Fox
-
Exploring Prompt Injection AttacksNCC Group surveys prompt injection variants against LLM applications and how to test for them.
Technique nccgroup.com
-
AI Runtime Threat Detection: From Input to Real-World ImpactWiz examines runtime threat detection for AI workloads from input handling to real impact.
Technique wiz.io
-
Building an Indirect Prompt Injection WorkflowSpecterOps walks through constructing an indirect prompt injection workflow against LLM applications, useful for AI security testing.
Technique specterops.io
Keep learning
Where this lesson fits, and what to read next.
Learning paths
The whole class
Related techniques
How this is made: our model read every listed Indirect prompt injection report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 27 Nov 2026 from 91 reports. All Indirect prompt injection reports.