SPARTA Documentation Overview
SPARTA (Security and Privacy Analysis through Risk-driven Threat Assessment) is a threat modeling tool that enables the creation of extended data flow diagrams (DFDs) with security and privacy solutions (countermeasures), so that the DFD model includes security and privacy information. This information is then leveraged to automatically elicit security and privacy threats from catalogs of threat types and to estimate the risk of each threat.
Compared to other threat modeling tools, in which mitigated threats disappear from the list, SPARTA always elicits all the threats but takes the countermeasures into account when it estimates their risk.
SPARTA consists of the following parts:
The SPARTA application: a standalone threat modeling tool, based on Eclipse, that you run locally.
The SPARTA plug-ins: Eclipse plug-ins that integrate the SPARTA functionality into other Eclipse-based tools.
The standalone libraries and command-line tools: Java libraries and runnable jars that run the analysis directly on
.spartamodels, without Eclipse.
Installing SPARTA explains how to obtain each of them.
Open source
SPARTA is developed by DistriNet (KU Leuven) and is open source, licensed under the Eclipse Public License 2.0 (EPL-2.0). The source code, the example models and the threat type catalogs are available on GitHub.
Organization of the documentation
The SPARTA documentation is grouped into three parts.
- User guide
This part of the documentation explains how to install and use the SPARTA application. Installing SPARTA describes how to obtain SPARTA. Concepts used in SPARTA explains the main concepts used in SPARTA, in order to understand how the system and its security or privacy solutions are modeled, and how SPARTA computes risk.
Afterward, SPARTA Interface describes the user interface of the SPARTA application, and Analysis results and exports describes the analysis results and how to export them. The Tutorials explain the main workflow to create a model and analyze it in SPARTA, and how to create solution catalogs, attacker profiles and threat types. Writing threat type patterns is the reference for writing the patterns of your own threat type catalogs. Start with the introduction to the user guide.
- Developer guide
This part of the documentation provides more detailed information on the structure of the different plug-ins and libraries of which SPARTA is comprised, and explains how they can be leveraged when developing extensions on top of SPARTA or when running the analysis outside of Eclipse. It covers building SPARTA from source, the meta-model, the Eclipse plug-ins, the standalone libraries, the command-line tools, and programming scenarios and examples. Start with the introduction to the developer guide.
While it is not necessary to use the provided graphical user interfaces, developers may still want to refer to Concepts used in SPARTA to understand the main modeling concepts.
- Release notes
The release notes list what is new, changed and fixed in each release, what you need to do when you upgrade, and the known limitations.
Versions
This documentation describes SPARTA 2026.1. Documentation for other releases is available through the version selector (Other Versions) at the bottom of the navigation menu.