Embedded engineering · Engineering notes

HARA and TARA: where safety and security meet.

How to connect safety goals, cybersecurity decisions and software tests without treating two different risk assessments as the same thing.

Aceman engineering4 min read
In this guide
One interface, two reviewsReview structure for a command interface. The project defines the actual goals and limits.
  1. 01
    Operating situation

    What behaviour could cause harm?

  2. 02
    Threat scenario

    Who could change or interrupt it?

  3. 03
    Shared requirement

    Authority, freshness and response time

  4. 04
    Evidence

    Access checks and timed fault tests

Start with the item and its operating conditions

ISO 26262-3 covers item definition, hazard analysis and risk assessment, and the functional safety concept. Before discussing a software function, describe the vehicle behaviour, operating situations and system boundary. In a HARA, severity, exposure and controllability concern hazardous events. Exposure to an operating situation is not the probability that a component will fail. Record the assumptions behind each judgement so another engineer can challenge them. SAE J2980 is useful supporting material for collision-related motion-control hazards, but its scope is narrower than ISO 26262.

References: ISO 26262-3:2018: concept phase · NHTSA: Safety Management of Automotive Rechargeable Energy Storage Systems · SAE J2980, revised October 2023

Give the security assessment its own reasoning

ISO/SAE 21434 addresses cybersecurity risk management across the vehicle-system lifecycle. A threat analysis and risk assessment considers assets, damage scenarios and possible attack paths, with impact and attack feasibility informing risk decisions. An ASIL is not a cybersecurity rating. A credible review asks who can reach an interface, under what conditions, what they could change, and how those assumptions change during manufacture, servicing or decommissioning. Keep the attack assumptions alongside the decision, rather than hiding them in a single score.

References: ISO/SAE 21434:2021: cybersecurity engineering · Automotive Hardware Attacks: An Architect’s Guide to TARA

Review the point where a control changes behaviour

Consider an authenticated command that arrives late. Rejecting unauthorised traffic may be correct, but the application still needs a defined response to missing or stale commands. Equally, a maintenance route that restores availability may weaken access controls if anyone can invoke it. Our suggested review is to pair each shared interface with both owners: the safety engineer checks timing and fallback behaviour; the cybersecurity engineer checks authority, freshness and lifecycle access. Neither review can stand in for the other.

Turn one concern into a requirement chain

For a command interface, write down the source, permitted operating modes, freshness rule, diagnostic access and response when validation fails. Trace the resulting software requirement to the implemented check and its verification evidence. A test that proves a rejected command caused no state change answers a different question from a test that proves the controller reached its required fallback within the agreed time. Keep both results, including their starting conditions. ISO 26262-6 places requirements, architecture and software verification within the development process.

References: ISO 26262-6:2018: software development

Use a change review, not a one-time sign-off

A diagnostic extension, revised timeout or new gateway can invalidate earlier assumptions even when the control algorithm is unchanged. Record which goals, interfaces, tests and operational procedures depend on that decision. Make the review trigger concrete: a new remote access route should reopen the access assumptions; a new retry policy should reopen timing and load assumptions. Keep the decision and its rationale with the affected requirements.

Fix the standards baseline before the project starts

At the source check on 11 November 2026, ISO listed Parts 3 and 6 of the 2018 edition as published, with draft replacements under development. The catalogue also listed ISO/SAE 21434:2021 as published. For a programme extending into 2027, record the contractually applicable editions and how changes will be assessed. A draft publication or forecast release date does not automatically change the programme baseline. Detailed compliance work needs the licensed standards and the project’s agreed safety and cybersecurity plans.

References: ISO 26262-3:2018: concept phase · ISO 26262-6:2018: software development · ISO/SAE 21434:2021: cybersecurity engineering

AT THE DESIGN REVIEW

A review you can take to the team

For a maintenance command on a vehicle controller, ask these questions before choosing the implementation.

Boundary

CheckCan a service tool request this in every vehicle mode?

Evidence to keepA documented mode and authority policy

Loss of communication

CheckWhat happens when a valid command stops arriving?

Evidence to keepA timed test of the specified response

Rejected access

CheckCan rejection alter outputs or exhaust shared resources?

Evidence to keepState and timing observations under rejected traffic

Change

CheckWhich assumptions change when remote access is added?

Evidence to keepUpdated assessment links and affected tests

Sources and editions

Checked on 11 November 2026. Links support the technical discussion; the review examples are Aceman’s engineering analysis.

  1. ISO 26262-3:2018: concept phase Published standard; public scope and edition status
  2. ISO 26262-6:2018: software development Published standard; public scope and edition status
  3. ISO/SAE 21434:2021: cybersecurity engineering Published standard; public scope and edition status
  4. NHTSA: Safety Management of Automotive Rechargeable Energy Storage Systems Government research report
  5. SAE J2980, revised October 2023 Recommended practice; public scope
  6. Automotive Hardware Attacks: An Architect’s Guide to TARA Research preprint, submitted 7 October 2026; not a replacement for the standard

Related experience: see the project and Aceman’s responsibility

Written by Aceman

UK software engineering across embedded systems, AI infrastructure and applications. Meet our founder and see his experience.