Skip to content

safety(stpa): first-pass STPA + STPA-Sec hazard analysis (DRAFT for review)#46

Open
avrabe wants to merge 1 commit into
mainfrom
feat/stpa-bootstrap
Open

safety(stpa): first-pass STPA + STPA-Sec hazard analysis (DRAFT for review)#46
avrabe wants to merge 1 commit into
mainfrom
feat/stpa-bootstrap

Conversation

@avrabe

@avrabe avrabe commented Jun 6, 2026

Copy link
Copy Markdown
Contributor

Bootstraps STPA + STPA-Sec for wohl (previously ASPICE-only) — the consumer-repo pilot of the new bootstrap-verification + stpa-audit skills. Adds the rivet stpa/stpa-sec schemas + sources and a first-pass analysis grounded in wohl's six monitors, CCSDS streams, hub, and dispatcher.

Contents

  • STPA: 4 losses · 5 hazards · control structure (monitors / dispatcher / hub + controlled processes) · 6 UCAs (not-providing / providing / too-early-too-late) · 4 controller-constraints closing every hazard + UCA · 4 loss scenarios.
  • STPA-Sec: 3 sec-losses · 3 sec-hazards (CIA-tagged) · 3 sec-constraints — stream authentication, presence-confidentiality, credential protection.

Validation: iterated to rivet validate PASS (0 errors) — the oracle caught real gaps in the first draft (missing typed hazard links, undefined processes, UCA-type values, unclosed hazard→constraint loop) and I fixed each. Residual warnings are pre-existing wohl gaps (docs frontmatter, a SYSREQ verification gap, a schema coverage-rule note), not these artifacts.

⚠️ AI-assisted DRAFT — not authoritative safety content. Please run stpa-audit's soundness review (are these the real losses/hazards for wohl? attacker model adequate?) before relying on it. Left open for your review, not auto-merged.

🤖 Generated with Claude Code

…eview)

Bootstraps STPA + STPA-Sec for wohl (previously ASPICE-only), via the
bootstrap-verification + stpa-audit skills. Adds the rivet stpa/stpa-sec schemas
+ sources and a first-pass analysis grounded in wohl's six monitors, CCSDS
streams, hub, and alert dispatcher:

  STPA: 4 losses, 5 hazards, control structure (monitors/dispatcher/hub +
  controlled processes), 6 UCAs (not-providing / providing / too-early-too-late),
  4 controller-constraints closing every hazard + UCA, 4 loss scenarios.
  STPA-Sec: 3 sec-losses, 3 sec-hazards (CIA), 3 sec-constraints — covering
  stream authentication, presence-confidentiality, and credential protection.

AI-assisted DRAFT for domain review — NOT authoritative safety content. Iterated
to `rivet validate` PASS (0 errors); the only residual warnings are pre-existing
wohl gaps (docs frontmatter, a SYSREQ verification gap, a schema coverage-rule
note), not these artifacts. Run stpa-audit's soundness review before relying on
the hazards/losses.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant