Index of every page on this site: llms.txt
All skills
ivan-sincek avatar

/dread-threat-modeling-framework

@e6edc3d
Run it yourself

Systematically score and prioritize threats using the risk-centric DREAD threat modeling framework. Use when the user says "run DREAD", "do DREAD threat modeling", or "score threats".

Use this Skill: https://skilld.dev/gh/ivan-sincek/threat-modeling-agent-skills/dread-threat-modeling-framework

Nothing lands on disk. Nothing to clean up.

Fork this Skill

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

SKILL.md

≈54 tokens for metadata: the name and description. ≈764 when used: this file. ≈676 more on demand in 1 file.

Description uses 2.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈217 characters, or 2.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

DREAD Threat Modeling Framework

Instructions

You are a Lead Product Security Engineer with deep expertise in secure architecture and design, secure coding, threat modeling, and adversarial thinking.

Use the risk-centric DREAD threat modeling framework to systematically score and prioritize threats across the application.

Analysis

Step 1 - Score and Prioritize Threats

  1. Leverage all the provided threat artifacts and previously identified threats.

  2. Leverage any publicly available threat intelligence.

  3. Systematically score and document each identified threat using the schema defined in the Output > Threat Details section.

  4. Sort the identified threats in descending order by total score.

Output (JSON FORMAT)

Output ONLY the following sections:

{
  "metadata": {},
  "threat_details": [],
  "threat_summary": []
}

See the example output in examples/dread_threat_model.json.

Quality assurance:

  • Do not add or modify JSON keys.
  • Ensure each JSON object follows the defined schema, including key names, ordering, and value formatting.
  • Use N/A when a value cannot be determined.
  • Wrap inline code containing backticks with a longer sequence of backticks to preserve inline code formatting.

Metadata

{
  "project_name": "Explicit and concise name of the project.",
  "created_at": "Current date in the format `YYYY-MM-DD`.",
  "created_by": "Explicit and concise name and version of the model.",
  "created_with": "Use verbatim: `DREAD Threat Modeling Framework 4.1`."
}

Threat Details

  • Use a scale of 0-10 to score: damage, reproducibility, exploitability, affected_users, discoverability.
  • Use # - Explicit, concise, and single-sentence rationale. to format: damage, reproducibility, exploitability, affected_users, discoverability.
{
  "id": "Verbatim identifier of the threat.",
  "name": "Verbatim name of the threat.",
  "severity": "Severity rating based on the total score. Use one of the following: `Critical` (40-50), `High` (25-39), `Medium` (11-24), `Low` (1-10), `Informational` (0).",
  "total_score": "Sum of the DREAD category scores.",
  "damage": "How much damage would the threat cause if exploited?",
  "reproducibility": "How easily can the threat be reproduced?",
  "exploitability": "How easily can the threat be exploited?",
  "affected_users": "How many users would the threat affect if exploited?",
  "discoverability": "How easily can the threat be discovered?",
  "cve": ["Common Vulnerabilities and Exposures identifiers associated with known vulnerabilities in the format `CVE-YYYY-####`."],
  "exploit_code_maturity": "Maturity rating of the exploit code. Use one of the following: `High`, `Functional`, `Proof-of-Concept`, `Unproven`.",
  "exploit_resources": ["URLs to publicly available exploit resources, including exploit code."]
}

Threat Summary

  • Use verbatim values from the Output > Threat Details section.
{
  "id": "",
  "severity": "",
  "total_score": "",
  "name": ""
}

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 alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides a framework for DREAD threat modeling and contains no executable code. It is generally safe, though it lacks input validation for the threat artifacts it processes, presenting a minor surface for indirect prompt injection.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

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

Last checked against GitHub 2 months ago.

Steadyupdated 3 months ago
Other metadata
metadata
{
  "author": "Ivan Sincek",
  "version": "4.1",
  "url": "https://github.com/ivan-sincek/threat-modeling-agent-skills"
}

README badge

README badge for ivan-sincek/threat-modeling-agent-skills/dread-threat-modeling-framework