Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wshobson avatar

Attack Tree Construction

  • 9.2k installs
  • 38.5k repo stars
  • Updated July 22, 2026
  • wshobson/agents

attack-tree-construction is an agent skill that Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stak.

About

Build comprehensive attack trees to visualize threat paths Use when mapping attack scenarios identifying defense gaps or communicating security risks to stakeholders name attack-tree-construction description Build comprehensive attack trees to visualize threat paths Use when mapping attack scenarios identifying defense gaps or communicating security risks to stakeholders Attack Tree Construction Systematic attack path visualization and analysis When to Use This Skill Visualizing complex attack scenarios Identifying defense gaps and priorities Communicating risks to stakeholders Planning defensive investments Penetration test planning Security architecture review 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 lib.

  • Attack Tree Construction
  • Visualizing complex attack scenarios
  • Identifying defense gaps and priorities
  • Communicating risks to stakeholders
  • Planning defensive investments

Attack Tree Construction by the numbers

  • 9,221 all-time installs (skills.sh)
  • +288 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #123 of 2,153 Testing & QA skills by installs in the Skillselion catalog
  • Security screen: LOW risk (skills.sh audit)
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

attack-tree-construction capabilities & compatibility

Capabilities
attack tree construction · visualizing complex attack scenarios · identifying defense gaps and priorities · communicating risks to stakeholders · planning defensive investments
Use cases
documentation
From the docs

What attack-tree-construction says it does

--- name: attack-tree-construction description: Build comprehensive attack trees to visualize threat paths.
SKILL.md
Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.
SKILL.md
--- # Attack Tree Construction Systematic attack path visualization and analysis.
SKILL.md
Read that file when you need concrete templates for this skill.
SKILL.md
npx skills add https://github.com/wshobson/agents --skill attack-tree-construction

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs9.2k
repo stars38.5k
Security audit2 / 3 scanners passed
Last updatedJuly 22, 2026
Repositorywshobson/agents

What problem does attack-tree-construction solve for developers using this skill?

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

Who is it for?

Developers who need attack-tree-construction patterns described in the cached skill documentation.

Skip if: Skip when docs are empty or the task is outside the skill's documented scope.

When should I use this skill?

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

What you get

Actionable workflows and conventions from SKILL.md for attack-tree-construction.

  • Attack tree data models
  • Scored threat leaf nodes
  • Layered defense mappings

By the numbers

  • Defines 3 NodeType values: OR, AND, and LEAF
  • Scores attack leaves on 5-level difficulty and 5-level detection-risk enums

Files

SKILL.mdMarkdownGitHub ↗

Attack Tree Construction

Systematic attack path visualization and analysis.

When to Use This Skill

  • Visualizing complex attack scenarios
  • Identifying defense gaps and priorities
  • Communicating risks to stakeholders
  • Planning defensive investments
  • Penetration test planning
  • Security architecture review

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

TypeSymbolDescription
OROvalAny child achieves goal
ANDRectangleAll children required
LeafBoxAtomic attack step

3. Attack Attributes

AttributeDescriptionValues
CostResources needed$, $$, $$$
TimeDuration to executeHours, Days, Weeks
SkillExpertise requiredLow, Medium, High
DetectionLikelihood of detectionLow, 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

  • Start with clear goals - Define what attacker wants
  • Be exhaustive - Consider all attack vectors
  • Attribute attacks - Cost, skill, and detection
  • Update regularly - New threats emerge
  • Validate with experts - Red team review

Don'ts

  • Don't oversimplify - Real attacks are complex
  • Don't ignore dependencies - AND nodes matter
  • Don't forget insider threats - Not all attackers are external
  • Don't skip mitigations - Trees are for defense planning
  • Don't make it static - Threat landscape evolves

Related skills

How it compares

Choose attack-tree-construction over generic security checklists when you need quantified, branch-structured threat paths for agent or API design.

FAQ

What does attack-tree-construction do?

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

When should I use attack-tree-construction?

Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.

Is attack-tree-construction safe to install?

Review the Security Audits panel on this page before installing in production.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.