Skip to content
Next Security

Architecture reviews and threat models that end in decisions your engineers can build

Design reviews and threat models for new platforms and features: trust boundaries, abuse cases, owned mitigations, acceptance criteria.

Stage in the 3S method: Secure Design

The situation

A new platform, a change to the tenant model, a partner integration, or a move to event-driven processing. The design lives in a document and a few diagrams, and delivery starts in weeks.

Security review, if it happens, comes after the code exists.

What it costs

Flaws in identity, tenant isolation or service-to-service trust cannot be patched in one place once many services depend on them. They surface in a penetration test months later, and fixing them means redesign under a deadline.

A webhook that does not verify its sender, a token accepted by the wrong audience, a tenant ID read from the request body: each of these is a design decision, and each is cheaper to change on a whiteboard.

What we assess and build

  • Trust boundaries and data flows, drawn from the design and checked against the code where it exists
  • Feature and abuse cases: how a legitimate user, partner or insider could misuse the feature
  • STRIDE per element and per boundary crossing
  • Authentication and authorization design: OAuth 2.0 and OIDC flows, token audience and lifetime, service-to-service identity
  • Tenant isolation: where the tenant is resolved, and every path that could skip that check
  • Payment and money-movement flows: idempotency, replay, race conditions, double spend
  • Event, queue and webhook trust: who can publish, and how consumers verify origin and integrity
  • Data classification, processing locations and retention
  • Secure-by-default patterns for your stack, so the next team does not repeat the review
  • Firmware, OTA update, device-to-cloud and AI components when they are part of the design

How the work runs

  1. Step 1: Read the design

    Design documents, diagrams, API specifications and any existing code, followed by one working session with the architect.

  2. Step 2: Model the system

    Draw the system with its trust boundaries, then enumerate threats with STRIDE and abuse cases specific to the feature.

  3. Step 3: Review with engineering

    Walk through the threats with the engineering leads and agree which ones are real for this system and which are not.

  4. Step 4: Decide and record

    Mitigations with owners, security requirements written as acceptance criteria, and a design decision record for every accepted risk.

  5. Step 5: Verify before release

    Review the pull requests that implement critical mitigations, or run a targeted test against them before the feature ships.

What you receive

Threat-model canvas
Editable, kept with your design documents so the next change starts from it.
Architecture diagrams
Data flows and trust boundaries, in the format your team already uses.
Architecture risk register
Each threat with likelihood, impact, current control and status.
Mitigations with owners
Assigned to a team, linked to tickets, with a target release.
Security acceptance criteria
Written per story so QA and engineers can test them.
Design decision records
What was decided, what was rejected, who accepted the residual risk.

What we measure

We agree a baseline for each measure in the first weeks and report against it. We do not promise target numbers before we have seen your data.

MeasureHow it is counted
Review lead timeDays from review request to recorded decision.
Reviewed before buildHigh-risk changes that had a design review before implementation started.
Mitigations verifiedAgreed mitigations implemented and verified before the release they were tied to.
Design-level findings laterFindings in later tests whose fix required a design change, tracked over time.

Scope boundaries

What this engagement does not include, and what needs written authorization first.

  • The review covers the design we are given. Components that are undocumented or out of scope are listed as gaps in the report.
  • No testing of production systems as part of a design review. Validation testing is scoped separately.
  • We do not certify compliance. The output can serve as evidence for your auditors.

Sample deliverable

Threat-model register rowIllustrative example, not client data
Element     POST /webhooks/psp   (payment provider -> ledger-svc)
Boundary    Internet -> internal ledger
Threat      Forged "payment.succeeded" event marks an order paid
STRIDE      Spoofing, Tampering
Current     Shared secret in a header, compared with ==
Gap         No timestamp check (replay); non-constant-time compare;
            body parsed before verification
Mitigation  HMAC over raw body + timestamp; reject if older than
            5 min; constant-time compare; idempotency on event ID
Owner       Payments team                 Target: release 3.8
Accept      Replayed or altered event returns 401 and is logged;
            covered by integration test
Status      Agreed in review 2026-10-14
The format we use in real engagements. Names, identifiers, dates and values are invented for this page.

Where this applies

Questions buyers ask

Our architects know the system well. What do you add?

A reviewer whose job is attack paths, and a method that writes threats, decisions and owners down so they survive team changes. The architects stay the authority on how the system works.

We work in short iterations and there is no big design document.

We work from what exists: tickets, API specifications, whiteboard photos, the code. Drawing the diagram is part of the first session.

Do you need our source code?

Not for the design review itself. Read access helps in the verification step, when we check that the agreed mitigations were built.

How long does a review take?

It depends on scope. A single feature and a new platform are different engagements. We agree the scope and a calendar in writing before we start.

Bring the design before the first sprint.

Send a short description of the system and the deadline. We will reply with a proposed scope and the questions we need answered.

Related research