MAESTRO threat modeling for AI agents and AI systems¶
STRIDE covers the system around an AI agent. MAESTRO covers the agent itself: the model it runs on, the memory and data it reads, the tools it calls and the guardrails around it. Threat Modeler runs both frameworks on one diagram and puts every threat in one list.
In-browser
Nothing to install. Microsoft Threat Modeling Tool is a Windows desktop app.
Private by default
Models stay in your browser until you share one.
Shareable when you choose
Invite a colleague by email. Edits show live for everyone.
Three export formats
Export Threats CSV, SARIF 2.1.0 or Model JSON (.tm.json).
Bring your own controls
Switch on the protections you run, such as source authentication. The threats they answer drop out.
Open Threat Modeler Free, at tmt.accuknox.com
MAESTRO Sorts AI Threats Into 7 Layers¶
| Layer | Name | What it holds |
|---|---|---|
| L1 | Foundation Models | The LLM or other model the agent is built on |
| L2 | Data Operations | Vector stores, memory, knowledge bases and training data |
| L3 | Agent Frameworks | Agents, orchestrators and the tools they call |
| L4 | Deployment and Infrastructure | Where agents run and the permissions they hold |
| L5 | Evaluation and Observability | Logs, traces, evaluation and human review |
| L6 | Security and Compliance | Guardrails and approvals that cut across every layer |
| L7 | Agent Ecosystem | External agents, registries and third-party plugins |
Paths (shown as X) are chains that cross layers. An example is untrusted input that reaches a tool that changes things.
The AI Library Holds 22 Building Blocks¶
- Switch the library to AI.
- The 22 AI building blocks are grouped by MAESTRO layer.
- The quick-add bar, Clean diagram and Delete work as they do for STRIDE.
- Each AI shape carries a colored layer tag, L1 to L7.
- The AI COMPONENT settings set the MAESTRO layer, the role and yes/no protections. The answers drive the findings.
| Layer | Building blocks |
|---|---|
| L1 Foundation Models | Hosted LLM API, Self-hosted Model, Embedding Model, Fine-tuning Pipeline |
| L2 Data Operations | Vector Database, Agent Memory, Knowledge Base, Prompt Template Store, Training Dataset |
| L3 Agent Frameworks | AI Agent, Orchestrator, Tool / MCP Server, Code Interpreter |
| L4 Deployment and Infrastructure | Model Gateway, Agent Runtime |
| L5 Evaluation and Observability | Prompt and Trace Log, Evaluation Harness |
| L6 Security and Compliance | Guardrail, Human Approver |
| L7 Agent Ecosystem | External Agent, Agent Registry, Third-party Plugin |
Any Standard shape can join MAESTRO too. Select it and set its MAESTRO layer in the properties panel.
AI Switches Record the Controls Your Agent Already Has¶
Each answer adds or removes MAESTRO threats. A protection you switch on, such as Runs in a sandbox, removes the threats it answers. A risk you switch on, such as Runs generated code, adds threats. The switches shown depend on the role in Acts as.
| Acts as | Switches |
|---|---|
| Agent | Human approves high-impact actions, Tools limited to an allowlist, Model output checked before use, Own identity with least privilege |
| Model | Self-hosted, Can be fine-tuned, Rate limited |
| Data | Accepts content from outside, Content source verified, Access scoped per user |
| Tool | Can change or delete things, Runs generated code, Runs in a sandbox, Scoped credentials |
| Observability | Stores prompts and responses, Redacts personal data |
| Ecosystem | Identity verified or signed |
Model an Agent in Five Steps¶
- On the Models page, choose New model.
- Switch the library to AI and drag in the parts of your agent, such as AI Agent, Hosted LLM API, Agent Memory and Tool / MCP Server.
- Draw flows between them and name each flow after its data, for example "Prompt" or "Book flight".
- Wrap the agent runtime and the users in trust boundaries.
- Select each AI shape, check its MAESTRO layer and Acts as, and answer its switches. Then choose Analyze diagram.
The AI Travel Booking Agent Sample Shows a Finished Model¶
Choose Open AI agent sample on the Models page. The sample has 9 elements, 13 flows and 75 threats.
- Layers colors every AI shape by its MAESTRO layer.
- The key lists the layers used on this diagram.
- Select the Travel Agent and its settings open on the right.
- AI component settings are read-only on the sample.
- Choose Make a copy to edit to get your own editable version.
STRIDE and MAESTRO Threats Land in One List¶
- Framework switch. Show All, STRIDE only or MAESTRO only.
- Layer strip. Shows open threats per layer, plus cross-layer Paths. Click a layer to filter. A hatched cell means nothing on the diagram belongs to that layer yet.
- Status counts. Show progress and filter the list when clicked.
- STRIDE letters, priority and grouping. Grouping includes By layer.
- Divider. Drag to resize the diagram and the list. Double-click to reset.
- Color chip. Shows the STRIDE category or the MAESTRO layer of each threat.
A model without AI shapes shows no framework switch and no layer strip. Its STRIDE view stays as described in STRIDE threat modeling.
Attack Paths Show the Whole Chain and a Suggested Fix¶
- Select a path finding, here MAE-X-01, "Untrusted input from Employee can trigger Booking Tool".
- The diagram zooms to the path and the whole chain glows.
- Tags show the layer, the STRIDE category and the agentic threat reference, here T6 Intent Breaking and T2 Tool Misuse.
- Suggested mitigation names a fix. Reuse it as your justification.
- Set the priority, status and justification as you do for any threat.
Add Your Own AI Threat With a MAESTRO Layer¶
- Choose Add threat. Enter a title, a STRIDE category and a priority.
- Pick a MAESTRO layer. The field shows only on models with AI shapes, and it is optional.
- In Applies to, pick one flow or the whole model.
Exports and AccuKnox Sync Carry the MAESTRO Fields¶
- Threats CSV, SARIF 2.1.0 and Model JSON all carry the framework, the layer and the mitigation.
- The AccuKnox menu pushes the same findings and syncs status back for review. See Push threats to AccuKnox.





