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
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.
- 01Product context reviewed: who uses checkout and how
- 02Scope set: checkout and AI assistant to the payment provider
ISO/IEC 27005 6.3 - 03Client picks the system, engagement mode and participants
- 04Statement of work, participant list and workshop plan issuedStatement of work
- 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.3Stage 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.
- 01Flow drawn: gateway to checkout, crossing a trust boundary
SSDF PW.1.1 - 02Flow drawn: checkout to the AI assistant and its tools
- 03Card-token flow drawn from payment provider to the vault
- 04SaaS integrations and supply chain added to the diagram
ASVS V15.1 - 05Level-0 and level-1 DFDs, asset list, assumptions logAnnotated data-flow diagrams
- 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.1ASVS V15.1Stage 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.
- 01STRIDE on each process, LINDDUN on the customer PII
- 02Modelled route: a fraud actor probes the edge for openings
T1595 - 03Possible abuse: coupon abuse escalates into a refund
CAPEC-233 - 04Modelled: poisoned data injects the AI assistant
LLM01:2026 - 05Possible: the AI assistant is steered to misuse a tool
T1698 - 06One row per threat: element, category, pattern, scenarioThreat catalog
CSF 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
STRIDELINDDUNCAPEC-233T1698CSF ID.RA-03Stage 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.
- 01Likelihood rated from threat-agent and vulnerability factors
CSF ID.RA-04 - 02Impact rated from technical and business consequences
ISO/IEC 27005 7.3 - 03Any existing vulnerability is scored in CVSS v4.0
CVSS v4.0 - 04Threats ranked by likelihood, impact and ratingPrioritized threat catalog
ISO/IEC 27005 7.4 - 05Client sets which threats are treated before release
CSF 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-04CSF ID.RA-05ISO/IEC 27005 7.3ISO/IEC 27005 7.4CVSS v4.0Stage 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.
- 01Controls already in place mapped against each threat
- 02Control to build: rate and quantity limits on coupons
- 03Control to build: segregation of duties on refunds
ISO A.5.3 - 04Control to build: ground and bound the AI assistant tools
LLM01:2026 - 05Control to build: scope and review SaaS app tokens
T1528 - 06Controls with acceptance criteria, ready for your trackerSecurity control backlog
CSF 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.3ISO A.8.16CSF ID.RA-06Stage 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.
- 01Model reviewed with product, engineering and security
SSDF PW.2.1 - 02Each threat and control checked for accuracy and coverage
- 03Residual risk recorded: dependence on the payment provider
- 04Risk owner decides whether to accept each residual risk
ISO/IEC 27005 8.6.3 - 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.1ISO/IEC 27005 8.6.3Stage 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.
- 01Coupon limits checked in place against acceptance criteria
ISO A.8.29 - 02Refund segregation of duties checked in place
- 03AI assistant tool limits checked in place
- 04New features are added to the model and examined
SSDF PW.1.2 - 05Backlog status and a delta model for each releaseDelta threat model
ISO/IEC 27005 10.5 - 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.2ISO A.8.29ISO/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
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
Tell us about your project
For: Threat ModelingTell 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