🎯Core Definition
Prompt Injection is a severe security vulnerability where crafted inputs hijack LLM control flow or override safety alignments, encompassing Direct Prompt Injection (Jailbreaking via user prompts) and Indirect Prompt Injection (embedding malicious instructions inside external web pages, PDFs, or RAG passages triggered when ingested by an Agent); defense architectures include strict XML delimiter sandboxing, formal Instruction Hierarchy enforcement, input pre-screening classifiers, and Dual-LLM privileged-isolated execution frameworks.
💡Use Cases
Autonomous web-browsing agents, enterprise pipelines ingesting untrusted third-party files (resumes, emails), and privileged API execution tools.
⚡Key Problems Solved
Indirect prompt injections can silently command agents to exfiltrate private DB records to external attacker endpoints (OWASP Top 1 for LLMs); multi-tiered defense establishes deep boundary isolation, neutralizing injected text as passive data.