Top 2 Prompt Injection Attack Types: Direct vs. Indirect

Prompt injection attacks primarily manifest in two forms: Direct, where attackers directly input malicious commands to override instructions, and Indirect, where malicious instructions are hidden in external data (like documents or web pages) that the LLM processes unknowingly. Indirect injection poses a greater threat as attackers don't need direct application access, and victims are often unaware of the attack.

Sources

Open the full topic