Skip to content

feat(lab2): Threagile threat model + secure variant + auth flow#4

Merged
IamdLite merged 1 commit into
mainfrom
feature/lab2
Jun 10, 2026
Merged

feat(lab2): Threagile threat model + secure variant + auth flow#4
IamdLite merged 1 commit into
mainfrom
feature/lab2

Conversation

@IamdLite

Copy link
Copy Markdown
Owner

Pull Request Template

Goal

Complete Lab 2 threat modeling submission with baseline STRIDE analysis, secure variant hardening, and bonus auth-focused threat model.

  • Task 1 β€” Baseline risk table + top-5 with STRIDE mapping
  • Task 2 β€” Secure variant + risk diff table
  • Bonus β€” Auth-flow model + 3 auth-specific risks

Changes

  • submissions/lab2.md β€” Complete submission with Task 1 (baseline STRIDE analysis), Task 2 (secure variant & diff), Bonus Task (auth-focused model)
  • labs/lab2/threagile-model-secure.yaml β€” Hardened threat model with HTTPS, encrypted storage, DB access controls
  • labs/lab2/threagile-model-auth.yaml β€” Focused authentication flow model with 4+ data assets and 5+ communication links

Testing

  • Baseline run: docker run --rm -v $(pwd)/labs/lab2:/w threagile/threagile:0.9.1 -model-filename /w/threagile-model.yaml -output-folder /w/output/ -generate-report-pdf=true -generate-risks-json=true -generate-risks-diagram=true
  • Secure variant run: Same command with -model-filename /w/threagile-model-secure.yaml -output-folder /w/output-secure/
  • Auth model run: Same command with -model-filename /w/threagile-model-auth.yaml -output-folder /w/output-auth-new/
  • Verification: Parsed risks.json to confirm counts match submission (baseline: 23, secure: 21, auth: 18)

Artifacts & Screenshots

(not all artefacts uploaded as per the report: strictly used submitting commands provided. So most of the files below are only available in the local repo)

@IamdLite IamdLite merged commit fad8bf5 into main Jun 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant