Walk me through how you would threat-model a new agent before it ships.
Type it the way you would explain it to an interviewer. A few sentences is enough; you can't break anything.
Model answer: the part to lead with
I would run it as five passes, deliberately ordered so the cheap filter comes first.
Full worked answer
I would run it as five passes, deliberately ordered so the cheap filter comes first.
1. Inventory the boundary. Write down four lists: what data it can read, what actions it can take, what content sources enter its context, and who can talk to it. Most teams cannot produce these in a meeting, and the exercise alone finds problems. Include the indirect sources: retrieval corpora, tool results, MCP tool descriptions, memory.
2. Apply the lethal trifecta test. Private data, untrusted content, exfiltration channel. If all three are present, stop and redesign, because no amount of downstream control fixes it. This takes 60 seconds and is the highest-value filter you have. Do it before anything formal.
3. Enumerate systematically. STRIDE per trust boundary gives classic discipline: spoofing, tampering, repudiation, information disclosure, denial of service, elevation of privilege. It maps onto agents surprisingly well (repudiation is exactly your shared-service-account audit gap, elevation of privilege is exactly confused deputy). But STRIDE has no vocabulary for the AI-specific tactics, so I pair it with MITRE ATLAS, which is the ATT&CK-style knowledge base for attacks on AI systems and covers poisoning, evasion, model extraction and LLM-specific TTPs. STRIDE finds the boundary failures, ATLAS finds the AI ones.
4. Rank by blast radius times likelihood, and write the narratives. Not a list of categories, a list of stories: "attacker emails support, the agent reads the ticket, and the CRM contents leave via a markdown image". A narrative is testable and it survives contact with a product manager. A category is not and does not.
5. Map to controls and to tests. Each top risk gets a control (scope reduction, approval gate, egress allowlist, schema constraint) and, crucially, a red-team test plus a regression eval, so the finding does not silently regress on the next model swap.
Deliverable: a data-flow diagram with trust boundaries drawn, a ranked risk list, a control map, and named launch blockers. And a re-review trigger, because the model version, the prompt and the tool list all change after launch, and the threat model is stale the moment any of them do.
What a good answer covers
- I would run it as five passes, deliberately ordered so the cheap filter comes first
- Write down four lists: what data it can read, what actions it can take, what content sources enter its…
- Most teams cannot produce these in a meeting, and the exercise alone finds problems
- Include the indirect sources: retrieval corpora, tool results, MCP tool descriptions, memory
- Private data, untrusted content, exfiltration channel
Key terms: 1. Inventory the boundary · 3. Enumerate systematically
In the glossary: MCP · Tool description · Lethal trifecta · Exfiltration channel · Confused deputy
Interviewer follow-ups to expect
What does STRIDE miss for an AI system that ATLAS catches, and vice versa?
How do you keep a threat model alive rather than a launch artifact nobody opens again?
Worked answer from AI-Engineer-Interview-Questions by Om (MIT), reformatted for LLM Prep · answer text last updated 6 November 2026 · scoring and review schedule by LLM Prep