attack-tree-construction

Map threat paths into structured attack trees with OR/AND nodes.

2|2|Updated Jan 21, 2026
One-click install
npx skills add https://github.com/NorkzYT/claude-code-autopilot --skill attack-tree-construction-norkzyt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: attack-tree-construction
Source: https://github.com/NorkzYT/claude-code-autopilot/tree/main/.claude/skills/attack-tree-construction
Command: npx skills add https://github.com/NorkzYT/claude-code-autopilot --skill attack-tree-construction-norkzyt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Maps and visualizes threat paths as structured attack trees to support risk assessment.

Core Features & Use Cases

  • Threat modeling: Create root goals, OR/AND sub-goals, and leaf attack steps to represent real-world attack scenarios.
  • Risk communication: Generate clear diagrams and summaries for stakeholders to illustrate defense priorities.
  • Planning and auditing: Integrate with security architecture reviews and red-team planning to identify mitigations and gaps.

Quick Start

Create an example attack tree with a root goal like Take Over User Account, add OR nodes for credential theft, bypass authentication, and social engineering, then export as a diagram.

Frequently Asked Questions about attack-tree-construction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an attack tree for threat modeling and risk analysis?

To build an attack tree, define a root goal like account takeover, add OR/AND nodes for sub-goals, and leaf attack steps with attributes like difficulty and cost. This structures threat paths to support risk assessment.

What is an attack tree and when do I need it for security architecture reviews?

An attack tree is a visual structure mapping threat paths via root goals, OR/AND nodes, and leaf attack steps. You need it for security architecture reviews, red-team planning, and communicating defense priorities to stakeholders.

Can I export attack tree diagrams for stakeholder risk communication?

Yes, you can export attack tree diagrams for stakeholder risk communication. By mapping root goals and leaf attack steps with detection risk attributes, you generate clear visuals illustrating defense priorities for stakeholders.

How do I map red-team planning scenarios using AND and OR nodes?

Map red-team planning scenarios by creating a root objective, branching into OR nodes for alternative attack methods, and using AND nodes for steps that must all succeed. Add cost and difficulty attributes to enable mitigation planning.

What attributes should I add to leaf attack steps for mitigation planning?

For mitigation planning, add difficulty, cost, and detection risk attributes to leaf attack steps. These attributes enable structured risk assessment and help identify security gaps during architecture reviews.

Does threat modeling with attack trees require specific diagram dependencies?

No specific diagram dependencies are required to map threat paths. The process relies on defining structured root goals, OR/AND nodes, and leaf attack steps with risk attributes to support diagram export and analysis.