Skip to content

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

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.

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.

Year by year

4 years

What each year's disclosed reports show, newest first. A year with few reports says less.

Reports per yearPeak 2026: 80
Reports per year
202312
202417
202574
202680
  1. 2026

    80 reports · median $6,000

    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.
    and 1 more

    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.
    and 1 more

    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.
  2. 2025

    74 reports

    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.
    and 4 more
  3. 2024

    17 reports

    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.
    and 1 more

    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.
    and 3 more

Earlier years1

Every point, year by year

Root causes

6

The mistakes in the code or configuration behind the reports.

  1. The front end did not strip or display Unicode tag characters before passing report content to the model.

    Seen in 1 report
  2. AI features processed raw, unsanitised issue and comment content instead of the sanitised version shown to users.

    Seen in 1 report
  3. The model treated user-generated content as trusted instructions, and the chat rendered markdown links without restriction.

    Seen in 1 report
  4. 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
  5. 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
View all 6

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
More in Coding agents and repository content

Exfiltration channels

of 3 ticked
More in Exfiltration channels

Computer-use and terminal agents

of 3 ticked
More in Computer-use and terminal agents

Encoding and obfuscation filters

of 3 ticked
More in Encoding and obfuscation filters
View more things to try

Payouts

1 paid

Public 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.

SeverityReportsPaidMedianHighest
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

Tips for beginners

8

Advice for a first hunt, drawn from the reports.

  1. 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.

    Seen in 2 reports
  2. Probe memory features: inject instructions that get stored and later recalled, and see if they are re-injected without guardrails.

    Seen in 2 reports
  3. Test multimodal assistants by embedding instructions in images or video transcripts and observing if the model treats them as commands.

    Seen in 2 reports
  4. When reporting, demonstrate concrete impact such as data exfiltration, unauthorised actions, or code execution. Avoid reporting theoretical issues without proof.

    Seen in 2 reports
  5. 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
View all 8

Guides and techniques

The best explainers, cheat sheets and technique posts on Indirect prompt injection, from around the web.

Keep learning

Where this lesson fits, and what to read next.

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.