What threat modelling is
Threat modelling, or threat modeling in US spelling, is a structured conversation about how a system could fail under attack. It looks at the design: how data moves, where trust changes hands and what could go wrong at each step. The point is to make those decisions while they are still cheap to change.
A security architecture review uses the same thinking on a whole system, checking the design choices before they turn into code that is costly to rework.
Why do it before building
A flaw in the design often cannot be patched later, because fixing it means rebuilding. If a service trusts data it should verify, or an AI agent holds wider access than its task needs, a scanner may never flag it as a bug. The system is working as designed, and the design is the problem.
How a review runs
- Architecture workshop. We work with your engineers to map data flows and trust boundaries.
- Threat analysis. We go through what could go wrong at each step.
- AI-specific risks. We examine agent misuse, data leakage and prompt injection where AI is involved.
- Risk register. Each risk is rated and given a named owner on your team.
- Mitigation plan. Fixes are prioritised by risk.
- Follow-up. We revisit the model at each major release.
Questions a good threat model answers
- What are we protecting, and from whom?
- Which components trust each other, and should they?
- What happens if a credential, a vendor or a model behaves badly?
- Which risks will we fix, and which will we accept on the record?
That last question matters. Written trade-offs mean future teams know why a decision was made.
What comes next
Design review pairs naturally with penetration testing once the system runs, and with DevSecOps to keep agreed checks in place. Teams shipping AI can also read the OWASP Top 10 for LLM apps.