Find the failure modes in a design
Read a proposed Claude design, spot where hallucination, prompt injection, drift, overreliance and data leakage can enter, and link each risk to the failure it would cause in production.
Scenario
A corporate travel company wants a Claude agent that plans and books business trips for its clients' staff. The design document is eight pages long and the demo went well. You chair the risk review on Thursday.
First, a warm-up from the evaluation domain.
Explanation
Five failure modes cover most risk reviews. For each, know where it enters a design and what it does in production.
| Failure mode | Where to look in a design | What it causes in production |
|---|---|---|
| Hallucination | Facts the model must supply itself: no retrieval, long documents without quotes, no citations | Confident, specific, wrong answers: numbers, rules, references |
| Prompt injection | Text from users (direct) or third parties (indirect: emails, pages, files, tool output) placed where it reads as instructions | Actions nobody asked for, leaked data, policy bypassed |
| Drift | Facts that change after training, inputs that shift over time, and changes you make (prompts, a new model ID) without re-testing | Quality decays quietly, often noticed by users first |
| Overreliance | Reviews with high volume, little evidence and no measure of whether reviewers catch errors | Errors pass a review that exists only on paper |
| Data leakage | What goes into prompts, logs, analytics, metadata | Personal or confidential data exposed without an attack |
What the docs say about each:
- Hallucination. Allow Claude to say it doesn't know, ground long documents in direct quotes, ask for a citation per claim and retract claims without one, and restrict answers to provided documents. These techniques reduce but don't eliminate hallucination: critical information still needs validation.
- Injection. Two threat models: the user as adversary (jailbreaks, direct injection), and a trusted user whose agent reads adversarial third-party content (indirect). Third-party content belongs only in
tool_resultblocks. - Drift. Each Claude model ID is a pinned version, so the model under an ID doesn't change; moving to a new ID is a change to evaluate like any other. The model's knowledge stops at its training cutoff, so anything that changes in the world needs retrieval.
- Overreliance. Anthropic found that Claude Code users accept 93% of permission prompts, and called the effect approval fatigue: people stop paying close attention to what they approve.
- Leakage. No method stops prompt leaks for certain: leave out what the task doesn't need. Set
metadata.user_idto an opaque id, never a name, email address or phone number.
One more limitation to plan for: recent models' safety classifiers can decline a request. That arrives as a normal response with stop_reason: "refusal", not as an error, so a design that only handles errors misses it.
How to read a design: for each line, ask where do the facts come from?, who can write this text?, what changes over time?, who checks, and can they? and where does the data end up?