All Questions
Guardrails And Safety medium

Your support agent can issue refunds through a tool. The only safety layer is an output classifier on the agent's final text reply. A red-teamer gets the agent to issue a $5,000 refund. The classifier blocks the final message 'I have refunded $5,000', but the money is gone. What is the design flaw?

  1. A The classifier threshold is too permissive; tuning it to flag refund language earlier in the reply would stop the refund.
  2. B The tool call ran before any filter did; policy must gate the action itself with amount limits and authorization checks.
  3. C The classifier sits on the wrong side; moving it to the user input catches the manipulation before the model ever sees it.
  4. D The system prompt lacks the refund policy; listing exact limits there lets the model refuse out-of-policy refunds itself.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions