Start with a business loss, not a diagram
Imagine a customer portal where a customer submits a request, a reviewer approves it, and an integration updates a downstream system. The important assets include the request content, the authority to approve it, and the evidence of who changed the result. A leaked request, an unauthorized approval and a lost approval event are different failures. Each needs its own decision.
Keep the first conversation specific. Who may submit, view, approve, export or correct a request? Can a reviewer approve their own submission? Can customer support act on behalf of someone else? What happens when membership changes during a session? Write down unresolved questions instead of letting the interface silently answer them.
Draw where trust changes
In this illustrative system, the browser crosses into the API, the API reads a tenant-scoped data store, and an asynchronous worker calls an external service. Authentication establishes an identity, but neither the browser nor a queue message automatically has authority over a business record. The API and worker need independent checks at their own boundaries.
untrusted input→API
identity + policy→Storage / worker
scoped authority
Mark the sensitive data on each arrow. Include file downloads, callback URLs, support tools, backups and administrative interfaces. An architecture picture that omits the export job can miss the only path that returns every tenant’s records.
Connect each threat to a test
| What could go wrong? | Design decision | Evidence to collect |
|---|---|---|
| Customer A requests customer B’s record | Scope lookup and authorization to trusted membership | Cross-tenant API and export tests return no record content |
| A reviewer approves their own request | Evaluate the actor and request relationship | Self-approval is denied through UI, API and background paths |
| An integration callback is replayed | Authenticate delivery and track the business operation | Repeated valid deliveries do not repeat the business action |
| A support account exposes sensitive data | Narrow delegation and record its use | Support-scope and redacted-audit checks |
The table is a design exercise, not a report of controls deployed in a client system. For a real project, add a named owner, a due decision, the release under test and the observed result. Record the remaining risk when a control is deferred.
Use the model to choose the first release
Suppose the first release only needs customers to create and view their own requests. Removing bulk export and support impersonation reduces the permissions and data paths that need to exist. That is often a more useful security decision than adding a generic security sprint after every feature is already connected.
Use risk to decide which scenarios deserve integration testing, manual review or specialist assessment. A diagram is not a substitute for checking the implementation. A static code scan will not tell you whether the reviewer has a business conflict of interest, and a permission matrix will not prove the database query uses its constraints.
Revisit the assumptions when the system changes
A new AI assistant, an external integration or a change in tenancy can alter the model without changing the main screen. Keep the current model beside the delivery work. Review it when a new actor, privilege, data class or execution path is introduced, and during operational learning after an incident or near miss.
Ask for a small set of artifacts you can inspect: the data-flow sketch, the abuse-case register, the linked acceptance checks and the decisions that remain open. The value is a traceable reason for a control and a way to check it, rather than a large document that never affects a release.
Sources and scope.
An original Jasmir explanation with illustrative examples, informed by the primary references below. This is engineering guidance, not a client assessment or a claim of certification. Scope and verification for a real project are agreed separately.