Hexret

AI Security · Prompt injection

Direct Prompt Injection

Also known as: Direct Injection

A Prompt Injection placed in a message the attacker sends directly to the model, such as a chat request. Unlike Indirect Prompt Injection, it does not need a retrieved page or tool result. The message is an attempt; success requires observed model behavior.

Where you practice it

Related terms