Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

threat-modeling

БесплатноЗапускает вложенные скриптыНе проверен

Ttampering: description: Modifying data or code maliciously targets: [dataintegrity, codeintegrity] example: "Altering transaction amounts in transit"

williamzujkowskiот williamzujkowski★ 23 звезды на GitHub18 установок в других каталогах

Об этом скилле

Threat Modeling

Identify, prioritize, and mitigate security threats systematically using STRIDE methodology

Level 1: Quick Reference

STRIDE Threat Categories

threats:
  S_spoofing:
    description: Impersonating something or someone else
    targets: [authentication, identity]
    example: "Using stolen credentials to access system"

  T_tampering:
    description: Modifying data or code maliciously
    targets: [data_integrity, code_integrity]
    example: "Altering transaction amounts in transit"

  R_repudiation:
    description: Claiming to not have performed an action
    targets: [logging, audit_trails]
    example: "Denying fraudulent transaction was performed"

  I_information_disclosure:
    description: Exposing information to unauthorized parties
    targets: [confidentiality, data_protection]
    example: "Leaking customer PII through error messages"

  D_denial_of_service:
    description: Making system unavailable or degraded
    targets: [availability, performance]
    example: "Overwhelming API with requests"

  E_elevation_of_privilege:
    description: Gaining unauthorized higher access level
    targets: [authorization, access_control]
    example: "Exploiting bug to gain admin rights"

Four Key Questions

  1. What are we building?

    • System architecture, components, data flows
    • Trust boundaries, entry/exit points
  2. What can go wrong?

    • Apply STRIDE to each component
    • Identify threat scenarios
  3. What should we do about it?

    • Prioritize threats (DREAD scoring)
    • Design mitigations
  4. Did we do a good job?

    • Review threat model coverage
    • Validate mitigations

Essential Checklist

Planning Phase:

  • Identify system scope and boundaries
  • Document assets and data flows
  • Define security objectives
  • Assemble threat modeling team

Analysis Phase:

  • Create data flow diagrams (DFD)
  • Mark trust boundaries
  • Apply STRIDE to each element
  • Document threat scenarios
  • Build attack trees

Prioritization:

  • Score threats using DREAD
  • Classify by impact and likelihood
  • Map to security controls (NIST RA-3)

Mitigation:

  • Design countermeasures
  • Assign ownership and timeline
  • Track implementation status
  • Verify effectiveness (NIST RA-5)

Documentation:

  • Maintain threat model repository
  • Update for architecture changes
  • Share findings with stakeholders
  • Schedule periodic reviews

Level 2:

📚 Full Examples: See REFERENCE.md for complete code samples, detailed configurations, and production-ready implementations.

Implementation Guide

STRIDE Methodology

Systematic Threat Identification

See REFERENCE.md for complete implementation.

STRIDE-per-Element Pattern

See REFERENCE.md for complete implementation.

Attack Trees

Building Attack Trees

See REFERENCE.md for complete implementation.

Attack Tree Template

See REFERENCE.md for complete implementation.

Data Flow Diagrams (DFD)

DFD Notation

See REFERENCE.md for complete implementation.

Example DFD: Web Application

See REFERENCE.md for complete implementation.

DFD Analysis Checklist

See REFERENCE.md for complete implementation.

Trust Boundaries

Identifying Trust Boundaries

See REFERENCE.md for complete implementation.

Boundary Crossing Analysis

See REFERENCE.md for complete implementation.

Threat Prioritization (DREAD)

DREAD Scoring System

See REFERENCE.md for complete implementation.

Threat Prioritization Example

See REFERENCE.md for complete implementation.

Mitigation Strategies

Mitigation Pattern Catalog

See REFERENCE.md for complete implementation.

PASTA Methodology

Process for Attack Simulation and Threat Analysis

See REFERENCE.md for complete implementation.

Tools

Microsoft Threat Modeling Tool

See REFERENCE.md for complete implementation.

Threat Modeling Workflow

See REFERENCE.md for complete implementation.

NIST Integration

NIST RA-3: Risk Assessment

See REFERENCE.md for complete implementation.

NIST RA-5: Vulnerability Monitoring and Scanning

See REFERENCE.md for complete implementation.

Practical Examples

Example 1: Authentication Service Threat Model

*See REFERENCE.md for complete

Полный SKILL.md на GitHub

Установить threat-modeling в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.mdREFERENCE.mdexample-threats.yamlresources/README.mdresources/stride-examples.mdscripts/README.mdscripts/threat-report-generator.pytemplates/README.mdtemplates/data-flow-diagram.mdtemplates/mitigation-plan.mdtemplates/stride-template.mdtemplates/threat-scenario.md

FAQ

Что делает скилл threat-modeling?

Ttampering: description: Modifying data or code maliciously targets: [dataintegrity, codeintegrity] example: "Altering transaction amounts in transit"

Как установить скилл threat-modeling?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл threat-modeling запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить threat-modeling с