This register is broader than the threat model. The threat model is a STRIDE inventory of security threats at boundaries. This register captures product, schedule, cost, operational, supply-chain, and security risks together, with state, mitigations, and ownership.
State legend:
- Watch = monitored, no action required this stage.
- Triggered = the leading indicator fired; PM must escalate per the SOP Risk Management Process.
- Mitigated = control is in place; the risk persists but is reduced to an acceptable level.
- Accepted = explicitly accepted, no further action.
- Resolved = the underlying condition no longer applies; risk is closed.
| Field | Value |
|---|
| Category | Security / data classification |
| State | Watch |
| Likelihood | Low (operator-controlled) |
| Impact | High (notifiable-breach class if PII corpus is loaded) |
| Trigger | Any change to the corpus identifier in the ingestion loader or pyproject.toml |
| Mitigation today | Corpus pinned in code (RAG003). Data classification doc names one class only |
| Mitigation planned | Feature #66 / #67 add a CI gate that compares the corpus identifier in the loader to the value in data-classification.md |
| Cross-ref | Threat model T3; data-classification.md; #66, #67 |
| Owner | Security Specialist |
| Field | Value |
|---|
| Category | Cost / operational |
| State | Mitigated — budgets and alarms email the operator (#385) |
| Likelihood | Medium (any test loop, retry storm, or compromised key) |
| Impact | Medium (capped by AWS account but personal-budget-painful) |
| Trigger | Daily Bedrock spend over $5 across the account, which the rag-sample-bedrock-daily budget reports |
| Mitigation today | Per-key lifetime request quota (RAG009); the POST /query route throttle (1 req/s, burst 5); the authorizer’s reserved concurrency of 5 (#380). A $5/day budget on the Bedrock services, a $40/month account budget, and per-environment CloudWatch alarms email the operator through the rag-sample-alerts topic; the spend and abuse runbook has the response steps and the kill switch. The daily budget can alert up to about 12 hours after a breach. The API invocations alarm fires within minutes, but only on GET /healthz floods: the POST /query throttle keeps that route below its threshold, so Bedrock spend through /query is caught by the budget |
| Mitigation planned | Layer 3 (Budgets Action) is deferred per D-4 until the trigger in the spend-control ADR, RAG021, holds. #385 supersedes #295 (tag-filtered budgets) and Story #64 (the $5 alarm) |
| Cross-ref | RAG007 (Haiku-class selection reduces unit cost); #385 (supersedes #64, #295); cost.md |
| Owner | DevOps Lead |
| Field | Value |
|---|
| Category | Security |
| State | Watch |
| Likelihood | Low today (curated public dataset); high if corpus is swapped |
| Impact | Medium (off-policy output attributed to product) |
| Trigger | Output review flags off-template responses; or corpus change |
| Mitigation today | Delimited retrieved content in prompt; explicit “data not instructions” note |
| Mitigation planned | Capability #44 Safety Gate; Bedrock Guardrails approved per Decision #55 (closed), gated on #44 entering Stage 3 |
| Cross-ref | Threat model T1; #44, Decision #55 |
| Owner | Security Specialist |
| Field | Value |
|---|
| Category | Security |
| State | Watch |
| Likelihood | High during the window between authorizer go-live and Story #62 ship |
| Impact | High (bearer tokens in plaintext in CloudWatch) |
| Trigger | RAG009 stories #59-#63 deploy ahead of #62 |
| Mitigation planned | Sequencing: #62 (log scrub) must ship in the same release as #60 (authorizer). PM enforces |
| Cross-ref | Threat model; per-feature requirements; #62 |
| Owner | PM + Security Specialist |
| Field | Value |
|---|
| Category | Security / supply chain |
| State | Watch |
| Likelihood | Low per-dep, accumulating with surface area |
| Impact | High |
| Trigger | pip-audit or npm audit reports new High/Critical CVE on direct or transitive dep |
| Mitigation planned | pip-audit and npm audit jobs in CI (non-blocking initially, blocking once baseline is clean). SBOM process per sbom.md |
| Cross-ref | sbom.md; #29 |
| Owner | DevOps Lead + Security Specialist |
| Field | Value |
|---|
| Category | Operational / developer experience |
| State | Watch |
| Likelihood | Certain (already observed) |
| Impact | Low (productivity drag, no shipping risk) |
| Trigger | Already triggered for npm install, pip install, dev servers |
| Mitigation today | Vite cache redirected to ext4 (astro.config.mjs) |
| Mitigation planned | Issue #41 relocates Python .venv to ext4 |
| Cross-ref | #41; planning repo CLAUDE.md “Architecture notes” |
| Owner | Operator |
| Field | Value |
|---|
| Category | Schedule / delivery |
| State | Watch |
| Likelihood | High (the gate is a hard-fail) |
| Impact | Low (intended behavior; surfaces gaps early) |
| Trigger | PR fails pytest --cov-fail-under=90 |
| Mitigation today | Coverage exclusion policy at coverage-exclusions.md |
| Mitigation planned | QA plans (qa/plan-*.md) call out per-Feature coverage approach; DoD template requires the check pass |
| Cross-ref | RAG006; qa/summary.md; dod-template.md |
| Owner | QA Lead |
| Field | Value |
|---|
| Category | Deployment / security |
| State | Watch |
| Likelihood | Certain (no issue exists) |
| Impact | Medium (Stage 4 deploys can’t run without it) |
| Trigger | First Terraform apply story enters Stage 4 |
| Mitigation today | OIDC trust policy design documented in deployment-plan.md |
| Mitigation planned | PM opens a tracking issue under Capability #26; DevOps Lead provisions the role in Stage 4 |
| Cross-ref | deployment-plan.md; #25, #29 |
| Owner | PM (to open issue), DevOps Lead (to design) |
| Field | Value |
|---|
| Category | Operational / availability |
| State | Watch (operator decision D-5, #384) |
| Likelihood | Medium (every QA deploy can break the environment recipients use) |
| Impact | Medium (a prospective employer sees an error page or a failed query) |
| Trigger | A QA deploy fails smoke, or a recipient reports the demo down |
| Mitigation today | QA is the only live environment and the one recipients use. Each QA deploy runs the post-deploy smoke check, which fails the run on a regression. Prod is frozen: bootstrap’s enable_prod defaults to false, and applying bootstrap with that default removes the Prod deploy role, and the GitHub prod environment is not created until #28 |
| Mitigation planned | #441 rolls a failed QA deploy back to the LAST_GOOD package. #28 adds the prod environment with its manual-approval gate; the operator then sets enable_prod = true and applies bootstrap |
| Cross-ref | deployment-plan.md; #28, #384, #441 |
| Owner | DevOps Lead |
| Field | Value |
|---|
| Category | Security / cost |
| State | Watch (operator decision D-3: no WAF until the trigger below) |
| Likelihood | Low (keys go to identified recipients; no self-serve or public key exists) |
| Impact | Low to medium. Per-key quotas and the route throttle bound cost. Availability is not bounded: the POST /query throttle is one bucket shared by every caller, so one client can starve every recipient (accepted under D-3) |
| Trigger | A self-serve or public key is issued, or two key-depletion alarms fire in one month. Either reopens #240 (CloudFront WAF). The depletion alarm arrives with #394; until then the operator’s key review is the only signal |
| Mitigation today | Per-key lifetime quota (RAG009) and the POST /query route throttle. No WAF, and the CloudFront Free plan was rejected |
| Mitigation planned | #380 adds explicit routes, per-route throttles and an authorizer concurrency cap. #240 is deferred until the trigger fires; a CloudFront WAF would not cover the public execute-api host, because HTTP APIs have no WAF association |
| Cross-ref | #240, #380; assessment |
| Owner | Security Specialist |
Risks move here when the underlying condition no longer applies or a control is in place with explicit operator acceptance.
| Field | Value |
|---|
| Category | Security |
| Initial state | Watch |
| Current state | Mitigated |
| Likelihood | Medium (any public endpoint receives adversarial inputs) |
| Impact | Low (same audience as requester for single-tenant demo) |
| Trigger | 422 oversized-question rate elevated; output review |
| Mitigation | RAG013 prompt-attack filter via ApplyGuardrail before the pipeline runs; question length cap (retrieval spec); RAG009 bearer auth limits caller pool |
| Cross-ref | Threat model T2; RAG013 |
| Owner | Security Specialist |
| Field | Value |
|---|
| Category | Architecture / governance |
| Initial state | Triggered |
| Current state | Resolved |
| Trigger | Architect-reviewer Stage 3 review §2 flagged it |
| Resolution | RAG011 written, documenting the public-path access contract and rationale for no Lambda VPC attachment |
| Cross-ref | RAG001; RAG011 |
| Owner | Solution Architect (Operator) |
| Field | Value |
|---|
| Category | Architecture / governance |
| Initial state | Triggered |
| Current state | Resolved |
| Trigger | Architect-reviewer Stage 3 review §2 |
| Resolution | RAG012 written, covering Vite + React, S3 + CloudFront target, no SSR, and the rationale against Next.js |
| Cross-ref | RAG012; #17, #18 |
| Owner | Solution Architect (Operator) |
| Field | Value |
|---|
| Category | Schedule / scope |
| Initial state | Triggered |
| Current state | Resolved |
| Trigger | Architect-reviewer §3 flagged as top gold-plating candidate |
| Resolution | Scope decision made: harness retained under Capability #44 Safety / Quality, scoped to BERTScore + SentenceTransformers with no threshold enforcement. RAG014 records the decision and rejected alternatives |
| Cross-ref | RAG014; architect-reviewer §3, §4 item 7; #14, #44 |
| Owner | Operator |
This register is updated at every PM Notification trigger and at every stage gate. The Risk Management Process loads at every stage start; Triggered risks escalate immediately to the operator.