Attack tree construction

From FridrichMethod/awesome-skills · View interactive version

Attack tree construction is an AI agent skill from the GitHub repository FridrichMethod/awesome-skills. Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

How to use this skill

Skill file

Attack Tree Construction

Systematic attack path visualization and analysis.

When to Use This Skill

Core Concepts

1. Attack Tree Structure

                    [Root Goal]
                         |
            ┌────────────┴────────────┐
            │                         │
       [Sub-goal 1]              [Sub-goal 2]
       (OR node)                 (AND node)
            │                         │
      ┌─────┴─────┐             ┌─────┴─────┐
      │           │             │           │
   [Attack]   [Attack]      [Attack]   [Attack]
    (leaf)     (leaf)        (leaf)     (leaf)

2. Node Types

| Type | Symbol | Description |

| -------- | --------- | ----------------------- |

| OR | Oval | Any child achieves goal |

| AND | Rectangle | All children required |

| Leaf | Box | Atomic attack step |

3. Attack Attributes

| Attribute | Description | Values |

| ------------- | ----------------------- | ------------------ |

| Cost | Resources needed | $, $$, $$$ |

| Time | Duration to execute | Hours, Days, Weeks |

| Skill | Expertise required | Low, Medium, High |

| Detection | Likelihood of detection | Low, Medium, High |

Templates and detailed worked examples

Full template library lives in references/details.md. Read that file when you need concrete templates for this skill.

Best Practices

Do's

Don'ts

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.