Skip to content

Glossary: AI Security and Guardrails

Direct injection

Also written: direct prompt injection

Prompt injection in which the user types the instructions, for example "reply only with PINEAPPLE". The attacker is the person talking to your app.

Where the book teaches it

Related terms

Indirect injectionPrompt injectionJailbreak