Quick Start
Get your first threat model generated in just a few steps.Configure API Keys
Create
local_config.py with your API keys:local_config.py
Get OpenAI API Key
Get OpenAI API Key
- Visit OpenAI API Keys
- Click “Create new secret key”
- Copy the key (you won’t see it again)
- Cost: ~$0.10-0.50 per threat model
Get NVD API Key
Get NVD API Key
- Visit NVD API Key Request
- Fill out the form with your email
- Check your email for the API key
- Free with rate limits (5 requests/30s without key, 50/30s with key)
Get AlienVault OTX API Key
Get AlienVault OTX API Key
- Create account at AlienVault OTX
- Go to Settings → API Integration
- Copy your OTX Key
- Free tier available
Create Your First Threat Model
Follow the 7-step guided process:Step 1: Describe Your Application
- Enter a detailed description of your application
- Select application type (e.g., “Web application”)
- Choose industry sector (e.g., “Finance”)
- Specify authentication methods
- Indicate if internet-facing
- Classify sensitive data (High/Medium/Low)
- Choose databases (e.g., PostgreSQL 14.0)
- Select operating systems (e.g., Ubuntu 20.04)
- Pick programming languages (e.g., Python 3.9)
- Add web frameworks (e.g., Django 4.0)
- Click “Generate Threat Model”
- Wait 2-5 minutes for processing
- Review 18 STRIDE threats with MITRE ATT&CK mappings
- AI generates specific mitigation strategies
- Each threat gets tailored recommendations
- Threats scored on 5 dimensions (1-10 scale)
- Risk scores calculated automatically
- Threats sorted by priority
- Gherkin-formatted security test cases
- Ready for pytest-bdd, Cucumber, or Behave
- Comprehensive 20-40 page document
- Includes all threats, mitigations, and test cases
What You Get
18 STRIDE Threats
3 threats per category with scenarios, impacts, and assumptions
MITRE ATT&CK Mapping
Each threat mapped to real-world attack techniques
CVE Data
Vulnerabilities from NVD for your exact technology versions
Threat Intelligence
Industry-specific threats from AlienVault OTX
Risk Scores
DREAD methodology for threat prioritization
Attack Trees
Visual attack path diagrams in Mermaid
Security Tests
Gherkin test scenarios ready to implement
PDF Report
Professional documentation for stakeholders
Example Application Description
Quick Troubleshooting
API Key Errors
API Key Errors
Error: “OpenAI API key is required”Solution: Ensure
local_config.py exists in the project root with valid API keys.MITRE Data Not Found
MITRE Data Not Found
Error: “No MITRE ATT&CK data found”Solution: Verify
MITRE_ATTACK_DATA/ directory contains:enterprise-attack.jsonmobile-attack.jsonics-attack.json
Port Already in Use
Port Already in Use
Error: “Port 8501 is already in use”Solution: Use a different port:
Rate Limit Errors
Rate Limit Errors
Error: “Rate limit exceeded”Solution: Wait 60 seconds and retry. Consider upgrading your OpenAI API tier for higher limits.
Next Steps
Full Installation Guide
Detailed setup instructions for all environments
7-Step Process
Complete walkthrough of the threat modeling workflow
Interpreting Results
Understanding your threat model output
Troubleshooting
Common issues and solutions
Time Estimates
| Activity | Duration |
|---|---|
| Installation | 5-10 minutes |
| API Key Setup | 5-10 minutes |
| First Threat Model | 15-20 minutes |
| Total | 25-40 minutes |