Freedom251 › Threat Modeling Software
Threagile

What Threagile is
Threagile is a free, open-source toolkit for agile threat modeling. It represents architecture and assets in YAML, then checks models against risk rules and produces reports about potential risks and recommended mitigation actions. Mitigation progress can be kept in the YAML model so reports reflect the recorded state. The toolkit also creates data-flow diagrams and supports exports including Excel and JSON. Teams can run it from the command line, in Docker, 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 the tool against a repository model file. The project describes its audience as developers working in agile projects and DevSecOps workflows. It is licensed under MIT and supports API, Linux, self-hosted, and web use. The repository says UI work is ongoing and current attempts are not ready. Support is available through GitHub discussions or issues, where contributors may respond.
Who it suits
Threagile suits developers and DevSecOps teams that want to model architecture and review risks in YAML-based workflows. It is intended for agile projects and can fit teams tracking models in Git.
What it does well
- Free and open source under the MIT License
- Generates risk reports and data-flow diagrams
- Custom risk rules use YAML scripts
- GitHub Action can analyze a repository model
- Runs through CLI, Docker, or REST server
What to know first
- Current UI attempts are not ready
- Support responses through GitHub discussions or issues are not guaranteed
Plans
| Plan | Billed and limits | Price |
|---|---|---|
| Threagile | Open-source toolkit · MIT License | Free |
As threagile.io lists them, read 8 Oct 2026. The maker's own page has the final word.
Getting started
- Visit https://threagile.io/.
- Choose command-line, Docker, or REST server execution.
- Create or edit an architecture and asset model in YAML.
- Run the model against Threagile's risk rules.
- Optionally use the GitHub Action to run it against a repository model file.
Threagile is an open-source threat-modeling toolkit for engineering teams that want architecture and security checks to live with code. It suits DevSecOps groups comfortable maintaining YAML in Git and automating analysis in repositories. Its main advantage is repeatable, version-controlled risk work; teams wanting a finished visual editor should choose another tool.
Overview
Threagile represents architecture and assets in YAML, then evaluates that model against risk rules. This code-oriented method makes threat analysis reviewable alongside architecture changes and gives teams a durable record instead of a one-off diagram. The project says its current UI efforts are still not ready, so YAML remains the primary working surface. A playground can analyze a model and provide links to schema and API resources, but it is not a substitute for a polished visual modeling application.
The software is open source under the MIT License and is maintained as a developer-friendly toolkit for agile projects and DevSecOps workflows. Support is community-based: users can open a GitHub discussion or issue for contributor responses.
Key features
Risk analysis and remediation
Threagile produces reports of potential risks together with recommended mitigation actions. It also generates data-flow diagrams automatically and exports results in formats including Excel and JSON. That combination is practical for teams that need both machine-readable output for automation and shareable artifacts for reviews.
Mitigation status can be recorded directly in the YAML model, allowing reports to show the current state of remediation. This turns threat modeling into an ongoing engineering record rather than an assessment that goes stale after its first workshop.
Developer workflow and extensibility
Models are editable in developer IDEs and diffable in Git, so changes can be reviewed with familiar source-control practices. The toolkit runs from the command line, in Docker, or as a REST server. Its GitHub Action can run Threagile against a model file in a repository, making it suitable for repeatable checks in a delivery workflow.
Risk rules can be customized as YAML scripts without compiling Go code. That lowers the barrier for teams whose architecture or policy needs do not fit a fixed ruleset, while still keeping those rules reviewable as text. Templates and frameworks are supported, and the modeling method is custom rather than tied to a single prescribed notation.
Pricing
| Plan | Price | Includes |
|---|---|---|
| Threagile | free | Open-source toolkit; MIT License |
There is no paid tier, seat charge, usage quota, or trial period attached to the published plan. The free distribution suits teams able to run and maintain an open-source tool themselves. It gives up the expectations that come with a commercial service, such as a ready UI and vendor-backed support; the project instead directs users to GitHub discussions and issues.
Platforms
Threagile supports API, Linux, self-hosted, and web deployments. Command-line, Docker, and REST-server execution provide deployment flexibility, while the GitHub Action covers repository automation. Its self-hosted and developer-tool orientation is a better match for teams controlling their own environment than for buyers seeking a hosted, turnkey workspace.
Who it's for
Choose Threagile if developers, architects, and security engineers can maintain YAML models, review diffs in Git, and incorporate risk checks into CI or other automation. It is particularly well suited to agile and DevSecOps teams that need custom rules, explicit mitigation tracking, and exports for downstream reporting.
It is a poor fit for stakeholders who expect to create and maintain models primarily through a finished drag-and-drop interface. The stated UI status means teams must accept the text-first workflow rather than treating it as an optional technical mode.
Pros and cons
Pros
- Version-controlled modeling: YAML files can be edited in IDEs and diffed in Git, making architectural security changes reviewable.
- Actionable reporting: risk findings include recommended mitigations, with diagrams and Excel or JSON exports for communication and automation.
- Persistent remediation state: mitigation status in the model keeps reports aligned with current work.
- Automation options: CLI, Docker, REST, and a GitHub Action support local, service-based, and repository workflows.
- Rule customization: YAML scripts let teams add risk logic without compiling Go code.
Cons
- UI is not ready: teams seeking visual-first authoring must work around the YAML-centered process.
- Self-managed operation: deployment and support are oriented around running the open-source project and using GitHub discussions or issues.
Alternatives
CAIRIS is another free option with API, web, desktop, and self-hosted platform coverage, including Windows and macOS. OWASP Threat Dragon is free and open source with Linux, macOS, Windows, web, and self-hosted support and no stated paid plans or usage limits. pytm is a free choice for teams wanting a cross-platform desktop threat-modeling option backed by an OWASP open-source project. ThreatForge is free, open source under Apache 2.0, requires no account, and runs on Linux, macOS, Windows, and the web.
IriusRisk suits readers who want a freemium product with a Community Edition limited to three active threat models and one user with limited collaboration, plus templates and XML diagram export. ThreatModeler Nexus offers a free Community Edition for practitioners and teams evaluating threat modeling before scaling to paid licensing. ThreatOpus is the better choice when a hosted freemium service, 15 users, 10 workspaces, repository connections, and monthly generation quotas justify its £129.99/month Starter plan. ThreatTree fits users who prefer explicit tree and diagram caps on a free plan or unlimited forests on its $29.00-per-user monthly Pro plan.
Browse more options in Threat Modeling Software.
Verdict
Threagile is a strong choice for developer-led security programs that want custom, Git-friendly threat models, automated risk reports, and mitigation tracking without a license fee. Choose it for repeatability and integration flexibility. Look elsewhere if your priority is a mature graphical interface or a commercially managed support experience.
Verdict
Threagile offers a code-oriented approach to threat modeling, with YAML models, configurable risk rules, and workflow integrations. Teams looking for a ready current UI should note the repository's stated UI status.
Questions
Is Threagile free?
Yes. The Threagile plan is free, and the software is open source under the MIT License.
How can I run Threagile?
It can run from the command line, in a Docker container, or as a REST server.
Does it have a ready-to-use UI?
The project says UI work is ongoing and current attempts are not ready.
What can Threagile export?
It generates data-flow diagrams and supports output formats including Excel and JSON.
Can I create custom risk rules?
Yes. Custom risk rules can be written as YAML scripts without compiling Go code.
Where can I seek support?
Users can create a GitHub discussion or issue, where contributors may respond.
Facts from Threagile's own pages
- Custom rules
- Custom risk rules can be written as YAML scripts without compiling Go code. · github.com, 8 Oct 2026
- Diagrams and exports
- It automatically creates data-flow diagrams and supports output formats including Excel and JSON. · threagile.io, 8 Oct 2026
- Execution options
- Threagile can run from the command line, in a Docker container, or as a REST server. · threagile.io, 8 Oct 2026
- Headquarters
- Cologne, Germany · threagile.io, 28 Sept 2026
- Integration
- The project provides a GitHub Action for running Threagile against a repository model file. · github.com, 8 Oct 2026
- Intended users
- The maker describes Threagile as developer-friendly threat modeling for agile projects and DevSecOps workflows. · threagile.io, 8 Oct 2026
- License
- The repository identifies the software as open source under the MIT License. · github.com, 8 Oct 2026
- 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. · threagile.io, 8 Oct 2026
- Purpose
- Threagile is an open-source toolkit for agile threat modeling that models architecture and assets in YAML and checks models against risk rules. · github.com, 8 Oct 2026
- Risk reports
- It can generate reports with potential risks and recommended mitigation actions. · threagile.io, 8 Oct 2026
- Risk tracking
- Risk tracking can be recorded in the YAML model so the current mitigation state is reported. · threagile.io, 8 Oct 2026
- Support
- The repository invites users to create a GitHub discussion or issue, where contributors may respond. · github.com, 8 Oct 2026
- UI status
- The repository says UI efforts are ongoing and current attempts are not ready. · github.com, 8 Oct 2026
Where Threagile stands on Freedom251
- Threat Modeling Software#6 of 23