{
  "schema_version": "1.0",
  "regulation_id": "UN-R155",
  "annex_id": "UN-R155-ANNEX-5",
  "reference": "Annex 5",
  "title": "List of threats and corresponding mitigations",
  "version_basis": ["UN-R155-ORIGINAL", "UN-R155-AMENDMENT-2"],
  "source_ids": ["UNECE-R155-BASE", "UNECE-R155-AMENDMENT-2"],
  "model_note": "Official regulatory content is represented separately from future NCRC threat mappings. Text coverage is intentionally partial in this first seed and can be expanded node-by-node from the authoritative sources.",
  "parts": [
    {"id":"UN-R155-A5-A","type":"annex_part","reference":"Part A","title":"Vulnerability or attack method related to the threats","semantic_role":"threat_vulnerability_attack_catalogue"},
    {"id":"UN-R155-A5-B","type":"annex_part","reference":"Part B","title":"Mitigations to the threats intended for vehicles","semantic_role":"vehicle_mitigations"},
    {"id":"UN-R155-A5-C","type":"annex_part","reference":"Part C","title":"Mitigations to the threats outside of vehicles","semantic_role":"external_mitigations"}
  ],
  "attack_impacts": [
    {"reference":"a","label":"Safe operation of vehicle affected"},
    {"reference":"b","label":"Vehicle functions stop working"},
    {"reference":"c","label":"Software modified, performance altered"},
    {"reference":"d","label":"Software altered but no operational effects"},
    {"reference":"e","label":"Data integrity breach"},
    {"reference":"f","label":"Data confidentiality breach"},
    {"reference":"g","label":"Loss of data availability"},
    {"reference":"h","label":"Other, including criminality"}
  ],
  "nodes": [
    {"id":"UN-R155-A5-A-4.1","type":"attack_method","part":"A","table":"A1","reference":"4.1","parent_topic":"Threats to vehicles regarding their communication channels","label":"Spoofing of messages by impersonation","version_state":"amended_by_UN-R155-AMENDMENT-2","related_mitigations":["UN-R155-A5-B-M10"]},
    {"id":"UN-R155-A5-A-4.2","type":"attack_method","part":"A","table":"A1","reference":"4.2","parent_topic":"Threats to vehicles regarding their communication channels","label":"Sybil attack","version_state":"amended_by_UN-R155-AMENDMENT-2","related_mitigations":[]},
    {"id":"UN-R155-A5-A-12.1","type":"attack_method","part":"A","table":"A1","reference":"12.1","parent_topic":"Threats to vehicles regarding their update procedures","label":"Compromise of over the air software update procedures","related_mitigations":["UN-R155-A5-B-M16"]},
    {"id":"UN-R155-A5-A-24.1","type":"attack_method","part":"A","table":"A1","reference":"24.1","parent_topic":"Potential targets of, or motivations for, an attack","label":"Denial of service affecting internal vehicle systems or operations","related_mitigations":["UN-R155-A5-B-M13"]},
    {"id":"UN-R155-A5-A-28.1","type":"vulnerability","part":"A","table":"A1","reference":"28.1","parent_topic":"Potential vulnerabilities that could be exploited if not sufficiently protected or hardened","label":"Software bugs as a basis for exploitable vulnerabilities","related_mitigations":["UN-R155-A5-B-M23"]},
    {"id":"UN-R155-A5-A-31.1","type":"vulnerability","part":"A","table":"A1","reference":"31.1","parent_topic":"Data loss / data breach from vehicle","label":"Information breach when a vehicle changes user","related_mitigations":["UN-R155-A5-B-M24"]},
    {"id":"UN-R155-A5-B-M10","type":"mitigation","part":"B","reference":"M10","domain":"vehicle","label":"Verify authenticity and integrity of messages received by the vehicle","addresses":["UN-R155-A5-A-4.1"]},
    {"id":"UN-R155-A5-B-M13","type":"mitigation","part":"B","reference":"M13","domain":"vehicle","label":"Detect and recover from denial of service attacks","addresses":["UN-R155-A5-A-24.1"]},
    {"id":"UN-R155-A5-B-M16","type":"mitigation","part":"B","reference":"M16","domain":"vehicle","label":"Employ secure software update procedures","addresses":["UN-R155-A5-A-12.1"]},
    {"id":"UN-R155-A5-B-M23","type":"mitigation","part":"B","reference":"M23","domain":"vehicle","label":"Follow cybersecurity best practices for software and hardware development","addresses":["UN-R155-A5-A-28.1"]},
    {"id":"UN-R155-A5-B-M24","type":"mitigation","part":"B","reference":"M24","domain":"vehicle","label":"Follow best practices protecting integrity and confidentiality when storing personal data","addresses":["UN-R155-A5-A-31.1"]},
    {"id":"UN-R155-A5-C-M1","type":"mitigation","part":"C","reference":"M1","domain":"backend","label":"Apply security controls to back-end systems to minimise insider-attack risk","addresses":["UN-R155-A5-A-1.1","UN-R155-A5-A-3.1"]},
    {"id":"UN-R155-A5-C-M2","type":"mitigation","part":"C","reference":"M2","domain":"backend","label":"Apply security controls to back-end systems to minimise unauthorised access","addresses":["UN-R155-A5-A-1.2","UN-R155-A5-A-3.3"]},
    {"id":"UN-R155-A5-C-M3","type":"mitigation","part":"C","reference":"M3","domain":"backend","label":"Apply back-end security controls and recovery measures for critical service outages","addresses":["UN-R155-A5-A-2.1"]},
    {"id":"UN-R155-A5-C-M4","type":"mitigation","part":"C","reference":"M4","domain":"backend","label":"Apply security controls to minimise cloud-computing risks","addresses":["UN-R155-A5-A-3.2"]},
    {"id":"UN-R155-A5-C-M5","type":"mitigation","part":"C","reference":"M5","domain":"backend","label":"Apply security controls to back-end systems to prevent data breaches","addresses":["UN-R155-A5-A-3.5"]}
  ],
  "integrity": {
    "coverage": "seed",
    "complete_annex_transcription": false,
    "future_mapping_file": "../mappings/r155_threat_mappings.json"
  }
}
