Skip to content

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¶

AI library open, an AI Agent selected, and its AI component settings marked

  1. Switch the library to AI.
  2. The 22 AI building blocks are grouped by MAESTRO layer.
  3. The quick-add bar, Clean diagram and Delete work as they do for STRIDE.
  4. Each AI shape carries a colored layer tag, L1 to L7.
  5. 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¶

  1. On the Models page, choose New model.
  2. 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.
  3. Draw flows between them and name each flow after its data, for example "Prompt" or "Book flight".
  4. Wrap the agent runtime and the users in trust boundaries.
  5. 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.

AI Travel Booking Agent sample with Layers, the layer key, the Travel Agent and its settings marked

  1. Layers colors every AI shape by its MAESTRO layer.
  2. The key lists the layers used on this diagram.
  3. Select the Travel Agent and its settings open on the right.
  4. AI component settings are read-only on the sample.
  5. Choose Make a copy to edit to get your own editable version.

STRIDE and MAESTRO Threats Land in One List¶

Analysis view with the framework switch, layer strip, status counts, filters, divider and color chips marked

  1. Framework switch. Show All, STRIDE only or MAESTRO only.
  2. 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.
  3. Status counts. Show progress and filter the list when clicked.
  4. STRIDE letters, priority and grouping. Grouping includes By layer.
  5. Divider. Drag to resize the diagram and the list. Double-click to reset.
  6. 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¶

Path finding MAE-X-01 selected, the glowing chain on the diagram, its tags, suggested mitigation and triage fields marked

  1. Select a path finding, here MAE-X-01, "Untrusted input from Employee can trigger Booking Tool".
  2. The diagram zooms to the path and the whole chain glows.
  3. Tags show the layer, the STRIDE category and the agentic threat reference, here T6 Intent Breaking and T2 Tool Misuse.
  4. Suggested mitigation names a fix. Reuse it as your justification.
  5. Set the priority, status and justification as you do for any threat.

Add Your Own AI Threat With a MAESTRO Layer¶

Add threat dialog on an AI model with Add threat, MAESTRO layer and Applies to marked

  1. Choose Add threat. Enter a title, a STRIDE category and a priority.
  2. Pick a MAESTRO layer. The field shows only on models with AI shapes, and it is optional.
  3. In Applies to, pick one flow or the whole model.

Exports and AccuKnox Sync Carry the MAESTRO Fields¶

Export menu and the AccuKnox menu on an AI model marked

  1. Threats CSV, SARIF 2.1.0 and Model JSON all carry the framework, the layer and the mitigation.
  2. The AccuKnox menu pushes the same findings and syncs status back for review. See Push threats to AccuKnox.