Threat model generation

From CarlosCaPe/octorato · View interactive version

Threat model generation is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Generate or refresh a STRIDE-based threat model for the current repository using Bug Hunter-native artifacts. Use whenever the repository has no threat model yet, the architecture changed materially, a security review needs fresh trust-boundary context, or the user explicitly asks for a threat model

How to use this skill

Skill file

Threat Model Generation

This is a bundled local Bug Hunter companion skill. It generates portable threat-model artifacts under .bug-hunter/.

Purpose

Create the security context that the other security skills depend on:

Required outputs

Write:

Workflow

  1. Read .bug-hunter/triage.json if available for file structure and domain hints.
  2. Inspect the repository to identify:
  1. Generate a concise STRIDE threat model.
  2. Generate a matching security config with thresholds and tech-stack metadata.

Existing implementation hooks

Bug Hunter already has a native prompt for this capability:

Prefer reusing that prompt structure and artifact conventions rather than inventing a second format.

Output rules

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.