Threat model (STRIDE) template

Draw the data flow, mark the trust boundary, then walk STRIDE over every flow that crosses it and give each threat a mitigation and an owner.

Use this templateFree, opens in your browser. No sign-up.

Threat model (STRIDE) template
Trust boundary: our VPC
STRIDE, flow by flow
Threat model (STRIDE)
Draw how data moves, mark the trust boundary, then walk the six STRIDE threats over every arrow that crosses it.
Browser
API gateway
Auth service
Orders API
Postgres
Secrets vault
Payment provider
Look hardest at arrows that cross the boundary
Rate each threat: likelihood × impact
Threat
Here, for example
Mitigation
Owner
Status
Spoofing
Stolen session token replayed (1)
15-min tokens, refresh rotation
Auth team
done
Tampering
Price changed in the order request (3)
Server recomputes every total
Orders team
done
Repudiation
“I never placed that order”
Signed audit log per order
Orders team
in progress
Information disclosure
Card numbers end up in logs (5)
Tokenise at the provider, log scrubber
Platform
done
Denial of service
Bots flood checkout (1)
Rate limit per IP + WAF rules
Platform
todo
Elevation of privilege
User edits someone else's order (3)
Ownership check in every query
Orders team
todo
1 HTTPS
2 check token
3 place order
signing key
4 SQL
5 charge
The threat model (STRIDE) template as it opens in Kelvo: 7 boxes, 2 sticky notes, 1 table and 6 links, in 2 sections.

What's on the board

Trust boundary: our VPC
Auth service · Secrets vault · API gateway · Orders API · Postgres
STRIDE, flow by flow

Table columns: Threat, Here, for example, Mitigation, Owner, Status.

Also on the board

  • Browser
  • Payment provider
  • Look hardest at arrows that cross the boundary
  • Rate each threat: likelihood × impact

How to use this template

  1. Click Use this template. It opens in the Kelvo app as a new board, saved in your browser.
  2. Double-click any box to change its text. Replace the examples with your own content.
  3. Paste a table. Paste comma- or tab-separated text and it becomes a table. Tab moves to the next cell and adds rows as you go.
  4. Paste code as code. Paste a snippet and it becomes a code block with syntax colouring; Tab indents inside it.
  5. Link by dragging. Hover a box and drag one of its dots onto another box. The whole box is the target, and links stay attached when you move things.

Good for

  • threat model
  • stride
  • security
  • appsec
  • engineer
  • Designing a schema or an API before writing it
  • Explaining a tricky flow in a code review or design doc
  • Agreeing on team conventions such as branching and reviews

Related templates

  • ER diagram (database schema) template previewER diagram (database schema)

    Entities as tables with columns, types and keys, joined by one-to-many relationships — sketch a schema before the migration.

  • UML class diagram template previewUML class diagram

    Classes with fields and methods, associations with multiplicity, and an interface with two implementations.

  • State machine template previewState machine

    Every state an order can be in and the events that move it — the source of truth for status logic and tests.

  • Sequence diagram (request flow) template previewSequence diagram (request flow)

    Numbered steps across Client, API gateway, service, database and a third party — how one checkout request really travels.

  • Sign-in flow template previewSign-in flow

    Sign in with password, two-factor, lockout and password reset paths.

  • IT access request template previewIT access request

    Request, approve and provision access to a system, with extra review for admin rights and sensitive data.

All software engineering diagram templates · All templates

Use the threat model (STRIDE) template