LearnQuestion bank

A vendor says its prompt-injection guardrail cuts attack success to 0.5% on a public benchmark. Given the October 2025 ‘attacker moves second’ results, in which adaptive attacks beat 12 published defences, how would you evaluate the claim, and what would you build around the guardrail for an email-reading agent?

Applied LLMTechnicalMedium

Answer it yourself first, out loud or on paper, then compare.

Answer

Model answer, written in a candidate's voice

In short

  • 0.5% is a fixed-benchmark number; adaptive attackers (search, RL, gradient methods, human red-teamers) optimise against the specific defence and beat published defences
  • Demand adaptive evaluation with a stated attacker budget and access level, reporting attack success alongside utility
  • Arithmetic: 0.5% per attempt compounds (~39% at 100 attempts, ~99% at 1,000), so the guardrail is telemetry, not a boundary
  • Architecture: dual LLM or plan-then-execute; no outbound tools or rendering while untrusted content is in context; code-level tool authorisation; human approval for sends
  • Monitor repeated failed tool calls as a signal that an attacker is iterating

In full

The 0.5% figure is a fixed-benchmark number, not a guarantee: the October 2025 results show adaptive attackers — search, RL, gradient-based optimisation, and human red-teamers — beating published defences, so I would treat the claim as telemetry, not a boundary. I would ask the vendor for an adaptive evaluation with a stated attacker budget and access level (how many attempts, whether the attacker can see the guardrail’s outputs or error messages, black-box versus gradient access), and for attack success reported alongside utility, because a guardrail that blocks everything is useless. The arithmetic matters: at 0.5% per attempt, 100 attempts give roughly a 39% chance of at least one success and 1,000 attempts roughly 99%, so a low per-attempt rate does not bound the risk for an agent that processes many emails. Around the guardrail I would build architectural controls: a dual-LLM or plan-then-execute split so untrusted content never directly drives tool calls, no outbound tools or rendering while untrusted content is in context, tool authorisation enforced in code rather than in the prompt, and human approval for sends. I would also monitor for repeated failed tool calls — the agent attempting and being blocked — as a signal that an attacker is iterating, and treat that pattern as a trigger for escalation rather than a clean pass.

Checked against sources by an independent AI reviewer.

What a strong answer covers

  • Distinguishes fixed attack sets from adaptive attackers who optimise against the specific defence (search, RL, gradient methods, human red-teamers)
  • Asks for adaptive evaluation with a stated attacker budget and access level, reporting attack success alongside utility
  • Does the arithmetic: a small per-attempt success rate compounds over many attempts, so the guardrail is telemetry, not a boundary
  • Builds architectural controls: dual LLM or plan-then-execute, no outbound tools or rendering while untrusted content is in context, tool authorisation in code, human approval for sends
  • Adds monitoring for repeated failed tool calls as a sign of an attacker iterating

Common mistakes

  • Accepting a benchmark number as evidence of robustness against a motivated attacker

Follow-ups

  • How does the NCSC’s ‘confusable deputy’ framing change what privileges the agent should have?