Open Agent School · Public worked example

Direct prompt injection: meaning and example

Welcome! Take one idea with you today.

An attempt by the primary user to make a model disregard the application’s higher-trust instructions.

Picture it: A fictional classroom assistant is asked to ignore its assigned summarization role.

What is easy to mix up?

An ordinary user correction is not automatically an attack; consider the application’s intended instruction boundaries.

Teaching example by Open Agent School. Source: NIST SP 2400-102e2026.ipd — Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations (November 2026, Initial Public Draft); PDF p. 151.