Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Threat Modeling Agent Skills

Easy-to-use, easy-to-customize, and high-quality threat modeling skills for AI agents.

Supporting Markdown and JSON output formats.

My other skills:

Table of Contents

Threat Modeling Frameworks

STRIDE

  • STRIDE is a software-centric / system-centric threat modeling framework used to identify threats.
  • Applies structured, single-step kill chain reasoning without considering business context, objectives, or impact.
  • Scoped to the application.
  • Works well with both lower-end and higher-end LLMs.

Skill: stride-threat-modeling-framework/SKILL.md

Example: stride-threat-modeling-framework/examples/stride_threat_model.md

PASTA

  • PASTA is a risk-centric threat modeling framework used to identify risks.
  • Applies structured, multi-step kill chain reasoning while considering business context, objectives, and impact.
  • Scoped to the application and its environment.
  • Works better with higher-end LLMs.

Skill: pasta-threat-modeling-framework/SKILL.md

DREAD

  • DREAD is a risk-centric threat modeling framework used to score and prioritize threats.
  • Not used to identify threats or risks.
  • Used to complement the STRIDE and PASTA threat modeling frameworks.
  • Works well with both lower-end and higher-end LLMs.

Skill: dread-threat-modeling-framework/SKILL.md

How to Use

  • Copy the contents of the markdown directory into your project's .claude/skills/ directory.
  • Alternatively, manually upload each SKILL.md file to your Claude app under Customize -> Skills.

Basic prompt:

Perform STRIDE threat modeling and save the output to "stride_threat_model.md".

Advanced prompt:

- Perform PASTA threat modeling and save the output to "pasta_threat_model.md".
- Convert "pasta_threat_model.md" to "pasta_threat_model.html".
- Add the Mermaid CDN: https://cdn.jsdelivr.net/npm/mermaid@11.15.0/dist/mermaid.min.js
- Ensure the `body` CSS rule includes `width: 100%; max-width: 100%;`.
- Ensure the `td` CSS rule includes `word-break: keep-all;`.
- Add a table of contents.
- Make the non-key-value tables sortable.