VWAY

Newsroom
Technical Resources


STPAWhen Security Controls Exceed the FTTI — Filling the Gap Between HARA and TARA with STPA

VisualPro Tech Brief
Cover illustration on a dark green background: a control path runs from an AEB controller to a brake ECU, and while an authenticated message with a padlock crosses the bus, the last segment of an FTTI timing ring overflows in red
When Security Controls Exceed the FTTI — Filling the Gap Between HARA and TARA with STPA
How to catch the moment SecOC authentication delay becomes a functional safety failure, as a "too late" control action
VWAY Tech Brief · October 30, 2026 · About 8 min read
FTTISecOC message authenticationHARATARASTPA UCA "too late"Loss scenarios
October 30, 2026

01Summary

For time-critical functions such as braking, the fault tolerant time interval (FTTI), the time allowed between a fault and reaching a safe state, is in the range of tens of milliseconds. Message authentication added under ISO/SAE 21434 (AUTOSAR SecOC), however, adds verification time to every message. An Electronics Weekly article (October 13, 2026) points out that if a brake ECU verifies authentication in software at about 2 ms per message and the bus is saturated, the FTTI margin can disappear, and concludes that the security control then becomes a functional safety failure. The problem is that neither the HARA table nor the TARA table has a column for this conflict. HARA asks about severity, exposure and controllability, and TARA about impact and attack feasibility, but neither asks "is it still within time after authentication?" STPA asks exactly that, as one type of unsafe control action: "too late". Using an AEB emergency braking request path as the example, this article writes 4 UCAs and 5 loss scenarios in VisualPro STPA and shows how the missing column gets filled.

02The scene: braking that must finish within 50 ms, verification added to every message

The front camera and radar see a stopped vehicle. The AEB controller in the ADAS domain judges a collision risk and sends an emergency braking request over the vehicle bus. The request message carries a SecOC authentication tag (CMAC) and a freshness counter. The brake-by-wire brake ECU recalculates the tag and only applies brake pressure after confirming the request really came from the AEB controller.

The Electronics Weekly article uses exactly this process as its example. The FTTI for brake- and steer-by-wire is typically 10 to 50 ms, and any delay turns directly into braking distance. If the brake ECU verifies AES-128 in software at 2 ms per message and the CAN bus is saturated, the accumulated delay eats deep into the FTTI margin. The article's conclusion is clear: if a braking message exceeds the FTTI because of the security design, that is a functional safety failure in ISO 26262 terms.

No one would argue with that conclusion. But in a real project, where is that sentence written down?

03The HARA and TARA tables have no column for time

What it asksWhat it does not ask
HARA (ISO 26262-3)Severity (S), exposure (E) and controllability (C) of hazardous events, ASIL, safety goalsHow much time is left once a security control sits on the path that protects the safety goal
TARA (ISO/SAE 21434)Assets, damage scenarios and impact (safety, financial, operational, privacy), attack paths and feasibilityHow much of the safety function's time budget the control (authentication, encryption) consumes
FTTI and safety mechanisms (ISO 26262-4, -5)Fault detection and reaction time, FTTIThe fact that security controls share the same time budget

Even if both analyses are done in the same workshop, with columns like these the conflict ends up as a single line in the minutes. The safety team issues "FTTI 50 ms" as a requirement, the security team issues "do not execute before successful authentication" as a requirement, and the fact that both collide inside the same 50 ms only surfaces in integration testing.

One point needs correcting. The article recommends deriving TARA impact ratings "directly from the HARA's ASIL". In ISO/SAE 21434, however, the safety impact rating of a damage scenario is based on the severity (S) of ISO 26262-3. ASIL mixes in exposure and controllability, so taking it over as is misses the fact that an attack can change exposure or controllability. What to take over is S, not ASIL.

04STPA asks about time through UCAs

For every control action a controller issues, STPA asks whether it can become unsafe in four ways: not provided, provided when unsafe, provided too early, too late or out of order, and stopped too soon or applied too long. The third question is exactly where the FTTI belongs.

And in an STPA control structure, authentication and the bus sit directly on the control and feedback paths. Authentication verification lives in the brake ECU's control algorithm, bus delay in the control path, and freshness counter synchronization in the brake ECU's process model. Because the security control becomes part of the control loop rather than "another document outside the safety analysis", it naturally gets caught when you write loss scenarios.

STPA control structure diagram of the AEB emergency braking path. The AEB controller sends an emergency braking request as a SecOC-authenticated message, the brake ECU verifies authentication after the bus and applies brake pressure to the vehicle, and object distance, brake and authentication-failure status, and wheel speed and measured deceleration return as feedback. The locations of authentication tag generation, bus transmission, authentication verification and freshness counter synchronization are marked
STPA control structure of the AEB emergency braking path: authentication tag generation, bus transmission and authentication verification all sit on the control path

05Example: the AEB emergency braking request path

This is a fictional system for education (not the design of any particular vehicle or manufacturer). The FTTI is set to an illustrative 50 ms. There are two losses, injury or loss of life and property damage, and two hazards: "safe distance is not maintained" (H-1) and "hard braking when it is not needed" (H-2). The system constraint reads:

SC-2. An emergency braking request shall be reflected as brake pressure within the FTTI from hazard detection, and the time taken by message authentication and bus transmission shall be included in this budget.

This constraint ties into one sentence what the HARA safety goal and the TARA cybersecurity goal used to state separately.

4 UCAs

IDControl actionUnsafe control actionHazard
UCA-T-1Emergency braking requestThere is a forward collision risk, but the AEB controller sends the request late, so the time at which the brake ECU finishes authentication verification exceeds the FTTI budgetH-1
UCA-T-2Apply brake pressureThe request has arrived, but the brake ECU waits for authentication verification and starts applying brake pressure after the FTTIH-1
UCA-N-3Apply brake pressureA request arrives, but the brake ECU discards it due to authentication failure and does not apply brake pressureH-1
UCA-P-4Apply brake pressureThere is no collision risk, but the brake ECU accepts a forged or replayed request and applies brake pressureH-2

UCA-P-4 is what a TARA would have written as a threat scenario. In STPA it sits in the same table, right next to UCA-T-2. Loosen authentication and T-2 shrinks while P-4 grows; tighten it and the reverse happens. Seeing that balance on one screen is the point of this article.

VisualPro STPA control action list screen. Under the control action 'Emergency braking request' (AEB controller to brake ECU) is UCA-T-1, and under 'Apply brake pressure' (brake ECU to vehicle) UCA-T-2, UCA-N-3 and UCA-P-4 are listed together
VisualPro STPA control action list: UCA-T-1 under the emergency braking request, and UCA-T-2, N-3 and P-4 together under applying brake pressure

5 loss scenarios

IDUCAScenario in briefWhat it reveals
LS-1T-2Authentication is verified in software at about 2 ms per message; bus saturation adds queuing and retransmission, and the accumulated delay exceeds the FTTI. Verification time was measured only under normal loadThe article's case exactly. Countermeasures: worst-case measurement and an HSM
LS-2T-2The brake ECU algorithm defines only "no braking before authentication" and does not define what to do when verification does not finish within the FTTI. The two requirements live separately in the HARA and TARA documents, so the conflict never surfacesThe missing column itself
LS-3T-1Camera and radar data also arrive authenticated on the same bus, and bus overload delays both the object data and the braking requestCommon cause; the same structure as the combined archetypes in our previous article
LS-4N-3After a brake ECU reset the freshness counter is out of sync, so a legitimate request is judged a replay attack and discarded. With no "authentication failed" feedback, the AEB controller believes braking has been appliedConcealment created by the security control
LS-5P-4The infotainment domain is compromised and the gateway does not filter the braking request ID. The freshness counter acceptance window was widened to cut delay, so a replayed request gets throughA setting meant to save time becomes a security hole
VisualPro STPA loss scenario screen. LS-1 and LS-2, linked to UCA-T-2, are shown with the brake ECU entity and the guide words 'Flawed implementation of the specified control algorithm' and 'The specified control algorithm is flawed'
VisualPro STPA loss scenarios: LS-1 and LS-2 for UCA-T-2 with their guide words (flawed implementation of the control algorithm / flawed control algorithm)
VisualPro STPA loss scenario screen. LS-5, linked to UCA-P-4, is shown with the brake ECU entity and the guide word 'Unsafe control input', describing a compromised infotainment domain and a replayed request getting through
VisualPro STPA loss scenario: LS-5 for UCA-P-4 (guide word: unsafe control input)

Put the five side by side and you find scenarios pointing in opposite directions. LS-1 and LS-2 arise because the security control is too slow, LS-5 because of an attempt to make it faster. LS-4 is the security control blocking a legitimate request and hiding that fact. If safety and security are analyzed separately, the first three are likely to end up in the safety team's documents, LS-5 in the security team's, and LS-4 in neither.

6 countermeasures

IDCountermeasureLinked scenarios
CM-1Move authentication verification to the HSM crypto accelerator; measure verification time under worst-case conditions including bus saturation and record it in the latency budgetLS-1
CM-2Allocate a latency upper bound to each stage (detect → decide → generate authentication → transmit → verify → actuate) within the FTTI and state them as requirementsLS-1, LS-3
CM-3Define in the safety concept what happens when verification does not finish within budget or authentication fails (e.g. driver warning, degraded mode). Decide which behavior is the safe side by looking at the HARA and TARA results togetherLS-2, LS-4
CM-4Feed the "authentication failed, request discarded" status back to the AEB controller and define a freshness counter resynchronization procedureLS-4
CM-5Secure bus priority and bandwidth (CAN FD, automotive Ethernet) for safety-critical messages; run jitter simulationLS-3
CM-6Inter-domain filtering at the gateway, HSM keys separated from the application core, and the freshness acceptance window decided together with the latency budgetLS-5

CM-3 needs care. Choosing "brake anyway if verification is late" prevents LS-1 but reopens LS-5. Neither the safety team nor the security team can make this decision alone, which is why both analyses need to sit on the same model.

06A latency budget: turning SC-2 into numbers

System constraint SC-2 can only be verified once it becomes a table like the one below. The numbers are illustrative.

StageExample upper boundOwnerEvidence
Object detection and recognition15 msADASMeasured sensor cycle and processing time
Collision decision and request generation10 msADASAlgorithm worst-case execution time
Authentication tag generation1 msSecurityHSM measurement
Bus transmission (worst case)5 msArchitectureBus load and priority analysis, jitter simulation
Authentication verification1 ms (HSM) / 2 ms or more (software)SecurityWorst-case measurement
Brake pressure build-up15 msChassisActuator response test
Total47 ms ≤ FTTI 50 msSafetyBudget approval
Latency budget bar diagram. Object detection 15 ms, collision decision and request 10 ms, authentication tag generation 1 ms, bus transmission 5 ms, authentication verification 1 ms and brake pressure build-up 15 ms add up to 47 ms, inside the 50 ms FTTI line with a 3 ms margin, with a note that software verification and bus saturation consume this margin
Latency budget (illustrative): 47 ms with HSM verification leaves a 3 ms margin to the 50 ms FTTI. Software verification and bus saturation eat into that margin

Each cell in this table corresponds to an element on the STPA control and feedback paths. Loss scenarios ask "which cell can overflow?", and countermeasures decide "who proves the upper bound of that cell?".

07What to check tomorrow

Functional safety

  • Does the FTTI budget for the safety goal include the security controls (authentication generation and verification) as separate lines?
  • Was authentication verification time measured under worst-case conditions, not under normal load?

Cybersecurity

  • Is the safety impact rating of TARA damage scenarios taken from severity (S), not from the HARA's ASIL?
  • Were the freshness counter acceptance window and the behavior on authentication failure decided together with the safety team?

Architects

  • Is the "authentication failed, request discarded" status fed back to the controller that sent the request?
  • Has jitter simulation confirmed that safety-critical messages are not pushed back by encrypted, lower-priority traffic?

08Closing

A security control is not a document outside the safety analysis; it is a component on the control loop that shares the same time budget. STPA fills the empty time column between HARA and TARA with one question: "is this control action too late?"

VisualPro can perform HARA, TARA and STPA within a single project. The STPA example in this article was built in VisualPro STPA.

09Frequently Asked Questions

Q1Isn't it enough to do HARA and TARA together? Why do we also need STPA?

Doing them together is the starting point. But neither table has a time column, so even in the same meeting "does authentication delay exceed the FTTI?" stays outside the tables. STPA makes you write delay and verification failure on the control path as UCAs and loss scenarios, and traces the results to system constraints and countermeasures. It does not replace HARA or TARA; it is the analysis that connects them.

Q2Doesn't an HSM solve the problem?

It does cut verification time substantially. Bus delay, freshness counter synchronization failure and the behavior on authentication failure, however, are not decided by the HSM. Of the five loss scenarios in the example, the HSM directly reduces only LS-1.

Q3If authentication verification is late, why not just brake?

That reduces the delay problem (LS-1, LS-2) but reopens the path for forged or replayed requests (LS-5). Which behavior is the safe side has to be decided by looking at HARA hazards and TARA threats together, and a third option such as a degraded mode or a driver warning is often needed.

Q4What is the correct way to take TARA impact ratings from HARA?

ISO/SAE 21434 bases the safety impact rating of a damage scenario on the severity (S) of ISO 26262-3. ASIL already reflects exposure and controllability, so taking it over as is fixes factors that can change under attack.

Q5We have never used STPA. Where should we start?

Pick one safety goal that has an FTTI, draw the control loop that protects it, and mark the security controls on that loop. Writing just one "too late" UCA for one control action is enough to reveal the missing line in your latency budget.
References
· Electronics Weekly, "Linking functional safety with cybersecurity in the automotive industry", October 13, 2026 (Diego de Azcuénaga) — article
· ISO 26262-1:2018 definition of FTTI; ISO 26262-3:2018 HARA
· ISO/SAE 21434:2021 — impact rating of damage scenarios (safety impact based on ISO 26262-3 severity)
· AUTOSAR Specification of Secure Onboard Communication (SecOC)
· Nancy G. Leveson, John P. Thomas, STPA Handbook, MIT, 2018 — STPA Handbook (PDF) / MIT PSASS STAMP Tools
※ The AEB example in this article is a fictional system for education and not the design of any particular vehicle or manufacturer. The 50 ms FTTI and the figures in the latency budget are illustrative. VWAY wrote and reviewed the example analysis using Claude through the MCP connection of VisualPro STPA. The VisualPro screenshots were taken from the Korean UI, and their on-screen text has been translated into English.
Check your FTTI budget with STPA
Give us one safety goal and one control loop, and we will write the UCAs and loss scenarios with you in VisualPro STPA.
VWAY Co., Ltd.  |  sales@vwaycorp.com