Indirect prompt injection: the hidden threat breaking through modern AI systems
Indirect Prompt Injection: The Hidden Threat Breaking Modern AI Systems
Indirect prompt injection embeds hidden instructions into content that the AI will later read; the attacker does not touch the prompt box, and the model treats malicious text as instructions when browsing web pages, parsing PDFs, loading MCP tool descriptions, or reading memory. According to the OWASP Top 10 for LLM Applications, this type of attack succeeds when untrusted data and trusted system instructions are mixed into the same context window, potentially leading to data leakage, output manipulation, or triggering harmful tool calls. Perplexity's Comet feature once leaked user one-time passwords due to invisible text in a Reddit post; Lakera's Gandalf: Agent Breaker also provides scenarios such as Trippy Planner, OmniChat Desktop, PortfolioIQ Advisor, Curs-ed CodeReview, and MindfulChat.