Skip to main content

All weeks · Worksheet · Overview · Lecture slides

Week 1 · Template to fill in

Threat Model — <app name>

Contents4 sections

1. Data-flow diagram

(Insert your DFD image. Mark trust boundaries with dashed lines.)

2. Elements & trust boundaries

ElementType (process/store/entity/flow)Trust boundary crossed?
Web clientexternal entityyes (Internet → app)
Flask appprocess
SQLite DB (notes.db)data store
uploads/ storedata store

3. STRIDE analysis

ElementSTRIDE
/notes
/upload
/files/<name>

4. Top 5 risks (likelihood × impact) + mitigation

1. 2. 3. 4. 5.

All weeks in Software Security