1. Conduid
  2. Science
  3. Threat Composer
MCP server · Science

Threat Composer

A simple threat modeling tool to help humans to reduce time-to-value when threat modeling

77Good

Scored 8 hours ago · breakdown

About Threat Composer

Threat Composer is an MCP server published by awslabs in the Science category: a simple threat modeling tool to help humans to reduce time-to-value when threat modeling. Conduid read 5 tools from its source: threat_modeling_get_tc_schema, threat_modeling_get_workflow_logs, threat_modeling_list_workflow_sessions, threat_modeling_start_workflow and threat_modeling_validate_tc_schema. No package is published for it, so it installs from a source checkout.

The repository has 802 stars and 129 forks, is licensed Apache-2.0, and its last commit was on 30 Nov 2026. The latest release is v1.0.94 (29 Nov 2026): Bug Fixes ai: Resolve file tool paths before reading and writing (c24fb0e). It follows v1.0.93 (11 Nov 2026), and the 5 most recent releases go back to v1.0.90 (5 Nov 2026). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Its topics include threat-modeling, threat-modeling-tool, threat-modelling-tool, threatmodeling, threatmodelling and vscode-extension.

Install

From source
git clone https://github.com/awslabs/threat-composer

Tools (5)

threat_modeling_get_tc_schemaGet the Threat Composer v1 schema JSON content.
threat_modeling_get_workflow_logsGet the workflow logs for a running or completed session.
ParameterTypeDescription
output_directory *stringThe output directory path returned by start_workflow
session_id *stringThe session ID returned by start_workflow
tail_linesintegerOptional number of lines to return from end of log (default: all lines)
threat_modeling_list_workflow_sessionsList available workflow sessions in a directory.
ParameterTypeDescription
limitintegerMaximum number of sessions to return (default: 50)
search_directory *stringDirectory to recursively search for sessions
sort_bystringSort order - "created_at", "updated_at", or "session_id" (default: "created_at")
threat_modeling_start_workflowStart a new threat modeling workflow or re-run from previous session.
ParameterTypeDescription
directory_path *stringPath to directory to analyze (required)
rerun_from_session_idstringSession ID to re-run from (optional)
search_directorystringDirectory to search for rerun session (required if rerun_from_session_id provided)
threat_modeling_validate_tc_schemaValidate JSON data against the Threat Composer v1 schema.
ParameterTypeDescription
datastringRaw JSON string to validate (optional)
file_pathstringPath to JSON file to validate (optional)

Security checks

Static checks derived from the repository 2 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.1K words.
  • ✓License declaredThe repository declares the Apache-2.0 license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml and packages/threat-composer-ai/uv.lock.
  • !No dynamic code executionScanned 532 source files and found 1 call to eval or shell execution, in packages/threat-composer-ai/src/threat_composer_ai/eval/consistency/benchmark.py:165. Review how tool inputs reach them before granting credentials.

1 check has not been run yet.

What the source scan found

Transport
stdiopackages/threat-composer-ai/src/threat_composer_ai/mcp/server.py:42
Starts other programs
2 callspackages/threat-composer-ai/src/threat_composer_ai/eval/quality.py:163, packages/threat-composer-ai/src/threat_composer_ai/validation/graphviz_validator.py:47
Outbound network calls
3 callspackages/threat-composer-app-browser-extension/src/entrypoints/background.ts:47, packages/threat-composer-app/src/serviceWorkerRegistration.ts:109, packages/threat-composer-app/src/utils/convertToDocx/fetchImage.ts:37
Writes or deletes files
18 callspackages/threat-composer-ai/src/threat_composer_ai/agents/common.py:148, packages/threat-composer-ai/src/threat_composer_ai/agents/common.py:166, packages/threat-composer-ai/src/threat_composer_ai/config/app_config.py:354
Lockfile
pnpm-lock.yaml and packages/threat-composer-ai/uv.lock

Pattern matches on the source text of 532 files: places to read, not proof of what the code does at run time.

Releases

v1.0.94v1.0.94 · 29 Nov 20261.0.94 (2026-11-29) Bug Fixes ai: Resolve file tool paths before reading and writing (c24fb0e)
v1.0.93v1.0.93 · 11 Nov 20261.0.93 (2026-11-11) Bug Fixes threat-composer: Show base64 diagrams in the threat model view (#383) (cea6632)
v1.0.92v1.0.92 · 11 Nov 20261.0.92 (2026-11-11) Bug Fixes ai: Draw diagrams from structured data (#381) (8885b92)
v1.0.91v1.0.91 · 6 Nov 20261.0.91 (2026-11-06) Bug Fixes ai: Keep MCP stdout clean and accept null for optional tool args (#371) (0147b21)
v1.0.90v1.0.90 · 5 Nov 20261.0.90 (2026-11-05) Bug Fixes ai: Include the DFD icons in the built package (#373) (7a801e5)

README

The repository's README runs to about 1.1K words, fetched 2 days ago. The original in the repository is authoritative.

Read full README
Questions

About Threat Composer

How do I install Threat Composer?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Threat Composer safe to use with an AI agent?

Its trust score is 77 out of 100 (good). It passes 4 of the 5 static checks Conduid ran on the repository; it does not pass No dynamic code execution. Conduid's scan of 532 source files found that it serves MCP over stdio, starts other programs (2 calls), makes outbound network calls (3 calls) and writes or deletes files (18 calls). Its dependencies are pinned by pnpm-lock.yaml and packages/threat-composer-ai/uv.lock. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Threat Composer still maintained?

Yes — the latest release is v1.0.94 (29 Nov 2026), and the last commit was 2 days ago. The repository has 802 stars and 20 open issues.

What tools does Threat Composer provide?

Conduid read 5 tools from the source: threat_modeling_get_tc_schema, threat_modeling_get_workflow_logs, threat_modeling_list_workflow_sessions, threat_modeling_start_workflow and threat_modeling_validate_tc_schema. 4 of them publish their parameters, listed under Tools above.

What license is Threat Composer released under?

The repository declares the Apache-2.0 license. That applies to the latest release, v1.0.94, as well.