docs(threat-model): §12 CLS STRIDE analysis + SRS §3.18 amendments — M8 SEC-12 gate #199

Merged
amiryahaya merged 1 commit from docs/m8-stride-cls into main 2026-11-13 14:10:27 +01:00
Owner

The SEC-12/#30 phase-opening gate for M8 — Groups & Classification Lattice (#158): no 7.14+ code before this is reviewed (same pattern as §11 for Phase 9).

What

  • Threat-model §12: per-feature STRIDE table over CLS-01..09 + the lattice soundness argument (floors gate distribution, personal clearance gates access — every control leans on CLS-06 being per-principal and un-cacheable).
  • Six design-stage findings, four with binding decisions:
    • CLS-T1 (High): a per-tenant level-table remap would invert every comparison (swap Confidential↔TopSecret order = mass read-up with zero code change) → table is platform-provisioned at flag-enable, no tenant edit surface; future custom-labels = order-preserving renames only.
    • CLS-E2 (High): clearance changes had no audit event and self-raise was undefined (§3.3 malicious-admin blind spot) → SRS gains clearance_assigned/changed + no-self-change invariant (setter ≠ target).
    • CLS-E3 (Medium): floor-RAISE direction unspecified → symmetric auto-remove rule (same event + notifications as user downgrade).
    • CLS-E4 (Medium): folder-level change cascade unspecified (badge would lie over higher-level content) → container-constraint semantics: files keep their levels, enforcement per-file, folder badge = container floor, raises don't retroactively revoke (CLS-06 governs).
    • CLS-T5 (Low): download path must re-check per chunk; presigning TTL constraint recorded.
    • CLS-D6 (Low): mass-downgrade notification storms → SEC-08 velocity caps.
  • SRS §3.18 rows amended in place (CLS-01/02/03/04/09), marked [§12 …] — pre-implementation amendments, M8 code has not started.

Findings review path

The four binding decisions are posted on epic #158 for veto — silence = adopted (same convention as the §11 amendments).

Docs-only: api-ci/desktop-ci are paths-filtered off; security-scan is the required gate.

The SEC-12/#30 phase-opening gate for **M8 — Groups & Classification Lattice (#158)**: no 7.14+ code before this is reviewed (same pattern as §11 for Phase 9). ## What - **Threat-model §12**: per-feature STRIDE table over CLS-01..09 + the lattice soundness argument (floors gate *distribution*, personal clearance gates *access* — every control leans on CLS-06 being per-principal and un-cacheable). - **Six design-stage findings**, four with binding decisions: - **CLS-T1 (High)**: a per-tenant level-table remap would invert every comparison (swap Confidential↔TopSecret order = mass read-up with zero code change) → table is **platform-provisioned at flag-enable**, no tenant edit surface; future custom-labels = order-preserving renames only. - **CLS-E2 (High)**: clearance changes had **no audit event** and self-raise was undefined (§3.3 malicious-admin blind spot) → SRS gains `clearance_assigned/changed` + **no-self-change** invariant (setter ≠ target). - **CLS-E3 (Medium)**: floor-RAISE direction unspecified → symmetric auto-remove rule (same event + notifications as user downgrade). - **CLS-E4 (Medium)**: folder-level change cascade unspecified (badge would lie over higher-level content) → **container-constraint semantics**: files keep their levels, enforcement per-file, folder badge = container floor, raises don't retroactively revoke (CLS-06 governs). - **CLS-T5 (Low)**: download path must re-check per chunk; presigning TTL constraint recorded. - **CLS-D6 (Low)**: mass-downgrade notification storms → SEC-08 velocity caps. - **SRS §3.18 rows amended in place** (CLS-01/02/03/04/09), marked `[§12 …]` — pre-implementation amendments, M8 code has not started. ## Findings review path The four binding decisions are posted on epic #158 for veto — silence = adopted (same convention as the §11 amendments). Docs-only: api-ci/desktop-ci are paths-filtered off; security-scan is the required gate.
docs(threat-model): §12 CLS STRIDE analysis + SRS §3.18 STRIDE amendments — the M8 SEC-12 gate
All checks were successful
Security CI / security-scan (pull_request) Successful in 2m44s
6d2cf01784
Threat-model §12 (mirrors the §11 DUR shape): per-feature STRIDE table
over CLS-01..09 + six design-stage findings:

- CLS-T1 (High): per-tenant level-table remap inverts every comparison —
  table is platform-provisioned at flag-enable, no tenant edit surface
  this iteration; custom-labels iteration = order-preserving renames only.
- CLS-E2 (High): clearance changes had NO audit event + self-raise
  undefined — SRS CLS-09 gains clearance_assigned/changed; CLS-02 gains
  the no-self-change invariant (setter != target).
- CLS-E3 (Medium): floor-RAISE direction unspecified — symmetric
  auto-remove rule added to CLS-03.
- CLS-E4 (Medium): folder-level change cascade unspecified — binding
  container-constraint semantics (files keep levels; enforcement
  per-file; folder badge = container floor) added to CLS-04.
- CLS-T5 (Low): read-time re-check must cover per-chunk download fetches;
  presigning TTL constraint recorded for the future.
- CLS-D6 (Low): mass-downgrade notification storms — bounded by SEC-08.

Lattice soundness argument recorded: floors gate distribution, personal
clearance gates access — every other control leans on CLS-06 being
per-principal and un-cacheable.

SRS §3.18 rows amended in place, marked [§12 ...] — M8 has not started
code, so these are pre-implementation amendments per the SEC-12 gate
(same pattern as §11 for Phase 9).
Sign in to join this conversation.
No description provided.