Top 3 Attack Types from Instruction-Data Blurring
Prompt injection attacks primarily exploit LLMs' instruction-data confusion through three main types: Direct Injection (malicious commands inserted directly into user input), Indirect Injection (hidden commands embedded in external data the LLM processes), and Agentic/Tool-Mediated Injection (manipulating autonomous agents via their connected tools). [9, 17, 21, 24]
The top 3
- Most Direct Attack: Overriding LLM Instructions: Attackers exploit the LLM's inability to distinguish between developer instructions and user input, directly inserting malicious commands that hijack the model's intended behavior.
- Top Target: Sensitive Data Exfiltration: Prompt injection often aims to leak confidential information like API keys, system prompts, or private user data stored within the LLM's active context or training data.
- Highest Risk: Unauthorized Tool Execution: Malicious prompts can trick LLMs with 'excessive agency' into making unauthorized external tool or API calls, leading to actions like database queries or system commands.
Sources
Open the full topic