Top 3 Indirect Prompt Attack Techniques
Attackers exploit LLMs by embedding harmful instructions in Retrieval Augmented Generation (RAG) data, manipulating URLs or files, or camouflaging malicious commands within user-provided context to trigger unintended actions.
The top 3
- Hidden Text & Zero-Font Exploits: Attackers embed malicious instructions using methods like white-on-white text, zero-font-size characters, or hidden HTML comments, making them invisible to human users but fully readable and actionable by Large Language Models.
- Faking System Prompt Boundaries: This technique involves inserting artificial markers such as `[END OF DOCUMENT]`, `### NEW INSTRUCTIONS ###`, or `[SYSTEM OVERRIDE]` into external data to trick LLMs into prioritizing subsequent malicious instructions as legitimate system directives.
- Conditional AI Targeting & Persona Exploits: Attackers craft prompts that specifically address AI agents (e.g., "If you are an AI assistant...") or manipulate conversational context to bypass guardrails and induce unintended actions like data exfiltration or denial-of-service responses.
Sources
Open the full topic