umlforge_threat_model
Generate a full STRIDE threat model to identify security vulnerabilities before launch, document auth flows and trust boundaries, and prepare for audits.
Instructions
Generate a full STRIDE security threat model for a system.
USE THIS WHEN:
You want to identify security vulnerabilities before launch
You need to document auth flows, trust boundaries, or sensitive data handling
You are preparing for a penetration test or compliance audit (GDPR, SOC2, PCI-DSS)
NOT FOR:
General architecture review ? use umlforge_reverse_engineer with report_mode=True
Deployment and infrastructure topology ? use umlforge_deployment
API flow design (without security focus) ? use umlforge_api_sequence
Produces:
Auth flow sequence diagram: all failure paths, trust boundary annotations
Data flow diagram: sensitivity labels (PUBLIC / INTERNAL / CONFIDENTIAL / SECRET)
STRIDE threat table: all 6 categories with likelihood, mitigation, status
Critical flags (??) for high-risk gaps
(report_mode=True) Security Assessment Report: threat landscape, critical vulnerability deep-dives, compliance status, remediation roadmap, risk score
Args: system_description: What the system does, how users access it, main components. auth_mechanism: Auth in use (e.g. "JWT Bearer token", "API Key", "OAuth2 + PKCE"). trust_boundaries: Boundary crossings (e.g. ["public internet ? API", "API ? database"]) (optional). sensitive_data: Sensitive data types (e.g. ["user emails", "payment tokens"]) (optional). compliance_framework: Compliance scope (e.g. "GDPR", "NDPA 2023", "PCI-DSS") (optional). report_mode: True ? also produce a Security Assessment Report. Pro/Team/Enterprise only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report_mode | No | ||
| auth_mechanism | Yes | ||
| sensitive_data | No | ||
| trust_boundaries | No | ||
| system_description | Yes | ||
| compliance_framework | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |