AI Injections: Direct and Indirect Prompt Injections and Their Implications
Summary
AI prompt injection is a vulnerability where attackers manipulate input given to AI systems, either directly (by controlling parts of the prompt themselves) or indirectly (by embedding malicious instructions in data the AI will later process, like web pages). These attacks can trick AI systems into ignoring their intended instructions and producing harmful, misleading, or inappropriate responses, similar to how SQL injection or cross-site scripting (XSS, a web attack that injects malicious code into websites) compromise other systems.
Classification
Affected Vendors
Related Issues
Original source: https://embracethered.com/blog/posts/2023/ai-injections-direct-and-indirect-prompt-injection-basics/
First tracked: February 12, 2026 at 02:20 PM
Classified by LLM (prompt v3) · confidence: 85%