Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

Threagile

threagile.io

  • Free plan
  • Linux
  • Web
  • API
  • Self-hosted
7.3 Club score Visit threagile.io

What Threagile is

Threagile is a free, open-source toolkit for agile threat modeling. It represents architecture and assets in YAML and checks models against risk rules, then can produce reports of potential risks and recommended mitigation actions. Teams can record mitigation progress in the model so reports show the current state. The toolkit also creates data-flow diagrams and supports exports including Excel and JSON. It can run from the command line, in a Docker container, or as a REST server. Developers can edit models in their IDEs and track changes with Git. Custom risk rules can be written as YAML scripts without compiling Go code. A web playground analyzes YAML models and links to schema and API resources, and a GitHub Action can run Threagile against a repository model file. The project describes its intended use in agile development and DevSecOps workflows. It is available for API, Linux, self-hosted, and web use, and is licensed under the MIT License at no cost. The repository says UI work is ongoing and current attempts are not ready. For support, users can open a GitHub discussion or issue, where contributors may respond.

Who it suits

Threagile suits developers and DevSecOps teams modeling architecture and assets as part of agile projects. It may fit teams comfortable editing YAML and using command-line, Docker, or REST workflows.

Good to know, and what to watch

  • Generates risk reports with recommended mitigation actions.
  • Creates data-flow diagrams and exports Excel and JSON.
  • Custom risk rules use YAML scripts.
  • Models can be edited in IDEs and tracked with Git.
  • Includes a GitHub Action for repository models.
  • The repository says current UI attempts are not ready.
  • Support responses to GitHub discussions or issues are not guaranteed.

Threagile

Free

Open source

Getting started

  1. Open the Threagile website
  2. Create an architecture and asset model in YAML
  3. Edit the model in an IDE or the web playground
  4. Run Threagile from the command line, Docker, or REST server
  5. Optionally add a GitHub Action for a repository model file

The verdict

Threagile provides YAML-based threat modeling with risk reporting, diagrams, and several ways to run or integrate it. Teams should be prepared to work with models directly, as the repository says current UI attempts are not ready.

Questions people ask

Is Threagile free?

Yes. The Threagile plan is free, and the toolkit is open source under the MIT License.

Which platforms does it support?

It supports API, Linux, self-hosted, and web use.

How can Threagile run?

You can run it from the command line, in a Docker container, or as a REST server.

Can teams customize risk rules?

Yes. Custom risk rules can be written as YAML scripts without compiling Go code.

Does it integrate with GitHub?

A GitHub Action runs Threagile against a model file in a repository.

Where can users get support?

Users can create a GitHub discussion or issue, where contributors may respond.

What the maker publishes

Custom rules
Custom risk rules can be written as YAML scripts without compiling Go code. source
Diagrams and exports
It automatically creates data-flow diagrams and supports output formats including Excel and JSON. source
Execution options
Threagile can run from the command line, in a Docker container, or as a REST server. source
Headquarters
Cologne, Germany source
Integration
The project provides a GitHub Action for running Threagile against a repository model file. source
Intended users
The maker describes Threagile as developer-friendly threat modeling for agile projects and DevSecOps workflows. source
License
The repository identifies the software as open source under the MIT License. source
Model editing
Models are editable in developer IDEs and diffable in Git, and the playground provides YAML model analysis and links to schema and API resources. source
Purpose
Threagile is an open-source toolkit for agile threat modeling that models architecture and assets in YAML and checks models against risk rules. source
Risk reports
It can generate reports with potential risks and recommended mitigation actions. source
Risk tracking
Risk tracking can be recorded in the YAML model so the current mitigation state is reported. source
Support
The repository invites users to create a GitHub discussion or issue, where contributors may respond. source
UI status
The repository says UI efforts are ongoing and current attempts are not ready. source

Checked against the maker's pages on 8 Oct 2026.