Logo de Threat Modeling

Threat Modeling

Comunidade
Omar-Obando
threat-modeling

Use when performing threat modeling, identifying security threats, analyzing attack vectors, creating threat models, and implementing threat mitigation strategies. Includes STRIDE, DREAD, attack trees, and threat modeling frameworks. Based on CISSP, CSSLP certifications and OWASP threat modeling standards.

Visão geral

Publicado porOmar-Obando
Repositórioqwen-orchestrator
Nome da habilidadethreat-modeling
Estrelas
53
Forks
13
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por Omar-Obando no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Threat Modeling no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/threat-modeling
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Omar-Obando/qwen-orchestrator.git /tmp/qwen-orchestrator
mkdir -p .claude/skills
cp -r /tmp/qwen-orchestrator/skills/threat-modeling .claude/skills/threat-modeling
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Threat Modeling em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Threat Modeling automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Threat Modeling não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Threat Modeling Skill — Cybersecurity Engineer

Overview

This skill provides comprehensive guidance for threat modeling and security analysis. It covers threat identification, attack vector analysis, threat model creation, and threat mitigation following CISSP and CSSLP certifications and OWASP threat modeling standards.

When to Use

Use this skill when:

  • Performing threat modeling for systems
  • Identifying security threats and vulnerabilities
  • Analyzing attack vectors and attack paths
  • Creating threat models for applications
  • Implementing STRIDE threat modeling
  • Using DREAD risk assessment
  • Creating attack trees
  • Performing threat modeling workshops
  • Identifying security requirements
  • Creating threat mitigation strategies
  • Documenting threat models
  • Performing threat modeling for APIs
  • Creating threat models for microservices
  • Performing threat modeling for cloud systems
  • Identifying insider threats
  • Analyzing supply chain threats
  • Creating security requirements
  • Performing threat modeling for mobile apps
  • Identifying data flow threats
  • Creating threat models for IoT systems
  • Performing threat modeling for web applications
  • Identifying authentication threats
  • Analyzing authorization threats
  • Creating threat models for databases

Do NOT use this skill when:

  • Writing application business logic (use domain-driven skill)
  • Designing database schemas (use database-design skill)
  • Writing API endpoint specifications (use api-design skill)
  • Performing general code review (use code-review skill)
  • Writing SQL queries (use sql-best-practices skill)
  • Designing multi-page website layouts (use design-system skill)
  • Analyzing deployment configurations (use deployment skill)
  • Writing documentation (use documentation-best-practices skill)

Threat Modeling Frameworks

STRIDE Model

┌─────────────────────────────────────────────────────────────┐
│              STRIDE Threat Modeling                         │
├─────────────────────────────────────────────────────────────┤
│  S - Spoofing Identity:                                     │
│  - Impersonating users or systems                           │
│  - Attack examples: Credential theft, token theft           │
│  - Mitigations: Authentication, MFA, certificates           │
│                                                              │
│  T - Tampering with Data:                                   │
│  - Modifying data in transit or at rest                     │
│  - Attack examples: Data manipulation, code injection       │
│  - Mitigations: Integrity checks, digital signatures        │
│                                                              │
│  R - Repudiation:                                           │
│  - Actions cannot be traced to actor                        │
│  - Attack examples: Denying actions, log tampering          │
│  - Mitigations: Audit logging, non-repudiation              │
│                                                              │
│  I - Information Disclosure:                                │
│  - Unauthorized access to information                       │
│  - Attack examples: Data breaches, eavesdropping            │
│  - Mitigations: Encryption, access controls                 │
│                                                              │
│  D - Denial of Service:                                     │
│  - Service unavailable to legitimate users                  │
│  - Attack examples: DDoS, resource exhaustion               │
│  - Mitigations: Rate limiting, redundancy                   │
│                                                              │
│  E - Elevation of Privilege:                                │
│  - Gaining higher privileges than intended                  │
│  - Attack examples: Privilege escalation, code execution    │
│  - Mitigations: Least privilege, access controls            │
└─────────────────────────────────────────────────────────────┘

DREAD Risk Assessment

┌─────────────────────────────────────────────────────────────┐
│              DREAD Risk Assessment                          │
├─────────────────────────────────────────────────────────────┤
│  D - Damage Potential:                                      │
│  - How much damage can this threat cause?                   │
│  - Scale: 1-10 (1=minor, 10=catastrophic)                   │
│                                                              │
│  R - Reproducibility:                                       │
│  - Can the attack be reproduced consistently?               │
│  - Scale: 1-10 (1=rare, 10=always)                          │
│                                                              │
│  E - Exploitability:                                        │
│  - How easy is it to exploit this threat?                   │
│  - Scale: 1-10 (1=difficult, 10=trivial)                    │
│                                                              │
│  A - Affected Users:                                        │
│  - How many users can be affected?                          │
│  - Scale: 1-10 (1=few, 10=all)                              │
│                                                              │
│  D - Discoverability:                                       │
│  - How easy is it to discover this vulnerability?           │
│  - Scale: 1-10 (1=hard, 10=obvious)                         │
│                                                              │
│  Risk Score = (D + R + E + A + D) / 5                       │
│  - Critical: 8.0+                                           │
│  - High: 6.0-7.9                                            │
│  - Medium: 4.0-5.9                                          │
│  - Low: 0.0-3.9                                             │
└─────────────────────────────────────────────────────────────┘

Threat Modeling Process

Threat Modeling Workflow

┌─────────────────────────────────────────────────────────────┐
│              Threat Modeling Process                        │
├─────────────────────────────────────────────────────────────┤
│  1. Define Scope                                            │
│     - System boundaries                                     │
│  - Assets to protect                                       │
│  - Threat model audience                                   │
│                                                              │
│  2. Identify Assets                                         │
│     - Data in transit                                       │
│  - Data at rest                                            │
│  - Compute resources                                       │
│  - Network boundaries                                      │
│                                                              │
│  3. Identify Threats                                        │
│     - Use STRIDE framework                                  │
│  - Analyze data flow diagrams                              │
│  - Identify attack vectors                                 │
│                                                              │
│  4. Analyze Threats                                         │
│     - Use DREAD assessment                                  │
│  - Prioritize threats                                      │
│  - Document threat details                                 │
│                                                              │
│  5. Mitigate Threats                                        │
│     - Implement security controls                           │
│  - Update threat model                                     │
│  - Document mitigations                                    │
│                                                              │
│  6. Validate                                                │
│     - Review threat model                                   │
│  - Test mitigations                                        │
│  - Update documentation                                    │
└─────────────────────────────────────────────────────────────┘

Data Flow Diagram

┌─────────────────────────────────────────────────────────────┐
│              Data Flow Diagram                              │
├─────────────────────────────────────────────────────────────┤
│  ┌─────────────┐       ┌─────────────┐       ┌───────────┐ │
│  │   Actor     │──────>│   System    │──────>│  Database │ │
│  │  (User)     │       │   (App)     │       │   (DB)    │ │
│  └─────────────┘       └─────────────┘       └───────────┘ │
│         │                      │                     │      │
│         │                      │                     │      │
│         ▼                      ▼                     ▼      │
│  ┌─────────────┐       ┌─────────────┐       ┌───────────┐ │
│  │   External  │       │   Internal  │       │  Storage  │ │
│  │   Services  │       │   Services  │       │   (Data)  │ │
│  └─────────────┘       └─────────────┘       └───────────┘ │
│                                                              │
│  Threats:                                                   │
│  - Spoofing (Actor identity)                                │
│  - Tampering (Data in transit)                              │
│  - Repudiation (Actions not logged)                         │
│  - Information Disclosure (Data at rest)                    │
└─────────────────────────────────────────────────────────────┘

Attack Trees

Attack Tree Structure

┌─────────────────────────────────────────────────────────────┐
│              Attack Tree                                    │
├─────────────────────────────────────────────────────────────┤
│  Root: Gain Admin Access                                    │
│  └── OR:                                                    │
│      ├── AND: Steal Admin Credentials                       │
│      │   ├── Phishing attack                                │
│      │   ├── Keylogger infection                            │
│      │   └── Password reuse                                 │
│      │                                                       │
│      ├── AND: Exploit Vulnerability                         │
│      │   ├── SQL injection                                  │
│      │   ├── XSS attack                                     │
│      │   └── CSRF attack                                    │
│      │                                                       │
│      └── AND: Social Engineering                            │
│          ├── Impersonate admin                              │
│          ├── Bypass MFA                                     │
│          └── Social engineering                             │
│                                                              │
│  Mitigations:                                               │
│  - Multi-factor authentication                              │
│  - Input validation                                         │
│  - Security awareness training                              │
│  - Regular vulnerability scanning                           │
└─────────────────────────────────────────────────────────────┘

Threat Modeling Tools

Threat Modeling Tools

┌─────────────────────────────────────────────────────────────┐
│              Threat Modeling Tools                          │
├─────────────────────────────────────────────────────────────┤
│  OWASP Threat Dragon:                                       │
│  - Open-source threat modeling tool                         │
│  - Draw threat diagrams                                     │
│  - Generate threat lists                                    │
│  - Export threat models                                     │
│                                                              │
│  Microsoft Threat Modeling Tool:                            │
│  - STRIDE-based threat modeling                             │
│  - Template-based approach                                  │
│  - Integration with Azure DevOps                            │
│  - Threat library                                           │
│                                                              │
│  ThreatModeler:                                             │
│  - Cloud-based threat modeling                              │
│  - Automated threat generation                              │
│  - Integration with DevOps tools                            │
│  - Collaborative threat modeling                            │
│                                                              │
│  Custom Tools:                                              │
│  - Excel/Google Sheets templates                            │
│  - Whiteboard sessions                                      │
│  - Documentation-based approach                             │
└─────────────────────────────────────────────────────────────┘

Real-World Impact

Before this skill:

  • No threat modeling
  • Security vulnerabilities discovered late
  • Reactive security approach
  • Incomplete security requirements
  • Security gaps in design

After this skill:

  • Proactive threat identification
  • Security integrated in design
  • Threat-informed decisions
  • Complete security requirements
  • Proven security controls

Cross-References

  • security-auditor - For security audits
  • security-code-review - For code security review
  • devops-pipeline - For security CI/CD gates

References

Perguntas frequentes

O que a habilidade de IA Threat Modeling faz?

Use when performing threat modeling, identifying security threats, analyzing attack vectors, creating threat models, and implementing threat mitigation strategies. Includes STRIDE, DREAD, attack trees, and threat modeling frameworks. Based on CISSP, CSSLP certifications and OWASP threat modeling standards.

Por que usar Threat Modeling no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Threat Modeling é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Threat Modeling no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/Omar-Obando/qwen-orchestrator/tree/main/skills/threat-modeling. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Threat Modeling?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Threat Modeling?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Threat Modeling com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Threat Modeling é gratuita?

Sim. A habilidade é publicada no GitHub por Omar-Obando sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇