Skip to main content

openXSAM (Open eXchange Format of Security Analysis Models)

openXSAM (Open eXchange Format of Security Analysis Models) is an open, XML-based format for exchanging security analyses. It represents the content of a Threat Analysis and Risk Assessment (TARA) under ISO/SAE 21434 in machine-readable form, so it can move between tools, departments and companies.

What is openXSAM needed for?

A TARA rarely stays in one tool. The architecture comes from the modelling tool. The supplier hands its analysis to the OEM. Test teams derive their test plans from the risks. ISO 21434 says which work products must exist. It doesn’t say how they get from one tool into the next. In practice that often means Excel, PDF and retyping.

That’s where openXSAM comes in. Instead of a dedicated interface between every pair of tools, an export on one side and an import on the other is enough.

What is inside an openXSAM file?

The specification splits the data model into modules. A file can hold a complete model or just individual modules, down to single elements.

ModuleContent
Item DefinitionFunctions, components, data, channels and data flows
Method ConfigurationThe assessment model: impact levels, feasibility model, risk matrix
Security AnalysisAssumptions, damage scenarios, threat scenarios, attack steps
RiskRisks with their treatment decision
ControlsControls and the elements they act on

Elements reference each other by name, by their own ID or by an external ID. Name references stay readable and survive changes to the assessment model. Vendor-specific additions go into their own XML namespaces without breaking the core format.

Use cases

The specification names four:

  • Sharing risk information, in-house and with partners.
  • Deriving test plans from the TARA and mapping test results back to the risks.
  • Feeding the risk model into attack surface management and detection & response.
  • Composing supplier and OEM TARAs into a vehicle-level TARA. This part is still work in progress.

Origin

openXSAM goes back to XSAM. The format was created in the SecForCARs research project and is in productive use in itemis SECURE. In 2020 itemis turned it into an open, cross-vendor initiative, and in 2022 it became a Technical Committee of the Automotive Security Research Group (ASRG). Version 1.0 of the specification was published in 2023. The specification and XML schemas are public in the ASRG GitHub repository.

The practical limitation

As with ReqIF, the format defines what can be carried. Whether two tools exchange a file without loss only shows in a test with exactly those tools. The XML schemas help here. A file that doesn’t validate isn’t worth importing.

The article The TARA Arrives, Its References Don’t shows what an openXSAM file looks like for the headlamp example from the standard. How itemis SECURE exchanges TARA data is described on our Cyber Security page.

Related terms

Frequently asked questions

Who maintains openXSAM?
The specification and XML schemas are public in the GitHub repository of the Automotive Security Research Group (ASRG). The format grew out of XSAM, the exchange format of itemis SECURE. itemis turned it into an open initiative in 2020 and is still involved.
Is openXSAM the same as ReqIF?
No. ReqIF carries requirements. openXSAM carries the content of a TARA: system model, assessment rules, damage and threat scenarios, attack steps, risks and controls. Both solve the same problem for different work products.
Does ISO/SAE 21434 require openXSAM?
No. The standard asks for work products, not a file format. openXSAM answers how those work products move between OEM, suppliers and tools without anyone retyping them.
Reviewed by Jens Bühl, Product Owner on October 29, 2026