Threat-model and test a small web application

8 steps · about 4 h 40 min · Intermediate

  1. Frame the threat-modeling exercise (guide, OWASP, 35 min)

    Define scope, participants and the questions the model must answer.

  2. Choose a verification baseline (guide, OWASP, 35 min)

    Translate security goals into testable application requirements appropriate to the risk.

  3. Use common risks as prompts (reference, OWASP, 30 min)

    Check for familiar failure classes without treating a top-ten list as a complete model.

  4. Plan evidence-based security tests (guide, OWASP, 35 min)

    Organise tests by information gathering, configuration, identity, input and business logic.

  5. Review authentication controls (guide, OWASP Cheat Sheet Series, 35 min)

    Test identity, session and recovery behaviour against explicit defensive guidance.

  6. Test untrusted input boundaries (guide, OWASP Cheat Sheet Series, 35 min)

    Validate syntax and semantics early while still using safe downstream APIs.

  7. Verify output handling by context (guide, OWASP Cheat Sheet Series, 35 min)

    Match encoding and safe sinks to HTML, attribute, URL and JavaScript contexts.

  8. Prioritise and document residual risk (reference, OWASP, 40 min)

    Record likelihood, impact, evidence, mitigation owner and the risk that remains after the fix.