Skip to content

< CollectionsPaper

Indirect Prompt Injection.

Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection

Greshake et al. · 2023 · arXiv 2302.12173

Read the paper (opens in a new tab)

Text an application retrieves can carry instructions, and the model may follow them.

3 sections · 5 problems

0 of 5 done

Start Next: 01 Ignore the Instructions Hidden in Your Documents

Fig. 1. The agent reads a web page for you. One line on it is written to the model, and as is, the model obeys it. Read as data with the send tool off, it is only text.

Section 01

Data becomes instructions

0 of 2

The paper: A web page, an email or a document the model reads is processed like a prompt, so whoever wrote it can steer the model.

  1. 01Ignore the Instructions Hidden in Your Documentsdebug · hard
  2. 02Fix the Agent That Follows the Web Pagedebug · hard

Section 02

Exfiltration

0 of 2

The paper: An injected prompt can make the model send private data out through the tools it has.

  1. 03Gate the Tool That Sends Data Outharness · hard
  2. 04Redact Secrets Before They Reach the Modelimplement · medium

Section 03

Poisoned tools

0 of 1

Beyond the paper: A tool's own description is text the model reads too.

  1. 05Vet the MCP Server Before You Trust Its Toolsimplement · medium
All collections