Use a fictional portal to identify assets, trust boundaries, plausible failures, and testable defensive controls.
60-90 min · estimate / Cybersecurity
Before You Begin
Understand how a browser, application server, and database exchange data.
Distinguish signing in from permission to read or change a particular record.
Use the fictional portal described here and a disposable local application for the final control check.
What You Will Make
A small system diagram, a prioritised set of failure questions, and evidence from an allowed-action and denied-action test of one defensive control.
STEP 01
Describe the System You Actually Have
Imagine a small learning portal with students, an administrator, resource records, and saved bookmarks. Draw the browser, application server, and database. State whether authentication is part of the exercise and whether any external service is involved. List the data that matters and who should be able to read or change it. Ask the assistant to identify missing assumptions, not to add a payment system or other feature you did not describe. Keep the diagram simple enough to inspect. A threat model should refer to the system's real components rather than a generic catalogue of frightening possibilities.
We are modelling a fictional learning portal with students, an administrator, resources, and bookmarks. Ask questions about missing assumptions, then help draw components and data flows. Do not add payments, AI agents, or external integrations unless I specify them. Keep assets and user permissions explicit.
STEP 02
Mark Where Trust or Authority Changes
Follow a resource submission from the browser to server validation and storage. Follow a saved-item request from an authenticated user to the records it may access. Mark each place where incoming data or claimed identity needs checking. Ask the assistant to propose failure questions tied to those boundaries, such as whether one user could change another user's bookmark. Distinguish a browser presentation choice from server enforcement. Avoid treating every input as equally important; consider the data and action involved. This step turns a vague security discussion into questions that an implementation can answer.
For this diagram, identify trust boundaries and propose a short list of failure questions. Tie each question to a specific data flow and permission rule. Distinguish authentication from authorization and browser presentation from server enforcement. Do not propose tests against any real external system.
STEP 03
Choose Controls and Verification Methods
Select a few plausible failures and describe their effect on the fictional users. For each, identify a preventive control, a useful observation or log, and a local test. Consult the relevant OWASP guidance for implementation details rather than inventing a security mechanism. Rank work using the application's context and the evidence you have, explaining uncertainty where needed. A scanner result or framework label does not automatically determine priority. Include a legitimate user action in the test plan so a proposed repair cannot pass merely by disabling the feature entirely.
For these selected failure questions, create a table: affected asset, plausible impact, control, observable evidence, allowed-action test, denied-action test. Use relevant official OWASP references. Mark assumptions and avoid claiming a precise risk score without a defined scoring method.
STEP 04
Test One Control and Revise the Model
Implement or inspect one control in a disposable local application. Run the allowed and denied cases from the plan, preserving the observations. If the system behaves differently from the diagram, update the diagram and assumptions instead of forcing the result to fit the original model. Ask the assistant to challenge the evidence and identify the next most useful unanswered question. Finish with a brief summary of what was assessed, what changed, and what remains outside scope. Threat modelling is useful when it changes engineering decisions and tests, rather than ending as an attractive diagram.
Review my local test evidence against the selected control. Separate confirmed behaviour from assumptions and identify any mismatch with the system diagram. Help me write a short update covering the repair, retest, and remaining questions. Do not claim complete security coverage.