07 · TM · Advisory

Threat Modeling

We map how your product really works, including the AI assistant, its connected tools, your third-party SaaS integrations and the software supply chain, work out what an attacker could do to it, and turn that into a prioritized list of controls your team can build before you ship.

Illustrative engagement · ACME-CORP checkout with AI assistant, SaaS and supply chain · STRIDE · OWASP Top 10:2025 · MITRE ATT&CK v20.0 · CAPEC

7 stages

  1. Stage 01 / 07

    Scoping & engagement agreement

    We agree the system in scope, here a checkout flow whose AI shopping assistant is connected to tools and backed by third-party SaaS integrations and a software supply chain, the engagement mode (single system, portfolio or recurring per release), the depth and the participants, and request the architecture documentation the model will be built from.

    1. 01Product context reviewed: who uses checkout and how
    2. 02Scope set: checkout and AI assistant to the payment providerISO/IEC 27005 6.3
    3. 03Client picks the system, engagement mode and participants
    4. 04Statement of work, participant list and workshop plan issuedStatement of work
    5. 05Architecture and AI tool docs requested for each systemDocumentation request
    You receive
    Statement of work, participant list, documentation request and workshop plan.
    You decide
    The system or release to model, the engagement mode, and who from product, engineering and security takes part.

    Identifiers ISO/IEC 27005 6.3

  2. Stage 02 / 07

    System decomposition

    In workshops with your architects we draw the level-0 and level-1 data-flow diagrams: external entities, processes, data stores, data flows and the trust boundaries between them, with the data class each flow carries, and we add the AI assistant's tools, the SaaS integrations and the software supply chain to the picture.

    1. 01Flow drawn: gateway to checkout, crossing a trust boundarySSDF PW.1.1
    2. 02Flow drawn: checkout to the AI assistant and its tools
    3. 03Card-token flow drawn from payment provider to the vault
    4. 04SaaS integrations and supply chain added to the diagramASVS V15.1
    5. 05Level-0 and level-1 DFDs, asset list, assumptions logAnnotated data-flow diagrams
    6. 06Client confirms the diagrams match how the system runs
    You receive
    Annotated data-flow diagrams, an asset and actor list, and an assumptions log.
    You decide
    Confirm that the diagrams match how the system actually runs and where the trust boundaries sit.

    Identifiers SSDF PW.1.1 ASVS V15.1

  3. Stage 03 / 07

    Threat identification

    Every element is examined with STRIDE-per-element and personal-data stores with LINDDUN. The results are written as concrete, modelled abuse scenarios that read as possibilities, not detected incidents: coupon abuse escalating to refunds, and poisoned content injecting the AI assistant so it is steered to misuse a connected tool, each referenced to CAPEC attack patterns and ATT&CK v20.0 techniques.

    1. 01STRIDE on each process, LINDDUN on the customer PII
    2. 02Modelled route: a fraud actor probes the edge for openingsT1595
    3. 03Possible abuse: coupon abuse escalates into a refundCAPEC-233
    4. 04Modelled: poisoned data injects the AI assistantLLM01:2026
    5. 05Possible: the AI assistant is steered to misuse a toolT1698
    6. 06One row per threat: element, category, pattern, scenarioThreat catalogCSF ID.RA-03
    You receive
    Threat catalog: one row per modelled threat with its element, STRIDE or LINDDUN category, attack-pattern reference and scenario.

    Identifiers STRIDE LINDDUN CAPEC-233 T1698 CSF ID.RA-03

  4. Stage 04 / 07

    Risk prioritization

    Each modelled threat is rated for likelihood and impact in your context using the OWASP Risk Rating factors: threat agent, vulnerability, technical impact and business impact. Where a concrete vulnerability already exists it is scored with CVSS v4.0, and the catalog is ranked.

    1. 01Likelihood rated from threat-agent and vulnerability factorsCSF ID.RA-04
    2. 02Impact rated from technical and business consequencesISO/IEC 27005 7.3
    3. 03Any existing vulnerability is scored in CVSS v4.0CVSS v4.0
    4. 04Threats ranked by likelihood, impact and ratingPrioritized threat catalogISO/IEC 27005 7.4
    5. 05Client sets which threats are treated before releaseCSF ID.RA-05
    You receive
    Prioritized threat catalog, with likelihood, impact and rating for every modelled threat.
    You decide
    Which threats must be treated before the release and which can wait.

    Identifiers CSF ID.RA-04 CSF ID.RA-05 ISO/IEC 27005 7.3 ISO/IEC 27005 7.4 CVSS v4.0

  5. Stage 05 / 07

    Mitigation planning

    For each priority threat we choose a response and write the controls your team can build as backlog items with acceptance criteria and owners: rate and quantity limits on coupons, segregation of duties on refunds, grounding and bounding the AI assistant's tools, and scoping and reviewing the SaaS app tokens.

    1. 01Controls already in place mapped against each threat
    2. 02Control to build: rate and quantity limits on coupons
    3. 03Control to build: segregation of duties on refundsISO A.5.3
    4. 04Control to build: ground and bound the AI assistant toolsLLM01:2026
    5. 05Control to build: scope and review SaaS app tokensT1528
    6. 06Controls with acceptance criteria, ready for your trackerSecurity control backlogCSF ID.RA-06
    You receive
    Control and gap map, and a prioritized list of controls ready for your team's backlog.
    You decide
    The response chosen for each threat, and the owner of each backlog item.

    Identifiers ISO A.5.3 ISO A.8.16 CSF ID.RA-06

  6. Stage 06 / 07

    Review, validation & readout

    The model, catalog and backlog are reviewed with product, engineering and security for accuracy and completeness. Remaining risks, such as dependence on the payment provider, are documented and taken to the risk owner.

    1. 01Model reviewed with product, engineering and securitySSDF PW.2.1
    2. 02Each threat and control checked for accuracy and coverage
    3. 03Residual risk recorded: dependence on the payment provider
    4. 04Risk owner decides whether to accept each residual riskISO/IEC 27005 8.6.3
    5. 05Report and review record, signed off by the reviewersThreat model report
    You receive
    Threat model report and review record, with reviewer sign-off.
    You decide
    Acceptance of the residual risks, by the accountable risk owner.

    Identifiers SSDF PW.2.1 ISO/IEC 27005 8.6.3

  7. Stage 07 / 07

    Mitigation check & recurring cadence

    Once the backlog items land we confirm the controls are actually in place. From then on the model follows design changes: each new feature or release, the AI assistant's new tools included, is added to the diagrams, and the catalog and backlog are updated as a delta.

    1. 01Coupon limits checked in place against acceptance criteriaISO A.8.29
    2. 02Refund segregation of duties checked in place
    3. 03AI assistant tool limits checked in place
    4. 04New features are added to the model and examinedSSDF PW.1.2
    5. 05Backlog status and a delta model for each releaseDelta threat modelISO/IEC 27005 10.5
    6. 06Client sets the cadence: each release or major change
    You receive
    Validation summary of the backlog, and a delta threat model for each release.
    You decide
    Whether the model is refreshed per release or on major design changes.

    Identifiers SSDF PW.1.2 ISO A.8.29 ISO/IEC 27005 10.5

Deliverables

  • Annotated data-flow diagrams, the AI assistant, SaaS integrations and supply chain included
  • Prioritized threat catalog of modelled possibilities
  • Modelled attack-path narratives mapped to MITRE ATT&CK v20.0 and CAPEC
  • Control and gap map
  • A prioritized list of controls your team can build
  • Threat model report and review record
  • Delta threat model per release (recurring mode)

Frameworks

  • Threat Modeling Manifesto
  • OWASP Threat Modeling Process and Cheat Sheet
  • STRIDE per element (Microsoft SDL)
  • LINDDUN privacy threat modeling
  • OWASP Top 10:2025
  • OWASP Top 10 for LLM Applications 2026
  • OWASP Top 10 for Agentic Applications 2026
  • MITRE ATT&CK Enterprise v20.0
  • MITRE CAPEC 3.9
  • MITRE CWE 4.20
  • OWASP Risk Rating Methodology
  • CVSS v4.0
  • ISO/IEC 27005:2022
  • NIST SP 800-218 SSDF v1.1
  • NIST CSF 2.0
  • ISO/IEC 27001:2022 Annex A
  • OWASP ASVS 5.0.0

All services

The illustrative environment

ACME-CORP checkout with an AI shopping assistant, SaaS integrations and a software supply chain (illustrative)

INTERNET · EDGE external entities · outside the boundary

  • Customer browser and app CAPEC-151
  • Organized fraud threat actor
  • Edge and WAF CDN · WAF T1595

APPLICATION DOMAIN trust boundary · AI assistant

  • API gateway auth · routing CWE-287
  • Checkout service STRIDE process CWE-840
  • AI shopping assistant LLM · connected tools LLM01:2026
  • Pricing and coupons business logic CWE-20
  • Refund service privilege · E CWE-269

DATA · PAYMENTS trust boundary

  • Payment provider PSP · trusted link T1199
  • Orders database tamper · disclosure CAPEC-93
  • Customer PII store privacy · LINDDUN CWE-359
  • Card-token vault PCI · tokens CWE-311

BACK OFFICE · SUPPLY staff · integrations · build

  • Back-office console refund approval · fraud ops T1078
  • SaaS integrations OAuth apps · tokens T1528
  • Software supply chain dependencies · CI/CD A03:2025
// Contact

Tell us about your project

For: Threat Modeling

Tell us the system or product to model, its main data flows and who you consider a threat. A senior operator replies within one business day with next steps.

  • Confidential by default. We sign NDAs before scoping.
  • A fixed quote before any work begins, no surprises.

Prefer email? contact@dlglabs.io

* Required fields

Your data is handled as described in our Privacy Policy.