Key questions/can-prompt-injection-be-defended

Can prompt injection against AI agents be reliably defended?

high confidenceRevised Sep 26, 2026Reviewed assistant-drafted
Current answer

Not reliably. Defenses reduce injection but none has eliminated it; limiting what untrusted input can trigger is the most defensible approach.

Tool-using agents without added defenses followed injected instructions in a substantial share of 2024 benchmark cases. Frontier models tested in 2025 and 2026 resist far more often, yet every one was hijacked at least once in large public red-teaming competitions. Research defenses that reported near-zero attack success against fixed attacks failed once attackers adapted to them, and frontier labs report that their layered defenses reduce injection in browser and computer-use agents without eliminating it. The approach with the strongest support is architectural: bound what untrusted input can cause an agent to do, rather than rely on the model to resist.

The findings behind it

1 corroborated, 2 reported, 2 qualified

Each finding carries a status that changes as new work arrives. What the statuses mean.

Answer history

Answers are never edited after the fact. A revision adds a new answer and keeps the earlier ones here.

  1. 2026-09-26high confidencecurrentNot reliably. Defenses reduce injection but none has eliminated it; limiting what untrusted input can trigger is the most defensible approach.Revised because newer competitions show much lower injection success on current frontier models, which qualifies the 2024 benchmark finding. The conclusion is unchanged: no model or defense has eliminated injection.
  2. 2026-09-25high confidenceNot reliably. Defenses reduce injection but none has eliminated it; limiting what untrusted input can trigger is the most defensible approach.First answer, drawn from the findings linked here.