Guide · 35 episodes · updated 2026-11-26

Prompt injection: how it evolved from explicit commands to forgeries

← all guides

What is prompt injection, and why do agent defenses keep failing against it?

Prompt injection smuggles adversarial text into material a model reads, such as a web page, a bug report, a tool description or a stored memory, so that the model follows it in place of its real instructions. The papers keep running into it because ingest constantly. They agree that classic explicit commands now mostly fail against modern models. The newer attacks that succeed look like records, history or documentation, with no demand in them: forged transcripts, relabeled summaries, invisible text, persistent memory. They disagree about where to defend. Scanners that look for imperative phrasing miss these attacks, and permission lists and per-input inspection break once content changes roles or the harm is spread across steps.

What prompt injection means

Prompt injection is an attack where adversarial instructions are smuggled into data that a model later reads — a web page, an email, a tool output — causing the model to ignore its real instructions and follow the injected ones. It’s the defining security problem of LLM agents.

The episodes (35)

Newest first. Each line is what that paper contributed to the question.

Papers we have not covered yet

Other guides

Intro written by Anthropic's Claude Sonnet 5.5; episodes selected and edited by Garrett Casey. Episode notes come from each episode's own analysis. How PaperDive is made.