Direct prompt injection
The person typing is the attacker. They write instructions intended to override the system prompt or the product's guardrails — "ignore your previous instructions", a DAN persona, an encoded payload — straight into the input box. The threat model is an insider or a user abusing a product they have legitimate access to, so the harm is usually policy violation, quota abuse or extraction of a system prompt rather than compromise of another party.
See also indirect prompt injection · jailbreak
Related terms
-
Indirect prompt injection
Attack concepts
The instructions are planted in content the agent reads rather than text the user types — a web page, a GitHub issue, a code comment, a dependency's…
-
Jailbreak
Attack concepts
Defeating a model's safety training so it produces output it would normally refuse. The distinction from prompt injection is about whose intent is being…
Attack concepts
The mechanisms the families above exploit, plus the agent-specific ones that have no chatbot equivalent. If you only read one entry on this page, read indirect prompt injection.