TARAflow
New in 0.20EN 50742 for both roles: machine and component →
Threat Analysis & Risk Assessment

A knowledge-graph-driven TARA workflow for connected and embedded systems.

TARAflow builds a knowledge graph from your DFD, its assets and the relationships between them. Hazard items can sit inside the same relationship chains, giving you a traceable cause-and-effect path from a hazard, through threats and risks, to mitigation.

// Standards & regulatory alignment IEC 62443 EN IEC 62443-4-2 ISO/SAE 21434 EU Cyber Resilience Act EN 50742 ETSI TVRA STRIDE CIANAAA
TARAflow icon TARAflow
Core idea

Three principles the tool is built around

Knowledge graph

DFD, assets and their relationships

The DFD and its assets aren't modeled as flat lists. Asset-to-asset and asset-to-DFD relationships are captured explicitly, forming a knowledge graph that the rest of the analysis is derived from.

Cause & effect

Safety annotations on relationships

Relationships can carry safety information directly — Impact (reversible / irreversible, each minor or major, and fatal) and Relevance (direct / indirect) — so hazard potential per ISO 12100 comes from the same graph, not a second document.

One fixed workflow

General → DFD → Assets → Threats → Risks

The process is always the same: General → Hazards → DFD → Assets → Threats → optional Attack Trees → Risks → Documentation. Without safety enabled, the Hazards step is simply hidden.

New in 0.20

EN 50742 for both roles: machine and component

EN 50742 asks how far a cyber attack can reach a safety function. TARAflow 0.20 covers both roles of a machine part: Approach A for the machine — a security-related safety level (SRSL) for every risk that can reach a safety function — and Approach B for a component — the IEC 62443-4-2 requirements of Table 4 for its safety functions.

Which part of the model the standard is about is decided by the model as well. Mark a trust boundary as safety zone: every flow crossing its border and every interface such a flow passes is relevant. Without a zone, the interfaces and flows on a path to a safety function are. Everything else is rated as usual.

A machine with a safety zone: the controller P-1 and its configuration store DS-1 lie inside the yellow, dashed safety zone. The service laptop's flow enters the zone through the USB interface IF-1 with exposure level EL2 — this flow and interface are relevant for EN 50742. The HMI's flow to the logger outside the zone and the flow inside the zone are not. Machine Safety zone (EN 50742) Service laptop IF-1 EL2 DF-3 relevant P-1 Controller DS-1 Config DF-2 HMI Logger outside the zone · rated as usual
01

Approach A — the machine

The relevant risks get exposure level, attacker capability and window of opportunity, and an SRSL from the attack potential and the severity on the safety function. SRSL 0 only for an isolated safety function. The mandated controls stay — also for a risk accepted or set to won't.

02

Approach B — the component

The tag EN 50742 B opens the IEC 62443-4-2 requirements of Table 4 at a fixed SL-T (FR1–FR3, FR7: 2; FR5, FR6: 1), completed by the EN 50742 clauses. It brings IEC 62443 along; both matrices share your statements.

03

Seen in the diagram

Exposure levels at boundaries and interfaces, the safety zone as a yellow dashed frame — drawn by the app, never stored. The page images in the report show them, with a legend.

04

Guard rails

Every audit commit names every change of the file. Each threat generation records the catalogue version. An ⓘ next to every element shows what the DFD knows about it while you rate its threats and risks.

Since 0.19

Component TARAs: analyse once, use in every machine

A sensor, a controller, a supplier's module: the same component sits in many machines — and is analysed again in every one of them. With TARAflow 0.19 the component team keeps one TARA in its own repository, and every machine imports a pinned state of it.

What the component knows comes along — threats, attack trees, measures, assumptions of use. What depends on the machine stays with the machine — impact, context factors, the window of opportunity, the decision whether a component measure holds here.

One component TARA in its repository, imported at a pinned state into two machine TARAs: machine A with instances SD1 and SD2 (quantity 4), machine B with instance SD1 and a newer component state to check; each machine rates impact and context and keeps the assumptions-of-use checklist Component TARA sensor.tara.json own repo · tag v2.1 threats · trees · measures assumptions of use pinned pinned Machine A SD1 SD2 ×4 impact · context · checklist Machine B SD1 newer state ↻ impact · context · checklist
01

Pinned, not copied

Imported at a commit or tag of the component's repository. Several instances get their own prefix; identical units in one place are one instance with a quantity.

02

Rated in the machine's context

Intrinsic factors come from the component. Impact, context factors and the window of opportunity of every attack path are rated by the machine — never imported.

03

Measures that hold — or not

A component measure lowers the machine's risk only while it is implemented and every assumption of use it relies on is fulfilled here, with evidence. Otherwise: unclear or not effective, shown as such.

04

Newer states, explicit updates

Check finds a newer state of the component; Update… shows what changed and which of your decisions it touches. The deviations go back to the component team as Markdown.

Workflow

One fixed pipeline, per project

TARAflow workflow: General, optional Hazards, DFD and Assets forming a knowledge graph, Threats, optional Attack Trees, Risks, Documentation, with Jira mitigation feeding back into the model
Capabilities

What's in the current build

01

Knowledge graph

Asset-to-asset and asset-to-DFD relationships form a knowledge graph — and can include hazard items for full cause-and-effect chains. The asset graph shows it layer by layer, and relations can be modeled right there.

02

Embedded & leveled modeling

Interface, Physical Boundary and Chip Boundary elements make physical attack surfaces explicit. Leveled DFDs decompose a multiprocess on its own page — one model, one threat register. A reused component comes in as an imported TARA.

03

DFD-driven threat generation

STRIDE threats proposed per element and per interaction, using context from the modeled system.

04

Closed-loop mitigation

Catalog and project mitigations, tracked in Jira or Azure DevOps (GitHub, GitLab, OpenProject in preview), with before/after risk comparison. The DFD reports a mitigation marked done that the model contradicts — not every planned one.

05

Attack-path analysis

Threat-anchored attack trees with feasibility and attack-potential evaluation. An AND gate is one attack path per combination of its steps.

06

Security & safety together

A BowTie-based hazard workflow feeds physical-impact and safety-override rules into the same risk model.

07

Auditability

Git-based history, signed commits, authorized-signer management and the Audit Verification Engine — which also checks that every imported component still matches its recorded snapshot. Every commit names every change of the file.

08

Headless reporting & verification

The same Markdown, AsciiDoc, HTML, PDF and StrictDoc output from taraflow-report in CI/CD, and taraflow-verify to check the audit trail — no desktop app required.

Industrial & CRA

Requirement matrices from the model

A

IEC 62443-4-2, two editions

The classic edition (2019) with its device categories, or the CRA edition EN IEC 62443-4-2 — chosen by the project tag, side by side when both apply.

B

Derived, not ticked

Every row is checked against the DFD properties, the mitigations of the risk treatment and supporting measures. An unset property is unknown, never "not applicable".

C

SL-T, SL-C, planned

Set the target per foundational requirement and see what the component reaches now, once the chosen mitigations are done, and with the measures of the system around it.

D

Gaps and CRA view

A to-do list per element up to the SL-T; the report adds the statement of applicability, the CRA view by Annex I letter and the gaps with suggested mitigations.

E

Model fields for the matrix

Accounts, password rules, role mapping, default credentials, login lockout, update delivery, secure channels, key renewal — each asked only where it is meaningful, so more rows are decided by the model instead of a statement.

F

Black boxes

A PLC drawn as a box or a supplier's module: a multiprocess without a child page summarises what it contains, and the matrix checks it like the processes and data stores it stands for.

G

EN 50742 Approach A and B

A for the machine: the baseline requirements checked against the model, the SRSL of the relevant risks and their mandated §7.4.3 controls. B for a component: the IEC 62443-4-2 requirements of Table 4 for its safety functions. Both look at the safety zone's interfaces and flows.

H

Information missing

A row the model cannot decide yet names the empty field per element — fill it and the model decides the row.

Automotive

ISO/SAE 21434 support

A

Asset-driven relevance

In ISO mode a threat is relevant when it relates to an asset. STRIDE per element enumerates the threats (per interaction is switched off); the risk is carried by the attack paths, not by the enumeration.

B

Attack feasibility — Annex G / ISO 18045

The five attack-potential factors (time, expertise, knowledge, window, equipment) sum to a Table G.7 feasibility band, per leaf and per attack path.

C

SFOP impact

Safety, Financial, Operational and Privacy impact (ISO 15.5) — mandatory and locked in ISO mode, on both the risk and the asset side.

D

Risk value 1–5

The risk value of clause 15.8 from the matrix of Annex H.8 — impact × attack feasibility, shown as Minimal … Critical. The attack paths of one tree form a threat scenario; treatments carry the ISO names Avoid / Reduce / Share / Retain, and a review list names the decisions worth a second look.

E

Concept-phase work products

Item definition with assumptions, a cybersecurity goal for every risk you reduce, a claim for every risk you retain or share, and the TARA verification of RQ-09-07 — sealed with a hash of the analysis.

F

Conformant documentation

A methodology chapter generated from the project's configuration, threat-scenario, item-definition and goals & claims chapters and a traceability matrix — Markdown, HTML, PDF and StrictDoc; every ISO risk records the calculation it was computed with.

Applicability

Where it's used

Industrial & OT
PLCs, machinery and ICS environments under IEC 62443 and the Machinery Regulation.
Embedded & IoT
Connected devices and firmware facing the EU Cyber Resilience Act.
Automotive
Cyber-physical components requiring ISO/SAE 21434 TARA workflows.
Medical & safety-critical
Systems where safety and security need to be assessed together, not in isolation.
Get started

Two ways into the project

For users

Model, assess, mitigate

Learn how to build a DFD, run a TARA, assess risk, manage mitigations and generate reports.

For developers

Build, test, extend

Architecture, the threat-generation pipeline, the project data model, and how to contribute.