Skip to content

Prompting

Prompt injection

An instruction hidden or supplied in input that tries to override the model's intended rules.

Example

A malicious message tells a support bot to ignore its rules and reveal private instructions.

Why people use it

Knowing how “Prompt injection” works helps teams give models clearer instructions and diagnose weak prompts.

What you'll hear

“Can we improve this with Prompt injection before we change the model?”

Related terms