threat-modeling
Perform STRIDE threat modeling for new features, APIs, and architecture changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Perform STRIDE threat modeling for new features, APIs, and architecture changes
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Run chaos security engineering tests — AI agent attempts to hack the Sprint output and reports findings to the team
Validate Java and TypeScript code against banking naming conventions, style rules, quality standards, and secure coding practices
Perform OWASP Top 10 security assessments, vulnerability scanning, and PCI-DSS compliance checks
Design test strategies including security testing, write test plans, and identify test scenarios for banking features with DevSecOps integration
Perform STRIDE threat modeling during Sprint Planning for new features and APIs
Run UX review checklist for banking user flows, validate WCAG accessibility compliance, assess security UX patterns, and review customer interface design
| name | threat-modeling |
| description | Perform STRIDE threat modeling for new features, APIs, and architecture changes |
Invoke when designing new features, APIs, or reviewing architecture changes that affect the threat surface.
# Threat Model: [Feature Name]
**Date:** [YYYY-MM-DD]
**Author:** [Security Champion / Team]
**Phase:** [Requirements / Design / Implementation]
## Feature Description
[Brief description of the feature being threat-modeled]
## Data Flow Diagram
[Describe: User → Frontend → API Gateway → Service → Database]
## STRIDE Analysis
| # | Threat | Category | Component | Likelihood | Impact | Risk | Mitigation |
|---|--------|----------|-----------|-----------|--------|------|------------|
| 1 | [desc] | Spoofing | [Component] | H/M/L | H/M/L | H/M/L | [control] |
| 2 | [desc] | Tampering | [Component] | H/M/L | H/M/L | H/M/L | [control] |
| 3 | [desc] | Repudiation | [Component] | H/M/L | H/M/L | H/M/L | [control] |
| 4 | [desc] | Info Disclosure | [Component] | H/M/L | H/M/L | H/M/L | [control] |
| 5 | [desc] | Denial of Service | [Component] | H/M/L | H/M/L | H/M/L | [control] |
| 6 | [desc] | Elevation of Privilege | [Component] | H/M/L | H/M/L | H/M/L | [control] |
## Trust Boundaries
- External → API Gateway (TLS termination, JWT validation)
- API Gateway → Internal Services (service mesh)
- Service → Database (encrypted connection, read-only app accounts)
## Residual Risks
| Risk | Justification for Acceptance | Review Date |
|------|------------------------------|-------------|
| [Risk] | [Why accepted] | [YYYY-MM-DD] |
## Action Items
| # | Action | Owner | Due | Status |
|---|--------|-------|-----|--------|
| 1 | [Action] | [Name] | [Date] | Open |
#[[file:docs/threat-models/threat-model-template.md]]