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.3.0

Released 2026-10-12.

The changes below are relative to SPARTA 2026.2.0. SPARTA 2026.3.0 makes the SPARTA application easier to start with and to work in, recalculates risk while you edit the model, and fixes most known limitations of 2026.2.0. It has breaking changes for the command-line tools, the Java API and the build. The meta-model did not change.

Added

  • Welcome screen, example projects and guided tutorial. The SPARTA application shows a welcome screen the first time it opens a workspace, and Help ‣ Welcome opens it again. File ‣ New ‣ Example… ‣ SPARTA installs the example projects Contoso, Social Network and WebRTC, or a starter project for the guided tutorial, a cheat sheet that walks you through your first model (see Welcome Screen).

  • SPARTA menu and toolbar. The main menu SPARTA and a group in the main toolbar contain Load and Analyze Model (Ctrl+Alt+A, on macOS Cmd+Alt+A), Clear Analysis Engine and the exports; they also work while the ThreatAnalysis view is closed (see SPARTA Interface).

  • XLSX export in the workbench. Export Threats to XLSX writes threats.xlsx next to threats.csv.

  • Live risk recalculation. After Load and Analyze Model, SPARTA recalculates the risk of the threats that an edit of the model affects, for example when you bind a role or change an estimate, without analyzing the model again (see Analysis results and exports).

  • VQL pattern editor. Edit VQL Pattern… on a threat pattern edits its VQL with syntax highlighting (see Editing the VQL text).

  • Diagram. The new layer Loss Estimates marks elements that have an estimate or a loss magnitude, elements and solutions have tooltips, the countermeasures of a solution are shown on its border, and role bindings can be renamed.

  • Table editors. The representations Attacker Profiles and Threat Type Catalog show and edit the attacker profiles of an attacker model and the threat types of a catalog in a table.

  • Data flow diagram in the LaTeX report, drawn with the layout of the model’s .aird file. sparta-cli exports the report too, with the options --outreport and --aird (see Command-line tools).

  • More export columns. The CSV and XLSX exports have eight extra columns about trust boundaries and the solutions that mitigate the threat (see Analysis results and exports).

  • Multi-line properties. Descriptions, the patterns of threat patterns and other long properties can contain line breaks.

  • Java API. StandaloneRuntime in sparta-cli sets up EMF and VIATRA outside Eclipse and runs the analysis (see Using sparta-cli as a library); Threat.isRiskCalculated(), Threat.getMitigations(), Mitigation, DfdStructure, ThreatExportColumns, ThreatMetadata and ReportWriter.setAird(File) are new (see SPARTA Java API).

  • For contributors. The build checks the license headers and writes JaCoCo coverage reports, and the repository has CONTRIBUTING.md, SECURITY.md and CHANGELOG.md (see Contributing).

Changed

  • sparta-cli command line (breaking). The command line is parsed with picocli; the names of the options did not change. Usage and input errors end the run with exit status 2, for example an unknown option, an option given twice, a run without -i, a model file that does not exist, or an incomplete set of --server, --token and --commitid. --version prints SPARTA CLI 2026.3.0 to the standard output, and -v enables debug logging. See Command-line tools.

  • Code-quality report removed (breaking). The option --codequalityreport of sparta-cli, CQThreatJSONWriter and the package sparta.io.json were removed.

  • sparta-ci (breaking). .sparta.yml must contain input.model, server.url and server.token, and sparta-ci exits with status 1 when .sparta.yml is missing, 2 when it is invalid, 3 when the analysis fails and 4 when the submission fails.

  • Java API (breaking). IRiskModel has the new methods isCalculated() and getMitigations(), and the risk getters of a threat whose risk was not calculated throw an IllegalStateException instead of a NullPointerException. The static methods setupEMFStandalone(), setupVIATRAStandalone(), loadModel and runThreatAnalysis moved from SpartaCliProcessor to StandaloneRuntime, and exporters of sparta-cli implement boolean export(Collection<Threat>). YmlToEmfConverter.convert(...) replaces the constructor and saveToModel, StaticTemplate replaces the report templates ReportTemplate, IntroductionTemplate, DescriptionTemplate and ThreatCatalog, and the protected method Threat.getElementName(String) was removed. See Upgrading from 2026.2.

  • Build (breaking). Building SPARTA requires Maven 3.9.9 or later, because of Tycho 5.0.4, and Maven must run on a JDK 21. The build fails when a Java source file lacks the license header, and the sign profiles were removed. The Eclipse metadata of the standalone projects is no longer in the repository; m2e creates it (see Building SPARTA from source).

  • Load and Analyze Model runs as a background job that you can cancel, and needs a SPARTA diagram or tree editor as the active editor.

  • The exports are only enabled while analysis results exist, confirm where they wrote their files, and refresh the workspace.

  • The SPARTA perspective shows the PatternSupport view as a tab next to the ThreatAnalysis view.

  • The CSV export and the text files of --outtxt write numbers without grouping separator, for example 12345.6789, and the CSV export puts a ' before values that start with =, +, -, @, a tab or a carriage return. The XLSX export leaves a cell empty for a missing value instead of writing null, and the LaTeX report writes risks with at most four decimals.

  • A countermeasure with a non-empty Scope does not apply to a threat without a data flow (see Which countermeasures apply).

  • An estimate with a negative confidence is rejected, and the error for an invalid estimate names its values (see Estimates).

  • Deleting the gray line between a role binding and an element unbinds that element, and deleting a bound role binding unassigns it instead of removing it.

  • The SPARTA application starts with -Xms512m -Xmx2048m, and its About dialog shows “Version 2026”.

  • The standalone libraries use Apache POI 5.5.1, SnakeYAML 2.7, Log4j 2.26.1 and SLF4J 2.0.20, and sparta-cli uses picocli 4.7.7 instead of Commons CLI and Guice (see Third-party dependency versions).

Fixed

  • The ThreatAnalysis view no longer becomes unresponsive when many threats appear at once in a large analysis.

  • The exported LaTeX report compiles: its labels are valid, and the names of threat type groups in section titles are escaped.

  • Export Threat Report and the --outtxt export work for threats of patterns without a data flow parameter.

  • A countermeasure with a scope no longer makes the risk calculation of a threat without a data flow fail.

  • A placeholder for a parameter that the pattern does not have, or that is not bound to a model element, shows <unknown: name> instead of causing an exception, and $ and \ in element names fill placeholders as they are (see Placeholders in names and descriptions).

  • Clear Analysis Engine resets the summary above the threat table, and exports before an analysis or after clearing it no longer fail.

  • The ThreatAnalysis view no longer stays empty when you open it after an analysis.

  • Load and Analyze Model explains why it cannot analyze, for example when no SPARTA editor is active, instead of doing nothing (see Problems during an analysis).

  • Role bindings that are not bound to any element are shown in light orange again, with the tooltip “unassigned role: <name>”.

  • sparta-ci reads models in the .txt format, and YmlToEmfConverter works.

  • The risk of each threat is calculated once; before, the threats of the built-in patterns were calculated twice.

  • Importing the sources into Eclipse no longer shows the dialog Cannot nest ... inside ... for the standalone projects.

Upgrading from 2026.2

For users:

  • Models and catalogs of SPARTA 2026.2.0 can be used as they are.

  • Help ‣ Check for Updates in SPARTA 2026.2 offers 2026.3.0; you can also download the new application and open your existing workspace in it (see Installing SPARTA).

  • In diagrams created with SPARTA 2026.2, no layer is active, so the solutions are not shown: select SecurityView, Mark Flows Crossing TrustBoundary and Loss Estimates in the Layers drop-down of the diagram (see SPARTA Interface).

  • In an existing workspace, the PatternSupport view is not added next to the ThreatAnalysis view; open it with Window ‣ Show View ‣ Other… and Pattern Support ‣ PatternSupport (see SPARTA Interface).

  • Risk values can differ from 2026.2.0, because countermeasures with a scope no longer apply to threats without a data flow, and an estimate with a negative confidence is rejected.

  • Spreadsheets that read the CSV or XLSX export must expect eight extra columns, numbers without grouping separator, a ' before values that start with a formula character (CSV) and empty cells instead of null (XLSX).

For scripts that run the command-line tools (see Command-line tools):

  • Remove --codequalityreport: sparta-cli now stops with Unknown options: '--codequalityreport', '<file>' and exit status 2.

  • Give each option of sparta-cli at most once, and expect exit status 2 for usage and input errors, where 2026.2 behaved differently:

    • an unknown option or an option without its argument: before, exit status 1;

    • a -i file that does not exist: before, a stack trace and exit status 1;

    • no arguments, or export options without -i: before, nothing happened, with exit status 0;

    • only one or two of --server, --token and --commitid: before, the submission was skipped without a message, with exit status 0.

  • --version prints SPARTA CLI 2026.3.0 and --about prints the description to the standard output; before, both were logged to the standard error. -v enables debug logging; before, it had no effect.

  • The CSV, XLSX and text file outputs changed as described for spreadsheets above.

  • Make sure that .sparta.yml contains server.token, and handle the exit statuses 1 to 4 of sparta-ci (see Exit status).

For plug-in and library developers:

  • Use version 2026.3.0 of the plug-ins and the Maven artifacts. Code that runs the analysis, reads the threats and uses the writers of sparta-io compiles unchanged; the following changes can break code written for 2026.2:

    • SpartaCliProcessor of sparta-cli was replaced by StandaloneRuntime (package be.kuleuven.cs.distrinet.sparta.cli.runtime), with the same static methods, and the Exporter interface of sparta-cli changed (see Using sparta-cli as a library). If you use StandaloneRuntime, also add a dependency on sparta-io next to the one on sparta-cli, as shown there, and use an SLF4J 2 provider for log output instead of an SLF4J 1.7 binding.

    • IRiskModel has two new methods, isCalculated() and getMitigations(), so your own IRiskModel implementations must implement them.

    • The risk getters of a threat without a calculated risk throw an IllegalStateException instead of a NullPointerException; check isRiskCalculated() first (see SPARTA Java API).

    • CQThreatJSONWriter and the package be.kuleuven.cs.distrinet.sparta.io.json were removed.

    • The constructor YmlToEmfConverter(String) and the method saveToModel were replaced by the static method YmlToEmfConverter.convert(String), which returns the file of the converted model.

    • The report templates ReportTemplate, IntroductionTemplate, DescriptionTemplate and ThreatCatalog were replaced by StaticTemplate, and the protected method Threat.getElementName(String) was removed.

    Running the analysis with the helpers of sparta-cli
    // 2026.2
    List<Threat> threats = SpartaCliProcessor.runThreatAnalysis("webshop.sparta");
    
    // 2026.3
    List<Threat> threats = StandaloneRuntime.runThreatAnalysis("webshop.sparta");
    

For people who build SPARTA:

  • Use Maven 3.9.9 or later on a JDK 21, and run mvn license:format when the build reports a missing license header.

  • In an existing Eclipse workspace, run Maven ‣ Update Project on all projects (see Building SPARTA from source).

Known limitations

  • Threat specifications and the property Enabled of threat types and threat type groups have no effect on threat type patterns, and Enabled of attacker profiles has no effect at all (see Writing threat type patterns and 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 (see Which countermeasures apply).

  • Errors in the Helper Patterns of a catalog are not shown in the PatternSupport view, and the view stays empty if you show it for the first time after an analysis (see PatternSupport View).

  • The risk of a threat without a threatened element, for example from a pattern without a location parameter, is not calculated. Such threats are missing from the ThreatAnalysis view, Export Threats to CSV and Export Threats to XLSX fail without a dialog when the analysis contains a threat whose risk was not calculated, and the exports of the command-line tools fail with exit status 1; only the LaTeX report handles these threats (see Analysis results and exports and Command-line tools).

  • After you analyzed another model in the same session, Load and Analyze Model can leave the ThreatAnalysis view empty or list only part of the threats, without an error dialog; restart SPARTA with File ‣ Restart and analyze the model again (see Analysis results and exports).

  • --outtxt gives threats with the same type, threatened element and data flow the same file name, so only the last one is kept (see Command-line tools).

  • In the LaTeX report, “DFD Elements” of a threat without a data flow shows only separators, and several threats on the same element cause “multiply defined” label warnings (see Analysis results and exports).

  • The statistics report of sparta-cli formats numbers with the locale of the system (see Command-line tools).

  • When the path of the SPARTA application folder contains a space, for example C:\Users\Jane Doe\SPARTA, the application cannot process the patterns of threat type catalogs: the PatternSupport view lists errors such as processToProcessComm cannot be resolved, and the threats of these patterns are missing (see Installing SPARTA). SPARTA 2026.2 did not have this problem.

  • The command-line tools, the standalone libraries and the build fail when the path of the SPARTA jars or of the clone contains a space (see Command-line tools, Standalone Prerequisites and Known limitations in 2026.3).

  • The published POMs of sparta-cli and sparta-ci declare no dependencies, so a Maven project that uses sparta-cli as a library must also declare sparta-io (see Using sparta-cli as a library).

  • The step “Mitigate threats with a security solution” of the guided tutorial does not say which tool creates the solution; use Apply Solution (see Guided tutorial).

  • After you start the guided tutorial from the welcome screen, the Welcome view keeps showing the tutorial until you restart SPARTA (see Guided tutorial).

  • The link API documentation on the welcome screen opens the API documentation of 2026.0.0 instead of 2026.3.0.

  • From the sources, you can only generate the Javadoc of sparta-cli and sparta-ci (see Known limitations in 2026.3).

  • There are no builds for ARM (aarch64) platforms.

SPARTA 2026.2.0

Released 2026-07-21.

The changes below are relative to SPARTA 2026.1.0. SPARTA 2026.2.0 fixes many known limitations of 2026.1.0, and it has breaking changes for the command-line tools, the standalone libraries and the Java API. The meta-model did not change.

Added

  • Release downloads. Each release is published on the GitHub releases page with the SPARTA application for Windows, Linux and macOS, the update site as a single file (sparta-updatesite-<version>.zip), and the runnable jars of sparta-cli and sparta-ci. The plug-ins, features and standalone libraries of 2026.2.0 are available from the SPARTA Maven repository https://maven.sparta.distrinet-research.be. See Installing SPARTA.

  • Update site per release line. The update site https://downloads.sparta.distrinet-research.be/updates/2026/ offers all SPARTA 2026 releases, and the SPARTA application and plug-ins look for updates there.

  • Tests. The build runs the tests of four new test plug-ins and of sparta-cli and sparta-ci (see Building SPARTA from source).

Changed

  • Java 21 (breaking). All plug-ins, the standalone libraries and the command-line tools are compiled for Java 21; before, they were compiled for Java 11. The SPARTA application already included a Java 21 runtime.

  • Command-line options (breaking). sparta-cli no longer accepts the short options of two or three letters, such as -oc; use the long forms, which did not change. The option -it (--inputtree), which had no effect, was removed. With -h, sparta-cli only prints the help, also when -i is given. See Command-line tools.

  • Exit status of the command-line tools (breaking). sparta-cli exits with status 1 when an export or the server submission fails, and sparta-ci when .sparta.yml is missing or the submission fails; before, both exited with status 0.

  • Server submission (breaking). sparta-cli and sparta-ci only submit results over https, with timeouts, and treat an HTTP status of 400 or higher as a failure.

  • Standalone libraries (breaking). A Maven project that uses the libraries must import the BOM be.kuleuven.cs.distrinet.sparta:standalone; without it, the analysis fails with a SecurityException (see Standalone Prerequisites). The project standalone-dependencies was removed, and several third-party libraries were upgraded, among others Apache POI 5.4.1 and SnakeYAML 2.2.

  • Risk calculation API (breaking). The loop configuration of the risk calculation belongs to each Engine instead of being a global singleton: RiskAssessmentLoopConfiguration.getInstance() was removed, and Threat.performRiskCalculation and IRiskModel.calculateRisk take the loop configuration as an argument, which you get with engine.getLoopConfiguration() (see Threat elicitation and risk analysis). Engine implements AutoCloseable.

  • Estimates. An estimate whose minimum equals its maximum is an exact value; before, its samples were not a number (NaN). A countermeasure without a difficulty counts as a difficulty of exactly 100; before, it blocked every attack when it was the only applicable countermeasure, and was ignored next to other countermeasures (see Defaults when information is missing).

  • The CSV export (CSV Export and --outcsv) and the text files of --outtxt format numbers in the same way on every system, for example 12,345.6789; before, the format depended on the locale of the system. A double quote in a value is written twice.

  • The command-line tools write their text outputs and the request to the server in UTF-8, and sparta-cli accepts absolute model paths and .spartamodel files.

  • getThreatenedElementId() returns the xmi:id of the threatened element, so it is the same in every run; it is used in the JSON that the command-line tools submit to a server and in the labels of the LaTeX report.

  • The SPARTA application checks for updates once a week instead of at every start.

  • Errors during the analysis are written to the Eclipse error log instead of the console (see Problems during an analysis), and failed exports show an error dialog.

  • The plug-in be.kuleuven.cs.distrinet.sparta.io no longer requires the Sirius plug-ins.

Fixed

  • Threats of patterns without a data flow parameter, such as those of the STRIDE-per-element catalog, work in CSV Export, in Engine.runAnalysis(ResourceSet) and in the command-line tools, with the limitations listed below.

  • A threat type catalog with Pattern Dependencies no longer makes the pattern parsing fail (see Catalog settings).

  • The XLSX export of sparta-cli and ThreatXlsxOutputStream work, and have the same columns as the CSV export.

  • The legacy keys XTo*Y and XThrough*Y match as documented; before, some never matched and others only matched flows that cross a trust boundary (see Legacy key-based threat types). Legacy catalogs that use these keys can yield more threats.

  • The LaTeX report escapes the “Affected element” entries and the characters ^, < and >, and Report Export stops at the first error instead of leaving an incomplete report without notice.

  • Building SPARTA from the sources no longer fails in sparta.queries: the VIATRA code generator is loaded from https://repo.eclipse.org/content/groups/viatra2/.

  • Threat.getTef() sums the threat event frequency over all attacker profiles, and analyses of different models in the same Java virtual machine no longer influence each other.

  • In the ThreatAnalysis view, a threat whose risk is above the largest potential risk is shown in red instead of white, and sorting by another column starts in ascending order.

Upgrading from 2026.1

For users:

  • Models and catalogs of SPARTA 2026.1.0 can be used as they are.

  • SPARTA 2026.1 does not find 2026.2 by itself: add the update site https://downloads.sparta.distrinet-research.be/updates/2026/ and check for updates, or download the new application and open your existing workspace in it (see Installing SPARTA).

  • Risk values can differ from 2026.1.0, because of the changes to estimates with equal minimum and maximum, countermeasures without a difficulty and the legacy keys described above.

  • Spreadsheets that read the CSV export must expect a decimal point and a comma as thousands separator.

For scripts that run the command-line tools:

  • Replace the short options of sparta-cli by their long forms and remove -it (see Command-line tools).

  • Expect exit status 1 when an export or the submission fails, use an https URL for the server submission, and run the jars with Java 21.

For plug-in and library developers:

  • Compile with Java 21, and import the standalone BOM in a Maven project (see Standalone Prerequisites).

  • Adapt code that drives the risk calculation itself, and recompile against the 2026.2.0 plug-ins or libraries (see Threat elicitation and risk analysis). ReportWriter.performExport declares throws IOException, exporters of sparta-cli return a boolean from process, code that uses SnakeYAML together with the libraries must use the SnakeYAML 2 API, and the unused classes DescriptionDiagramTemplate and DescriptionDiagramItemTemplate were removed.

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).

  • For threats of patterns without a data flow parameter, Report Export and the --outtxt and --codequalityreport exports of sparta-cli fail, and so does the risk calculation when a countermeasure with a non-empty Scope protects the threatened element against its threat type: the ThreatAnalysis view then shows a risk of 0, and the command-line tools stop with a NullPointerException (see The role of the data flow).

  • Threat specifications and the property Enabled of threat types and threat type groups have no effect on threat type patterns, and Enabled of attacker profiles has no effect at all (see Writing threat type patterns and 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 (see Which countermeasures apply).

  • A placeholder for a parameter that the pattern does not have makes the ThreatAnalysis view show none of the threats of that pattern, without a message, 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).

  • Special LaTeX characters in threat type group names are not escaped in the LaTeX report (see Analysis results and exports).

  • The exported LaTeX report does not compile (Missing \endcsname inserted) until you remove the \_ escapes from the labels in threatcatalog.tex (see Analysis results and exports).

  • The ThreatAnalysis view refreshes its whole table for every threat that appears: after you add a catalog to an analyzed model that already has hundreds of threats, SPARTA can be unresponsive for several minutes (see Analysis results and exports).

  • The statistics report of sparta-cli still formats numbers with the locale of the system, and its code-quality report gives the threats with the highest risk the severity blocking, which GitLab shows as “Unknown” (see Command-line tools).

  • The command-line tools and the standalone libraries fail with a ProvisionException when the path of the SPARTA jars contains a space, for example a local Maven repository in C:\Users\Jane Doe\.m2 (see Command-line tools and Standalone Prerequisites).

  • sparta-ci cannot read models in the .txt format, and YmlToEmfConverter fails with a NullPointerException (see Command-line tools).

  • From the sources, you can only generate the Javadoc of sparta-cli and sparta-ci (see Known limitations in 2026.3).

  • There are no builds for ARM (aarch64) platforms.

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 only the missing gray line shows it. 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 SPARTA Standalone libraries).

  • 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 Exporting results).

  • 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.3).

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