Security threat model

From CarlosCaPe/octorato · View interactive version

Security threat model is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppS

How to use this skill

Skill file

Threat Model Source Code Repo

Deliver an actionable AppSec-grade threat model that is specific to the repository or a project path, not a generic checklist. Anchor every architectural claim to evidence in the repo and keep assumptions explicit. Prioritizing realistic attacker goals and concrete impacts over generic checklists.

Quick start

1) Collect (or infer) inputs:

Workflow

1) Scope and extract the system model

2) Derive boundaries, assets, and entry points

3) Calibrate assets and attacker capabilities

4) Enumerate threats as abuse paths

5) Prioritize with explicit likelihood and impact reasoning

6) Validate service context and assumptions with the user

7) Recommend mitigations and focus paths

8) Run a quality check before finalizing

Risk prioritization guidance (illustrative, not exhaustive)

References

Only load the reference files you need. Keep the final result concise, grounded, and reviewable.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.