Index of every page on this site: llms.txt
All skills
github avatar

/threat-model-analyst

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Full STRIDE-A threat model analysis and incremental update skill for repositories and systems. Supports two modes: (1) Single analysis — full STRIDE-A threat model of a repository, producing architecture overviews, DFD diagrams, STRIDE-A analysis, prioritized findings, and executive assessments. (2) Incremental analysis — takes a previous threat model report as baseline, compares the codebase at the latest (or a given commit), and produces an updated report with change tracking (new, resolved, still-present threats), STRIDE heatmap, findings diff, and an embedded HTML comparison. Only activate when the user explicitly requests a threat model analysis, incremental update, or invokes /threat-model-analyst directly.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/threat-model-analyst

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesskeletonsskeleton-threatmodel.md

≈556 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Skeleton: 1-threatmodel.md

⛔ Copy the template content below VERBATIM (excluding the outer code fence). Replace [FILL] placeholders. Diagram in .md and .mmd must be IDENTICAL. ⛔ Data Flow Table columns: ID | Source | Target | Protocol | Description. DO NOT rename Target to Destination. DO NOT reorder columns. ⛔ Trust Boundary Table columns: Boundary | Description | Contains (3 columns). DO NOT add a Name column or rename Contains to Components Inside.


# Threat Model

## Data Flow Diagram

```mermaid
[FILL: Copy EXACT content from 1.1-threatmodel.mmd]
```

## Element Table

| Element | Type | TMT Category | Description | Trust Boundary |
|---------|------|--------------|-------------|----------------|
[CONDITIONAL: For K8s apps with sidecars, add a `Co-located Sidecars` column after Trust Boundary]
[REPEAT: one row per element]
| [FILL] | [FILL: Process / External Interactor / Data Store] | [FILL: SE.P.TMCore.* / SE.EI.TMCore.* / SE.DS.TMCore.*] | [FILL] | [FILL] |
[END-REPEAT]

## Data Flow Table

| ID | Source | Target | Protocol | Description |
|----|--------|--------|----------|-------------|
[REPEAT: one row per data flow]
| [FILL: DF##] | [FILL] | [FILL] | [FILL] | [FILL] |
[END-REPEAT]

## Trust Boundary Table

| Boundary | Description | Contains |
|----------|-------------|----------|
[REPEAT: one row per trust boundary]
| [FILL] | [FILL] | [FILL: comma-separated component list] |
[END-REPEAT]

[CONDITIONAL: Include ONLY if summary diagram was generated (elements > 15 OR boundaries > 4)]

## Summary View

```mermaid
[FILL: Copy EXACT content from 1.2-threatmodel-summary.mmd]
```

## Summary to Detailed Mapping

| Summary Element | Contains | Summary Flows | Maps to Detailed Flows |
|-----------------|----------|---------------|------------------------|
[REPEAT]
| [FILL] | [FILL] | [FILL: SDF##] | [FILL: DF##, DF##] |
[END-REPEAT]

[END-CONDITIONAL]

Fixed rules:

  • Use DF01, DF02 for detailed flows; SDF01, SDF02 for summary flows
  • Element Type: exactly Process, External Interactor, or Data Store
  • TMT Category: must be a specific ID from tmt-element-taxonomy.md (e.g., SE.P.TMCore.WebSvc)

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo4 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill is a professional threat modeling analyst designed to perform STRIDE-A security audits. It follows rigorous, evidence-based analysis principles and implements extensive verification steps to ensure report consistency. No malicious patterns, obfuscation, or unauthorized network behaviors were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 8 months ago
  • threat-modeling
  • stride
  • security-audit
  • dfd
  • architecture
  • vulnerabilities
  • cwe
  • cvss
  • zero-trust
  • incremental-analysis

README badge

README badge for github/awesome-copilot/threat-model-analyst

Performs STRIDE-A threat modeling of repositories in two modes: full analysis generating architecture overviews, data flow diagrams, and prioritized security findings, or incremental comparison against a prior threat model report to track new, resolved, and persistent threats. Targets security audits of codebases using Zero Trust principles and defense-in-depth analysis.

Generated from the current SKILL.md.

What threat modeling methodology does this skill use?
STRIDE-A (STRIDE plus Abuse cases) with Zero Trust principles and defense-in-depth analysis. The skill flags secrets, insecure boundaries, and architectural risks.
Does this skill support incremental/update analysis?
Yes. Incremental mode compares a previous threat model report against the current codebase, producing change tracking (new, resolved, still-present threats), a STRIDE heatmap, findings diff, and embedded HTML comparison.
What output does a single analysis produce?
Architecture overviews, DFD diagrams, STRIDE-A analysis, prioritized findings with CVSS/CWE/OWASP mappings, and executive assessments.
Can I compare two commits or two threat model reports?
Yes. Use incremental mode with the older report or commit as the baseline to generate a comparison report with change tracking.

Generated from the current SKILL.md. These answers refresh after source changes.