Release notes

This page lists the changes in each SPARTA release, newest first. Each section describes what is new, changed, fixed and removed compared to the previous release, what you need to do when you upgrade, and the known limitations of that release.

To obtain a release, see Installing SPARTA.

SPARTA 2026.1.0

Released 2026-04-20.

The changes below are relative to SPARTA 2026.0.0. Apart from role bindings, SPARTA 2026.1.0 works the same as SPARTA 2026.0.0.

Changed

  • A role binding can bind its role to several elements. A role binding of a solution now links its role to any number of DFD elements, instead of at most one. For example, when several data flows are sent over the same secure channel, link all of them to the role binding of the secured flow, instead of applying the solution once for each flow. The countermeasures of the role apply to every element linked to the role binding. In the diagram, Assign Role adds an element to a role binding that is already bound, instead of replacing the bound element. See Concepts used in SPARTA and SPARTA Interface.

  • In the tree editor, the label of a role binding is “Binds ‘<role>’ role to ‘<element>’”, or “Binds ‘<role>’ role to multiple assets” when it binds several elements, and “Binds ‘<role>’ role to ?” when it binds none. Before, it was “Binds ‘<role>’ role to ‘<element>’ element”.

Upgrading from 2026.0

For users:

  • Models and catalogs of SPARTA 2026.0.0 can be used as they are: the meta-model keeps its namespace, and each existing role binding keeps its element.

  • Do not open a model in which a role binding binds several elements with SPARTA 2026.0.0.

  • Models in which you applied a solution several times to cover several elements of a role keep working. If you merge these solution instances into one, whose role binding links all the elements, the risk values can change: a countermeasure counts once for each role binding of the threatened element (see Which countermeasures apply).

For plug-in and library developers:

  • In the meta-model, the reference bindsTo of RoleBinding changed from [0..1] to [0..*]. As a result, RoleBinding.getBindsTo() returns an EList<Asset> instead of an Asset, and RoleBinding.setBindsTo(Asset) was removed. Replace rb.setBindsTo(a) with rb.getBindsTo().add(a), and a check such as rb.getBindsTo() != null with !rb.getBindsTo().isEmpty(), and recompile your code against the 2026.1.0 plug-ins or libraries (see Development scenarios). AQL expressions in your own Sirius specifications must treat self.bindsTo as a collection, for example self.bindsTo->isEmpty().

  • Threat type patterns that navigate RoleBinding.bindsTo keep working; they match once for each bound element.

Known limitations

  • All known limitations of SPARTA 2026.0.0 still apply (see Known limitations).

  • A role binding that is not bound to any element is no longer shown in light orange with the tooltip “unassigned role: <name>”, so it looks the same as a bound one. To find such role bindings, look for role squares without a gray line, or for labels that end in “role to ?” in the tree editor (see SPARTA Interface).

  • The SPARTA Maven repository does not host the 2026.1.0 artifacts: to use the standalone libraries, build SPARTA from source and install them in your local Maven repository (see Installing the libraries in your local Maven repository).

SPARTA 2026.0.0

Released 2026-03-03.

SPARTA 2026.0.0 is the first release of SPARTA as open source. The changes below are relative to SPARTA 2022.0.0.

Highlights

  • SPARTA is open source under the Eclipse Public License 2.0 and developed on GitHub, together with its example models and threat type catalogs.

  • SPARTA can now elicit threats based on custom VQL queries, defined as threat patterns in threat type catalogs, instead of only with its built-in queries.

  • Every model element can carry free-form annotations, which threat patterns can use to elicit threats, for example only for elements with a given annotation.

  • Countermeasures and loss estimates can refer to threat types and threat type groups by ID (such as stride.tampering), in addition to a direct reference. This way you can switch to another threat type catalog, or a new version of it, without having to update the countermeasures and loss estimates, as long as the threat types use the same IDs.

  • The ThreatAnalysis view can export the analysis results as a LaTeX report.

  • SPARTA is built on Eclipse 2025-06, and the SPARTA application includes a Java 21 runtime.

Added

  • Open source. The source code is available under the Eclipse Public License 2.0 in the SPARTA-Threat-Modeling organization on GitHub, which also hosts the example models and the STRIDE and LINDDUN threat type catalogs (see Installing SPARTA).

  • Threat type patterns. A threat type in a threat type catalog can now specify custom threat patterns: queries in the VIATRA query language (VQL) that capture when a threat of that type should be elicited. SPARTA parses these patterns when it analyzes a model and uses them for threat elicitation, so new or changed patterns take effect without rebuilding SPARTA. Threat names and descriptions can now contain placeholders for the parameters of the pattern (e.g., Spoofing of <$element$>), which SPARTA fills in automatically based on the actual names of the model elements that match the pattern. See Writing threat type patterns.

  • Threat type patterns outside Eclipse. Engine.runAnalysis(ResourceSet) (in be.kuleuven.cs.distrinet.sparta.core) elicits the threats of the threat type catalogs in the resource set, together with the threats of the key-based threat types, and calculates their risk. sparta-cli uses it, so its results include the threats of the catalogs that the model references. These threats are instances of the new class be.kuleuven.cs.distrinet.sparta.core.model.PatternThreat. See SPARTA Standalone libraries and Command-line tools.

  • PatternSupport view. SPARTA now includes a new PatternSupport view that lists threat patterns that SPARTA could not parse, so you can see why a threat type produces no threats. See SPARTA Interface.

  • More threat details in the ThreatAnalysis view. The threat table has the new columns Name (the name of the threat, with the placeholders filled in) and Description, and the column Type shows the top-level threat type of a threat. Threats of patterns that are not about a data flow, such as threats per element, have an empty Flow. See Analysis results and exports.

  • Clear engine. The new Clear Engine button in the ThreatAnalysis view removes the current analysis. See Analysis results and exports.

  • Report export. The new Report Export button in the ThreatAnalysis view writes a LaTeX report to the folder report of the project that contains the analyzed model. The report uses the Tufte book layout and contains a section per top-level threat type, with an entry and a small TikZ diagram of the affected data flow for every threat. When you export again, SPARTA keeps your edited report.tex and introduction.tex. See Analysis results and exports.

  • IDs of threat types. Every model element, including threat types and threat type groups, has an Id. Countermeasures and loss estimates can refer to threat types by this ID, in addition to the direct references of SPARTA 2022.0.0: a countermeasure with Mitigated Threat Type ID (next to Mitigates), and a DFD element or data type with Loss Magnitude By ID (next to Loss Magnitude). An ID can also name a threat type group, and then applies to all threat types in it; Loss Magnitude only accepts threat types. See Concepts used in SPARTA.

  • Estimates of data types in the risk calculation. When a threatened element has no estimates at all (its Estimates list is empty), SPARTA now uses the estimates of the data types linked directly to the element, and adds them up when several data types have one. Before, SPARTA used a default estimate (uniform between 0 and 1) in that case. An element with at least one estimate never uses the estimates of its data types, because its first estimate applies to every threat type without a specific entry. See How SPARTA computes risk.

  • Free-form annotations. Besides the existing annotations of DFD elements, every model element can now carry free-form annotations (Model Element Annotation with a value, or KV Model Element Annotation with a key and a value), for example for your own extensions. SPARTA itself does not interpret them and the risk calculation does not use them, but threat patterns can match on them, for example to elicit a threat only for elements with a given annotation. See Concepts used in SPARTA and Writing threat type patterns.

  • Potential risk in the exports. The threat exports have the new column Risk (potential).

  • Diagram layer for trust boundary crossings. The new layer Mark Flows Crossing TrustBoundary, active by default, shows data flows that cross a trust boundary in dark red, with (!) after their name. See SPARTA Interface.

  • Unassigned roles. In the diagram, a role binding of a solution that is not bound to a model element is shown in light orange, with the tooltip “unassigned role: <name>”.

Changed

  • Threat categories are renamed to threat type groups: the class ThreatCategory is now ThreatTypeGroup, and the property Threatcategory of a threat type catalog is now Threattypegroup. Catalogs of SPARTA 2022.0.0 that contain threat categories must be converted (see Upgrading from 2022).

  • A countermeasure that mitigates a threat type group or a composite threat type now mitigates all threat types in it. Before, it only mitigated the threat types that it referred to directly.

  • The column Threatened of the ThreatAnalysis view is renamed to Location.

  • The threat exports (CSV Export and the CSV and text exports of sparta-cli, -oc and -ot) have different columns: Threat Type is replaced by Type (the name of the threat type) and Name (the name of the threat with the placeholders filled in, as in the ThreatAnalysis view), Threatened is renamed to Location, MatchType is removed, and Risk (potential) is added.

  • When you set the Subject of a countermeasure, the editor only lists the roles of its own solution type; for the Scope, it only lists the roles of that solution type that can be bound to a data flow. Before, both lists showed every role in the loaded files.

  • The data flows that cross a trust boundary are only marked when the layer Mark Flows Crossing TrustBoundary is active. Before, they were always shown in dark red with “(crossing boundary)” after their name.

  • The built-in queries of SPARTA name the parameter for the threatened element location instead of threatened, as threat type patterns do (see Writing threat type patterns).

  • SPARTA is built on Eclipse 2025-06 (before: 2020-12). The SPARTA application includes a Java 21 runtime.

  • The window title of the SPARTA application shows the full name, Security and Privacy Analysis through Risk-driven Threat Assessment, instead of “SPARTA”.

  • sparta-cli uses Guice 7.0.0 (before: 4.2.3), with jakarta.inject instead of javax.inject.

Fixed

  • Key-based threat types for interactions that cross a trust boundary in the opposite direction of the data flow (the interaction types that end in *, such as ExternalEntityThroughProcess*) are elicited again.

  • The CSV export of sparta-cli writes a header that matches its columns.

  • CSV Export no longer fails with a NullPointerException when a value of a threat is missing; the field is written as an empty value.

Removed

  • Analyzing a model no longer writes the file threats.csv to the project; use CSV Export instead.

  • The example models are no longer part of the SPARTA source code. They are available in the example-cases repository, and the threat type catalogs in the catalogs repository.

Upgrading from 2022

For users:

  • Models of SPARTA 2022.0.0 can be opened as they are: the meta-model keeps its namespace and only gained new classes and properties. The exception is a threat type catalog that contains threat categories: SPARTA cannot open it (Class 'ThreatCategory' is not found). Open the file in a text editor and replace ThreatCategory by ThreatTypeGroup (in xsi:type), and, if the file contains them, the element names threatcategory by threattypegroup.

  • Install the new SPARTA application next to the old one and open your existing workspace in it (see Installing SPARTA).

  • Risk results can differ from SPARTA 2022.0.0:

    • for elements that have no estimates of their own but are linked to data types with estimates, because those estimates are now taken into account;

    • for threats whose threat type is in a group or composite threat type that a countermeasure mitigates, because the countermeasure now applies to them.

  • Scripts that read the threat exports must use the new column names, and must call CSV Export instead of reading the threats.csv that an analysis used to write.

  • Get the example models from the example-cases repository; they are no longer in the SPARTA source code.

For plug-in and library developers:

  • Use Eclipse 2025-06 as target platform (before: 2020-12) and Java 21 to run it (see Eclipse Prerequisites). The SPARTA bundles and standalone libraries are still compiled for Java 11.

  • ThreatCategory is replaced by ThreatTypeGroup in the meta-model API, and ThreatTypeCatalog.getThreatcategory() by getThreattypegroup().

  • Engine.runAnalysis() without arguments is replaced by Engine.runAnalysis(ResourceSet rs). The new method also elicits the threats of the threat type catalogs in rs and calculates the risk of all threats (see Development scenarios).

  • The parameter threatened of the built-in queries in DFDQueries.vql (plug-in be.kuleuven.cs.distrinet.sparta.queries) is renamed to location. Update code that uses these queries or their generated match classes. In your own threat type patterns, name the parameter location; threatened still works.

  • Code that extends sparta-cli with Guice can no longer use the javax.inject annotations, because sparta-cli now uses Guice 7: use the jakarta.inject or the com.google.inject annotations.

  • The interface IThreat (be.kuleuven.cs.distrinet.sparta.core.model) has the new methods getThreatName() and getDescription(). Classes that implement IThreat directly must implement them (Threat and PatternThreat already do).

  • The plug-in be.kuleuven.cs.distrinet.sparta.io now requires the Sirius plug-ins org.eclipse.sirius.diagram, org.eclipse.sirius.diagram.ui and org.eclipse.sirius.common.ui.

Known limitations

  • The risk values of a threat are calculated once, when the threat appears. After you change estimates, solutions, role bindings or attacker profiles, click Load and Analyze Model again to recalculate them (see Analysis results and exports).

  • Threats of patterns without a data flow parameter, such as those of the STRIDE-per-element catalog, appear in the ThreatAnalysis view. However, Engine.runAnalysis(ResourceSet), and therefore sparta-cli and sparta-ci, fail on them with a NullPointerException. CSV Export stops writing threats.csv at the first such threat, and Report Export silently produces an incomplete threatcatalog.tex (see Writing threat type patterns).

  • Threat specifications and the property Enabled of threat types and threat type groups have no effect on threat type patterns; they only affect the legacy key-based threat types (see Writing threat type patterns).

  • The property Enabled of attacker profiles has no effect: the analysis uses all attacker profiles (see Concepts used in SPARTA).

  • The Scope of a countermeasure does not check that the threat’s data flow is bound to the scope role in the same solution instance: a binding in another instance of the same solution type also counts (see Which countermeasures apply).

  • The risk calculation of a threat without a data flow fails when a countermeasure with a non-empty Scope protects its threatened element against its threat type; the ThreatAnalysis view then shows a risk of 0 (see Which countermeasures apply).

  • A threat type catalog with Pattern Dependencies makes the pattern parsing fail, for example with a StackOverflowError; leave this property empty (see Writing threat type patterns).

  • A placeholder for a parameter that the pattern does not have empties the whole text that contains it, whether a name or a description (a threat without any description shows “Description missing.”), a placeholder for a parameter that is not bound to a model element causes a ClassCastException, and a model element name that contains $ or \ causes an error when it fills a placeholder (see Writing threat type patterns).

  • Errors in the Helper Patterns of a catalog are not shown in the PatternSupport view (see Writing threat type patterns).

  • CSV Export and Report Export fail when you click them before analyzing a model or after Clear Engine, and Clear Engine does not reset the summary above the threat table (see Analysis results and exports).

  • Load and Analyze Model and Clear Engine log one harmless error “An error occurred while setting the value.” in the Error Log for each threat of the previous analysis (see Analysis results and exports).

  • Special LaTeX characters (such as _, &, % or #) in threat type group names and element names are not escaped in the LaTeX report, so the report does not compile until you fix threatcatalog.tex by hand (see Analysis results and exports).

  • The XLSX export of sparta-cli (-ox) and the class ThreatXlsxOutputStream of the sparta-io library fail with a NoClassDefFoundError because of conflicting Apache POI versions (see Known limitation: XLSX export).

  • An estimate whose minimum equals its maximum, such as a new estimate with all values 0, produces samples that are not a number (NaN) without any error, so the risk values that depend on it are wrong or cannot be calculated. Always give an estimate a minimum below its maximum (see Estimates). A countermeasure without a difficulty gets such a default difficulty: if it is the only applicable countermeasure, no attack succeeds (see Defaults when information is missing).

  • The SPARTA application checks two update sites that do not exist, so it does not find newer SPARTA releases by itself; add the update site manually (see Installing SPARTA).

  • sparta-cli and sparta-ci only accept a model path relative to the working directory (see Command-line tools).

  • The code-quality report of sparta-cli (-cqr) gives the threats with the highest risk the severity blocking, which GitLab shows as “Unknown” instead of “Blocker” (see Command-line tools for a workaround).

  • sparta-cli and sparta-ci fail with a ProvisionException when the path of the jar contains a space; put the jar in a folder without spaces in its path (see Command-line tools).

  • sparta-ci cannot read models in the .txt format, and it exits with status 0 even when the configuration file is missing or the submission to the server fails (see Command-line tools).

  • YmlToEmfConverter (package be.kuleuven.cs.distrinet.sparta.io.convert), which is meant to create a model from a YAML description of a DFD, fails with a NullPointerException (see Exporters).

  • Building SPARTA from the sources fails in sparta.queries unless viatra-maven-plugin 2.9.1 is already in your local Maven repository, because its plug-in repository https://repo.eclipse.org/content/groups/viatra/ no longer exists. Change the URL in bundles/be.kuleuven.cs.distrinet.sparta.queries/pom.xml to https://repo.eclipse.org/content/groups/viatra2/ before you build (see Building SPARTA from source).

  • The SPARTA Maven repository does not host the 2026.0.0 artifacts: to use the standalone libraries, build SPARTA from source and install them in your local Maven repository (see Installing the libraries in your local Maven repository).

  • From the sources, you can only generate the Javadoc of sparta-cli and sparta-ci; use the online Javadoc for the other packages (see Known limitations in 2026.1).

  • There are no builds for ARM (aarch64) platforms (see Known limitations in 2026.1).