Installing SPARTA
SPARTA is available in several forms:
The SPARTA application: a ready-to-run Eclipse-based product for Windows, Linux and macOS. This is the easiest way to use SPARTA and the one that the rest of the user guide assumes.
The SPARTA plug-ins: Eclipse features that you install into an existing Eclipse IDE from an update site.
The command-line tools and Java libraries: for running the analysis outside of Eclipse, for example in a build pipeline, or for building your own tools on top of SPARTA.
This page describes how to get started with each of these.
Installing the SPARTA application
Supported platforms
The SPARTA application is built for the following platforms:
Operating system |
Architecture |
|---|---|
Windows |
x86_64 |
Linux (GTK) |
x86_64 |
macOS (Cocoa) |
x86_64 |
There is no native build for ARM (aarch64) processors, such as Apple silicon Macs.
The application includes its own Java 21 runtime, so you do not need to install Java separately.
Downloading and starting SPARTA
Download the archive for your platform from GitHub.
Extract the archive to a folder of your choice. SPARTA does not need an installer or administrator rights. On Windows, choose a folder with a short path, such as
C:\SPARTA: in a deeply nested folder, the paths of the files in the archive exceed the Windows limit of 260 characters, and SPARTA does not start (“JNI shared library … jvm.dll failed to load”). On Windows and Linux, the archive contains a folderSPARTA-2026.1.0. On macOS, it contains the applicationSPARTA.app.Start SPARTA:
Windows: run
SPARTA.exein theSPARTA-2026.1.0folder.Linux: run
SPARTAin theSPARTA-2026.1.0folder.macOS: open
SPARTA.app.
Starting SPARTA for the first time
When SPARTA starts, it asks for a workspace: the folder where SPARTA stores your projects and settings.
By default, it proposes the folder sparta-workspace in your home folder.
Because the workspace is separate from the folder where you extracted SPARTA, you can replace SPARTA with a newer version without losing your models.
SPARTA opens in the SPARTA perspective, with the Project Explorer on the left, the editor area in the middle, the ThreatAnalysis view on the right, and the Properties and Problems views at the bottom. SPARTA Interface explains these parts, and the Tutorials show how to create and analyze a first model.
Note
In SPARTA 2026.1, the about information of the SPARTA feature (, SPARTA icon) still says “Version 2025”.
To see the exact version, open and click Installation Details, or look at the name of the folder you extracted (SPARTA-2026.1.0).
SPARTA also checks for updates every time it starts; see Updating SPARTA.
Installing the SPARTA plug-ins into Eclipse
If you already use Eclipse, you can install the SPARTA functionality as plug-ins instead of using the SPARTA application.
Requirements
SPARTA 2026.1 is built against Eclipse 2025-06 and was last tested with the Eclipse IDE for RCP and RAP Developers 2025-06. Eclipse 2025-06 itself requires Java 21.
You do not need to install Sirius, VIATRA or the other dependencies of SPARTA yourself: the SPARTA update site also contains all the plug-ins that SPARTA depends on.
Installing the features
In Eclipse, select .
In Work with, enter the URL of the SPARTA update site,
https://downloads.sparta.distrinet-research.be/updates/2026/, and press Enter.The update site offers all SPARTA 2026 releases, and Eclipse shows only the newest one by default. To install 2026.1.0, clear Show only the latest versions of available software. Then, under the category Threat Modeling, select SPARTA Threat Modeling with version
2026.1.0.Click Next, review the items to install, accept the license (Eclipse Public License 2.0) and click Finish.
Restart Eclipse when you are asked to.
The update site of SPARTA 2026.1.0 is also available as a single file, sparta-updatesite-2026.1.0.zip, on the GitHub release page.
To install from that file, click Add… in step 2, then Archive…, and select the downloaded file.
You can also install from an update site that you build yourself.
Build SPARTA from source (see Building SPARTA from source), and in step 2, click Add…, then Local…, and select the folder releng/be.kuleuven.cs.distrinet.sparta.update/target/repository.
The update site offers the following features:
Feature |
Contents |
|---|---|
SPARTA Threat Modeling |
All of SPARTA: includes the three features below and the SPARTA perspective. Select this feature unless you have a specific reason not to. |
SPARTA Modeling Support |
The SPARTA meta-model and the tree editor for SPARTA models, without graphical modeling support. |
SPARTA Graphical Modeling Support |
The graphical DFD editor, based on Sirius. |
SPARTA Threat Analysis Support |
Threat elicitation, risk analysis, exports and the ThreatAnalysis and PatternSupport views. Requires the two modeling features. |
After the installation, open the SPARTA perspective with and select SPARTA. The default settings of the SPARTA application, such as the default perspective and the automatic update check, do not apply to an Eclipse IDE with the SPARTA plug-ins.
Updating SPARTA
At every startup, the SPARTA application checks in the background whether updates are available.
If there are updates, SPARTA notifies you, and it reminds you again after four hours if you do not install them.
To check manually, select .
The application checks the update sites https://downloads.sparta.distrinet-research.be/updatesite/2025 and https://downloads.sparta.distrinet-research.be/updatesite/2026, and the Eclipse 2025-06 release repository.
These two SPARTA addresses do not exist, so SPARTA 2026.1 does not find newer SPARTA releases by itself.
To receive them, add the update site https://downloads.sparta.distrinet-research.be/updates/2026/ in and check for updates again.
You can also download a newer version of the application from the GitHub releases, extract it, and open your existing workspace in it.
If you installed the SPARTA plug-ins into Eclipse, use in Eclipse.
Example models and threat type catalogs
Example models and threat type catalogs are not included in SPARTA; they are available on GitHub:
https://github.com/SPARTA-Threat-Modeling/example-cases contains the example cases
contoso,socialnetworkandwebrtc. Each folder is a complete Eclipse project. To use an example, download it and add it to your workspace with .https://github.com/SPARTA-Threat-Modeling/catalogs contains threat type catalogs for STRIDE and LINDDUN as
.spartafiles. To use a catalog, add the file to your project, for example with , and link it to your DFD model. The tutorial section Loading threat type catalog explains how. In SPARTA 2026.1, the STRIDE-per-element catalog works in the ThreatAnalysis view, but the exports of its threats are incomplete (see Analysis results and exports).
Command-line tools
SPARTA also provides two command-line tools that run the threat analysis on a .sparta model without Eclipse:
sparta-cli analyzes a model and exports the results, and sparta-ci runs the analysis in a continuous integration pipeline: it reads its configuration from a .sparta.yml file in the working directory and submits the results to a server that is not part of SPARTA.
Each tool is a single runnable jar (for example sparta-cli-2026.1.0-shaded.jar) that you start with java -jar.
The jars do not include a Java runtime; they require Java 11 or later, and Java 21 is recommended.
Download the jars from the GitHub release page, and put them in a folder without spaces in its path: in SPARTA 2026.1, the tools fail when the path of the jar contains a space.
Command-line tools describes the tools and their options.
Java libraries
To use SPARTA from your own Java programs, for example to load models, run the threat elicitation or export the results, use the standalone libraries sparta-model, sparta-core, sparta-io and sparta-analysis.
They are Maven artifacts with group id be.kuleuven.cs.distrinet.sparta and version 2026.1.0.
The SPARTA build is configured to deploy them to the SPARTA Maven repository https://maven.sparta.distrinet-research.be, but version 2026.1.0 is not available there.
For SPARTA 2026.1, build SPARTA from source and install the artifacts into your local Maven repository (see Installing the libraries in your local Maven repository).
See Standalone Prerequisites for the project setup and SPARTA Standalone libraries for the libraries.
Source code, license and issues
SPARTA is open source. The source code is available on GitHub at https://github.com/SPARTA-Threat-Modeling/SPARTA, together with the example cases and the threat type catalogs in the SPARTA-Threat-Modeling organization. To build SPARTA yourself, see Building SPARTA from source.
SPARTA is developed by DistriNet (KU Leuven) and is licensed under the Eclipse Public License 2.0 (EPL-2.0). The threat type catalogs in the catalogs repository are licensed under the MIT License.
Report bugs and feature requests in the GitHub issue tracker: https://github.com/SPARTA-Threat-Modeling/SPARTA/issues.