Import File

Upload a code or text file to extract safety hazards and analysis records into the database.

Supported formats

Text file example
type: hazard
id: HAZ-001
title: Fuel valve fails open
description: Solenoid may fail in open position under coil short circuit.
system: Propulsion
severity: Catastrophic
probability: Improbable
mitigation: Add redundant shutoff valve downstream.
status: Open

type: analysis
analysis_type: CLSA
hazard: HAZ-001
findings: No NULL check before actuate() call in valve_ctrl.c.
analyst: J. Smith
date: 2026-05-07
  
Code annotation example
# HAZARD: id=HAZ-101; title=Null deref in actuator; system=Flight Control; severity=Critical; probability=Remote
# SAFETY: hazard=HAZ-101; findings=Return value of arm_actuator() never checked
# SAFETY-CRITICAL: This function controls rocket ignition sequence
  
Max 1 MB. Supported: .txt, .py, .js, .c, .h
Used for analysis records that don't specify an analyst.