Week 1 · template

Threat Model — <app name>

← all weeks · worksheet · readme · slides

Threat Model — <app name>

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 DBdata store
/upload endpointprocess + store

3. STRIDE analysis

ElementSTRIDE
/notes
/upload

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

1. 2. 3. 4. 5.