PassDrill Free practice questions with explanations that actually teach.

AI-ENGINEERING · prompting · Q005 · easy

Per the OWASP Top 10 for LLM Applications (2025), which best distinguishes "indirect" prompt injection from "direct" prompt injection?

  1. Direct prompt injection means malicious instructions are typed straight into the model's input by the user; indirect prompt injection means the malicious instructions are hidden in external content, such as a webpage or document, that the LLM later ingests and follows
  2. Direct prompt injection only affects open-source models, while indirect prompt injection only affects closed, API-based models
  3. Indirect prompt injection requires physical access to the server running the model, while direct prompt injection can be performed remotely over the network
  4. Direct prompt injection is a purely theoretical risk with no real-world examples, while indirect prompt injection has already been fixed in all major LLM products