attack-tree-construction

Construct and analyze attack trees with OR/AND nodes and atomic steps.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/tense-i/tslink --skill attack-tree-construction-tense-i
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: attack-tree-construction
Source: https://github.com/tense-i/tslink/tree/main/skills/attack-tree-construction
Command: npx skills add https://github.com/tense-i/tslink --skill attack-tree-construction-tense-i

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps you systematically visualize and analyze complex attack scenarios, identify security weaknesses, and communicate risks effectively.

Core Features & Use Cases

  • Attack Tree Modeling: Define attack goals, sub-goals (AND/OR nodes), and atomic attack steps (leaf nodes).
  • Attribute Assignment: Assign attributes like cost, time, skill, and detection risk to attack steps.
  • Path Analysis: Identify the easiest, cheapest, or stealthiest attack paths.
  • Use Case: A security team can use this Skill to model potential attack vectors against a web application, identify the most likely paths an attacker might take, and prioritize defensive measures accordingly.

Quick Start

Use the attack-tree-construction skill to build an attack tree for account takeover.

Frequently Asked Questions about attack-tree-construction

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

FAQPage Schema
How do I model an attack tree to visualize threat paths for account takeover?

You can model an attack tree by defining an attack goal, breaking it into sub-goals using AND/OR nodes, and assigning attributes like cost, time, skill, and detection risk to atomic attack steps to visualize threat paths and identify security vulnerabilities.

What is an attack tree in cybersecurity threat modeling?

An attack tree is a visual and analytical threat modeling technique used in cybersecurity to map attack goals hierarchically through sub-goals and atomic attack steps, assigning attributes like cost and detection risk to identify security vulnerabilities.

Can I use attack tree analysis to identify the easiest or cheapest attack vectors?

Yes, attack tree analysis enables path analysis by assigning attributes like cost, time, and detection risk to atomic attack steps, allowing you to systematically identify the easiest, cheapest, or stealthiest attack vectors against a target.

Does attack tree construction support AND and OR nodes for sub-goals?

Yes, attack tree construction supports defining sub-goals with AND and OR nodes, allowing you to map complex threat scenarios where multiple conditions must be met simultaneously or where alternative atomic attack steps achieve the same objective.

What is the best way to prioritize defensive measures after building an attack tree?

The best way to prioritize mitigations is through attack tree path analysis, which evaluates attributes like cost, time, and detection risk across atomic attack steps to highlight optimal attack vectors and rank defensive measures accordingly.