A data flow diagram maps processes, data stores, external entities, and the trust boundaries between them. Drawing one for an agent setup exposes the hidden flows: which tool outputs reach the model, which credentials the agent holds, and where untrusted content enters a privileged context.
Read in this order
- Open sourceOWASP Threat DragonStart here: a free diagram editor that marks trust boundaries and lists threats.
- Open sourceOWASP pytm: a Pythonic framework for threat modelingDescribe your system as Python code and generate the diagram and threats.
- Open sourceThreat Composer (AWS Labs)A lightweight browser tool for writing threat statements against your diagram.