Threat modeling is the habit of asking what you are building, what can go wrong, what you will do about it, and whether you did a good job. It is the first tool to reach for with agents, because most agent risk comes from how tools, data, and permissions are wired together, not from the model alone.
Read in this order
- OfficialThreat Modeling Cheat Sheet (OWASP)Start here: a practical walkthrough of the process, steps and pitfalls included.
- Open sourceShostack's 4 Question Frame for Threat ModelingThe four-question frame that most later threat modeling work builds on.
- ArticleThreat modeling the TRAIL of Bits way (Trail of Bits)How a working security team runs threat modeling on real client systems.