AI engineering glossary · Evals guardrails AI security

What is threat modelling?

Threat modelling: A structured exercise to identify what could go wrong in a system: what assets need protecting, who might attack, how they could do it and which controls would stop them. For AI apps it examines data flows, tools, prompts and models, ideally before the system is built.

Level: intermediateTopic: Evals guardrails AI security

Threat modelling: an example

Before launching an agent that reads email, the team lists assets, trust boundaries and injection paths, and decides to block outbound web calls.

Related terms

More Evals guardrails AI security terms

Where you learn it

Threat modelling is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.