security-threat-model

Identify assets, trust boundaries, entry points, and data flows in a repository.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/ollieb89/.codex --skill security-threat-model-ollieb89
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-threat-model
Source: https://github.com/ollieb89/.codex/tree/main/skills/.curated/security-threat-model
Command: npx skills add https://github.com/ollieb89/.codex --skill security-threat-model-ollieb89

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Threat modeling for code repositories tailored to real-world usage, anchoring architectural claims to repo evidence to avoid generic risk checklists.

Core Features & Use Cases

  • Repo-specific threat modeling anchored to evidence
  • Asset and boundary enumeration with prioritized abuse paths
  • Concrete mitigations tied to repository locations and components

Quick Start

Trigger the threat-model workflow for a repository or path with explicit scope and user-provided assumptions.

Frequently Asked Questions about security-threat-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform threat modeling for a specific code repository?

Threat modeling for a code repository involves identifying primary assets, trust boundaries, and entry points to map untrusted data flows. This process anchors architectural claims to actual repo evidence, generating a prioritized list of threats with concrete abuse paths and mitigations.

What is the best way to map trust boundaries and data flows in AppSec?

Mapping trust boundaries in AppSec requires identifying components, runtimes, and data stores to track how untrusted data enters and is processed. By analyzing data types crossing these boundaries, you can enumerate concrete abuse paths and prioritize risks effectively.

How do I generate concrete mitigations tied to my codebase during threat modeling?

Generating concrete mitigations involves analyzing repository components and data stores to identify where untrusted data is processed. This yields prioritized threats with specific abuse paths, allowing you to map mitigations directly to repository locations and components.

Can I use repo evidence to avoid generic risk checklists in threat modeling?

Yes, threat modeling can use repo evidence to avoid generic risk checklists by anchoring architectural claims to actual code. This approach maps runtimes and data stores to depict untrusted data processing, producing a prioritized threat list supported by repository locations.

How do I prioritize threats based on data flows crossing trust boundaries?

Prioritizing threats involves mapping runtimes and data stores to identify data types crossing trust boundaries. This analysis highlights where untrusted data enters and is processed, enabling risk prioritization of threats with concrete abuse paths and explicit assumptions.

When do I need to trigger a threat model workflow for AppSec analysis?

You trigger a threat model workflow for AppSec analysis when you need to identify primary assets, trust boundaries, and entry points within a repository. It maps untrusted data flows and provides a prioritized list of threats supported by repo evidence and explicit assumptions.