Skip to content

Lesson 9 of 9 · 20m

Living Threat Models: Ownership, Incidents, and Change

Threat models rot quickly. Keep them small, owned, test-backed, and updated by incidents and architectural change instead of calendar-driven rewrites.

A threat model is not a snapshot of truth; it is a cache of assumptions. The system changes, dependencies change, attackers adapt, and the cache goes stale. Teams that treat threat models as finished artifacts end up defending the system they wish they had. Teams that treat them as living engineering records get compounding value.

Ownership beats centralized custody

The feature team owns its threat model because the feature team owns the assumptions. Security can facilitate, review, and challenge, but if security is the sole maintainer the artifact will lag behind reality. Assign a human owner and put the file where engineers work:

services/payments/threat-model.md
services/payments/webhook-requirements.yaml
services/payments/tests/test_webhook_security.py

When a new engineer asks "why do we verify the timestamp twice?" the answer should be one link away, not in someone's memory.

Let change trigger review, not the calendar

Annual reviews produce ceremony. Event-driven review produces accuracy. Reopen the model when you:

  • add a new actor, integration, protocol, or data type
  • move a synchronous operation into a queue or background job
  • introduce caching, replication, offline behavior, or client-side storage
  • add admin or support tooling with unusual power
  • change identity, tenancy, billing, or cryptographic trust relationships
  • ship a near miss or incident touching the same path

Small updates are cheap. A paragraph and two new requirements can be enough.

Incidents are free threat intelligence

Post-incident reviews often stop at "add a test." Push one level further: which assumption failed? Was a boundary missing from the DFD? Did we underestimate replay, insider misuse, dependency failure, or attacker scale? Then update the tree and the requirement, not just the code.

incident: INC-2041 webhook replay caused duplicate fulfillment
failed_assumption: provider retries always use a distinct event id
new_requirement: idempotency key must combine provider event id and payload hash
verification: integration test replay_same_event_distinct_payload_is_rejected

That last part matters. Attackers mutate. A fix that depends on the exact incident shape is incomplete.

Measure whether the process works

Useful indicators are engineering outcomes, not document counts: percentage of high-risk features with reviewed models, blocker findings closed before launch, security requirements with executable tests, time from architectural trigger to review, and repeat incidents caused by known accepted risks. If teams write models but ship the same classes of bugs, the process is decoration.

Field notes

  • Delete stale detail aggressively. A small accurate model beats a large confident lie.
  • Version control the model, but do not worship history — the current invariant matters more than the original rationale.
  • Link accepted risks to expiry or revisit triggers; silent permanent acceptance is how exceptions become architecture.
  • A model that never changes is either untouched by reality or nobody trusts it enough to use it.

Was this lesson helpful?

Sign in to rate