Open Agent School · Public worked example

Prompt extraction: meaning and example

Welcome! Take one idea with you today.

Trying to reveal hidden system instructions or other protected context.

Picture it: A test checks whether an assistant repeats an internal instruction instead of answering the public task.

What is easy to mix up?

Do not store secrets in prompts. Hiding instructions is not a substitute for authorization.

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