Indirect Prompt Injection
6 steps1 pieces6 Sources
Indirect prompt injection (IPI) has transitioned from a theoretical vulnerability to an operational threat against AI-driven applications. Unlike direct jailbreaks where users input malicious text, IPI involves attackers embedding hidden instructions in external data sources—such as scanned receipts, emails, web pages, or code repositories—that AI agents later ingest during normal operations. Recent evidence highlights concrete risks: a Mac & i report details how invisible text on a paper receipt can hijack an expense app to inflate reimbursements, while USENIX Security research demonstrates that optimized IPI attacks achieve near-100% retrieval rates in real-world scenarios, bypassing traditional defenses. The core disagreement lies in mitigation efficacy; while frameworks like OWASP rank IPI as the top LLM risk, studies show current defenses often fail to prevent malicious content retrieval or allow task-tampering attacks that manipulate outcomes without changing the agent's objective. Readers should monitor for standardized CVE disclosures for agentic flaws and the adoption of strict authority boundaries in enterprise AI deployments.
How it got here
May 2023: Indirect prompt injection is first formally recognized as a distinct vulnerability exploitation method.
secrss.com ↗June 2026: Springer publishes a study analyzing IPI risks in high-stakes domains like CV evaluation and education.
link.springer.com ↗August 2026: USENIX Security presents research showing black-box IPI attacks can guarantee retrieval with low cost ($0.21/query).