RETROSPECTIVE RECORD · PREPARED 16 SEPTEMBER 2026The record · 100 retrospective records ↗

The record / Safety & policy

Safety & policy / From the record · 12 September 2022 event · prepared 16 September 2026

Untrusted text in a prompt can override its instructions

Simon Willison named prompt injection in 2022; later research showed the weakness is structural, not fixable by better prompt wording.

Visual published with the cited source for this record: Untrusted text in a prompt can override its instructions
Visual published with the cited source, shown for identification of the record. Credit: static.simonwillison.net · source page ↗ Rights: owner-review-pending.

A named failure mode, not a new attack

On 12 September 2022, Simon Willison published a post that gave a name to a problem then surfacing in early GPT-3 integrations: prompt injection. The post describes an application that concatenated a fixed instruction with untrusted input, and shows that text placed in the untrusted portion can redirect the model away from the fixed instruction. The underlying mechanism was not new; a language model processes instructions and content as the same kind of token stream, so nothing in the architecture marks one span as more authoritative than another. What was new was the label, which let practitioners recognise the same failure across unrelated products.

From a single app to a class of systems

The problem generalises once a model reads content it did not receive directly from its operator. A 2023 paper on indirect prompt injection by Greshake and colleagues demonstrated that instructions hidden in a retrieved web page, document or search result can steer a model the same way, without the end user ever typing anything adversarial. The paper's threat model treats any data source a model reads as a potential instruction channel, and shows working attacks against real deployed systems of the time, including a browsing-enabled chat product. The OWASP GenAI Security Project's LLM01 entry keeps this distinction between direct injection, from the user's own prompt, and indirect injection, from content the model retrieves, and lists disclosure of internal instructions, unauthorised function calls and manipulated outputs among the consequences.

Why better prompting does not close it

Willison's related writing argues that instructing a model to ignore embedded commands is not a reliable fix, because the instruction to ignore and the embedded command compete for the same channel, and either can win depending on phrasing and position. This is a structural point rather than a claim about any one model's diligence: as long as instructions and data share one input stream with no cryptographic or architectural boundary between them, a sufficiently persuasive span of data text can be read as an instruction. OWASP's mitigation list reflects this by favouring system design over prompt wording: constraining what the model is permitted to do, validating output shape, applying least privilege to any tool the model can call, segregating untrusted content, and requiring human approval before high-impact actions.

  • Does the system draw a hard boundary between developer instructions and any content fetched at runtime, or only a prompted one?
  • What is the maximum-privilege action available to the model, and is that action gated by anything other than the model's own judgement?
  • Has the system been tested against content sourced from outside the immediate conversation, not only against adversarial user prompts?

Naming the problem in 2022 did not solve it; the OWASP top ten still lists prompt injection first in its most recent edition, and mitigation remains a matter of system architecture and privilege limits rather than a patch to the model itself.

Sources & reading trail

Prompt injection attacks against GPT-3 ↗

Original post naming and describing prompt injection, and arguing prompt-level fixes are unreliable.

Source published: 12 September 2022 · Retrieved: 16 September 2026

LLM01:2025 Prompt Injection ↗

Distinguishes direct from indirect prompt injection and lists consequences and mitigation strategies; a living reference page.

Source published: Not established · Retrieved: 16 September 2026

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

Demonstrates indirect prompt injection via retrieved content against real deployed systems, generalising the original problem.

Source published: 23 February 2023 · Retrieved: 16 September 2026

Papers and official documents establish the record; the reading and the questions are Model Field Guide editorial analysis. This retrospective draft does not imply the site published on the event date.