Enhancing Software Safety in System-Intensive Environments: Applying System-Theoretic Process Analysis (STPA)
Max Chopart
Open-Mic
24/10/24
STAMP (System-Theoretic Accident Model Process) – The Model
2
STAMP (System-Theoretic Accident Model Process) – The Model
3
STPA (System-Theoretic Process Analysis) – The Methodology
4
Goals of systemic approach: Case study – Lufthansa Flight 2904
A320-211
5
Goals of systemic approach: Case study – Lufthansa Flight 2904
Lufthansa Flight 2904 - Illustration of time elapsed between touchdown of the first main strut, the second and engagement of brakes.
6
Goals of systemic approach: Case Study – Lufthansa Flight 2904
Lufthansa Flight 2904 crash
7
What failed?
Case study - AVA project
8
Step 1. Define the purpose of the analysis
9
Step 1. Define the purpose of the analysis
L-1: Loss of aircraft operational safety
L-2: Loss of data integrity
L-3: Loss of system confidentiality
L-4: Loss of decision-making efficiency
L-5: Loss of productivity
L-6: Loss of compliance (DO-178C)
H-1: Incorrect or incomplete data (L1, L2, L4, L5, L6)
H-2: Inaccurate or outdated records impair fault diagnosis and system reliability analysis (L1, L2, L4, L5, L6)
H-3: System outages or performance issues (L1, L2, L4, L5, L6)
H-4: Unauthorized users gain access to sensitive system data or functionality (L3)
10
Step 2. Model The Control Structure
11
Step 2. Model The Control Structure
12
Step 2. Model The Control Structure
13
Step 3. Identify the Unsafe Control Actions (UCA)
14
Step 3. Identify the Unsafe Control Actions (UCA)
15
Step 3. Identify the Unsafe Control Actions (UCA)
16
Control Action | Not providing causes hazard | Providing causes hazard | Too early, too late, or out of order | Stopped too soon or applied too long |
Models FTA | UCA 1.1: Does not create fault tree, leading to a missed opportunity to identify system failures (H1, H2, H3) | UCA 1.2: FTA Tool creates a fault tree based on incorrect data, leading to incorrect fault diagnosis (H1, H2, H3) | N/A | UCA 1.3: Fault tree modeling is stopped before all inputs are considered, resulting in incomplete analysis (H1, H2, H3) |
Sends records | UCA 2.1: Record Manager does not send defect records to AVA Analytics, delaying data analysis and maintenance (H1, H2, H3) | UCA 2.2: Record Manager sends incorrect or incomplete records to AVA Analytics leading to incorrect analysis (H1, H2, H3) | UCA 2.3: Records are sent too early, before validation is complete, leading to incorrect analysis (H1, H2, H3) | UCA 2.4: Record Manager stops sending records before the full dataset is sent, causing incomplete data processing (H1, H2, H3) |
Step 4. Identify the Loss Scenarios
17
Step 4. Identify the Loss Scenarios
18
STPA is about abstraction - Zoom OUT !!!
19
Why do I need to apply STPA on AVA project?
DO-178C: Standard for ensuring the safety and reliability of software used in airborne systems, outlining requirements for software development and verification based on the criticality of the software. It defines a structured lifecycle process, including documentation and verification activities, to facilitate compliance with aviation regulations and certification.
20
Your thoughts about STPA in Software Development?
21