원클릭으로
threat-modeling
Build a STRIDE threat model of a codebase from its structure and code, using the bundled template.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build a STRIDE threat model of a codebase from its structure and code, using the bundled template.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | threat-modeling |
| description | Build a STRIDE threat model of a codebase from its structure and code, using the bundled template. |
| tags | ["threat-model","stride","architecture","design"] |
Produce a structured threat model of the repository under review. The goal is not to find every bug — the scanners do that — but to reason about what could go wrong by design: where trust boundaries sit, what an attacker would target, and which classes of threat each component is exposed to. STRIDE (Spoofing, Tampering, Repudiation, Information disclosure, Denial of service, Elevation of privilege) is the lens.
Load the template. Call
read_skill_file("threat-modeling", "stride-template.md") to fetch the
STRIDE worksheet that structures the output. Fill it in as you work — do not
reinvent the format inline.
Map the system. Use list_files and read_file to understand the
architecture: entry points (HTTP handlers, CLIs, message consumers),
external dependencies, data stores, and where untrusted input enters. Use
grep to locate the boundaries quickly — route registrations, main
functions, deserialization, auth checks.
Identify trust boundaries. Mark every place data crosses from a less-trusted zone to a more-trusted one (network → process, user → admin, tenant → tenant). These boundaries are where threats concentrate.
Apply STRIDE per element. For each component and boundary, walk the six STRIDE categories and ask whether that threat applies. Record the concrete scenario, not the abstract category — "an unauthenticated caller can replay the reset token" beats "Spoofing: yes".
Rate and prioritise. For each identified threat, note impact and likelihood, and whether an existing control mitigates it. Surface the unmitigated, high-impact threats first.
Report. Deliver the filled-in template: the system overview, the trust boundaries, the per-element STRIDE findings, and a prioritised list of the threats that most need a mitigation.
pr-quick-check or the
scanners for code-level findings; they answer different questions.White-box detection of broken authorization (BOLA/IDOR, BFLA, access-control logic flaws) in an API or web codebase. Use when asked to audit authorization, hunt IDOR/BOLA, check object-level or function-level access control, or verify that handlers scope data access to the current principal/tenant. Reconstructs the app's ownership model first, then finds access paths that skip the per-object/per-role check their peers enforce. Static, read-only; delegates injection/secrets/path-traversal to run_semgrep/run_gitleaks.
Fast security pass over a pull request diff — scanners plus a targeted grep for risky patterns.
Find committed secrets and draft a prioritised, step-by-step rotation plan saved to context.