Part IV — Expert Production Engineering · Chapter 24 · Lesson 6 of 7 · 2 min read
Lesson 6: Threat Modeling and External Release Gates
Lesson level: Expert
Purpose: Release readiness is an evidence-backed decision. RC2 remains distinct from general availability until its required external gates are satisfied.
Learning Objectives
- Separate reported compatibility from executed evidence.
- Build a controlled validation and recovery plan.
- Preserve unresolved release blockers explicitly.
6.1 Concepts
The supplied threat model covers source packages, model bundles, credentials, prediction data, and registry state across CLI, HTTP serving, connectors, package registry, and Kubernetes boundaries. It identifies artifact tampering, credential disclosure, inference abuse, supply-chain substitution, and lateral movement. Convert each control claim into a verified test and residual-risk decision. In-process restrictions are not operating-system isolation for hostile code.
6.2 Annotated Example
The RC2 gate report leaves manual third-party license review, live provider integration certification, independent security assessment, multi-hour soak/load evidence, and signed external publication open. Its passing automated gates do not remove these blockers. The security preparation document explicitly says independent external review has not been performed. Annotation: this guide preserves that status; no general-availability approval is inferred.
6.3 Guided Practice
For each threat, identify asset, boundary, permitted actor, abuse case, enforcing component, test evidence, and remaining risk. Distinguish a prepared review pack from a completed assessment.
6.4 Common Mistakes
Do not mark a gate passed because a report generator exists, treat a mocked cloud transport as live certification, or describe a signature implementation as signed external publication.
6.5 Hands-On Lab
- Build a threat-to-control matrix for the capstone service.
- Run harmless negative fixtures for tampering, denied permissions, oversized requests, and unsafe archive paths.
- Record each required external review with actual status and evidence owner role.
- Make missing required evidence block the release decision.
Deliverable: Executed fixture evidence, recovery or threat matrix, and an honest gate decision.
6.6 Review Questions
Which external gates remain open in RC2? Why is review preparation not independent review? What evidence closes a threat-control claim?
6.7 Applied Challenge
Create a release decision record that reports automated results, external evidence, unresolved risks, and a blocked decision wherever required evidence is absent.
Lesson Summary
Release readiness is an evidence-backed decision. RC2 remains distinct from general availability until its required external gates are satisfied.
Lesson status: Draft complete; ready for review. Source-checked, not a release approval.