prompt

Security Threat Model Creator

Develop threat models and attack surface analysis for new features or architecture changes.

Updated June 2026
The prompt
Create threat model for:

Asset: {{asset_name}}
Architecture: {{architecture_description}}
Trust boundaries: {{trust_boundaries}}
Threat actors: {{threat_actors}}

Provide:
1. Asset inventory and valuation
2. Data flows (diagram and description)
3. Trust boundary crossings
4. Threat identification (STRIDE):
   - Spoofing
   - Tampering
   - Repudiation
   - Information disclosure
   - Denial of service
   - Elevation of privilege
5. Vulnerability assessment per threat
6. Risk rating (likelihood × impact)
7. Mitigation controls and countermeasures
8. Residual risk analysis
9. Testing and validation approach
10. Monitoring and detection rules

Format as threat matrix with {{format}}.
Did it work? Rate this prompt

Variables

Asset or system name
High-level architecture and components
Security domain boundaries
Potential threat actors (external, insider, etc.)

Details

Author

AI Khazna

License

Security

Type

prompt

Related assets

More curated picks in Development & Code.

Audit before you install

Run any source through our checks - AI visibility, security, performance, and stack detection.

More in Development & Code