1
    attack-tree-construction

    attack-tree-construction

    by LocoLoboZ

    Generate structured, scored attack trees with AND/OR logic to visualize threat paths and identify security gaps.

    Updated May 2026
    Security scanned
    One-time purchase
    including Claude Code

    $10

    · or 50 credits

    One-time purchase

    30-day refund guarantee

    Secure checkout via Stripe

    Included in download

    • Identify the lowest-cost paths for an attacker to breach a specific system.
    • Map MITRE ATT&CK techniques to internal architectural components.
    • terminal automation included
    • Ready for including Claude Code
    • Instant install

    See it in action

    A real example of what this skill takes in and produces.

    Sample input

    Build an attack tree for the attacker goal "Exfiltrate sensitive customer data from a cloud-hosted CRM application". Include sub-goals, leaf node conditions, AND/OR node logic, mitigation mappings, and probability annotations.

    Sample output

    The skill produces a structured attack tree with the root goal decomposed into sub-goal branches covering credential compromise, session hijacking, API abuse, and insider threat vectors. Each branch is resolved to leaf node conditions with AND/OR logic annotations. Mitigation mappings are provided for each leaf node with effectiveness and implementation notes. Probability and cost annotations are applied where estimable from the scenario context. The output is formatted for direct use in a threat model document or risk register entry.

    About This Skill

    Systematic Threat Path Visualization

    Modern security architecture requires more than just a list of risks; it requires a deep understanding of the logical paths an attacker takes to reach a goal. This skill automates the construction of structured attack trees, allowing developers and security engineers to decompose complex threats into atomic, measurable steps.

    What it does

    • Logical Decomposition: Breaks down high-level objectives into sub-goals using strict AND/OR node logic.
    • Attribute Scoring: Evaluates every leaf node based on time, cost, technical skill required, and detection probability.
    • Path Analysis: Automatically identifies the "Path of Least Resistance" (lowest cost) and the "Stealthiest Path" (lowest detection).
    • Defensive Mapping: Overlays existing controls onto the tree to highlight gaps where no mitigations exist.

    Why use this skill?

    Manually drawing attack trees is time-consuming and prone to logic errors. This skill ensures consistency in your threat models by enforcing atomic leaf nodes and valid Boolean logic. It serves as a bridge between high-level risk assessments and technical red-teaming, providing a clear visual or data-driven output (JSON, Mermaid, or Python models) that can be integrated into CI/CD security reviews or architecture documentation.

    Supported Outputs

    The skill can produce structured text trees, Mermaid.js diagrams for GitHub/Notion, JSON for programmatic analysis, or Python data models for Monte Carlo simulations.

    Use Cases

    • Identify the lowest-cost paths for an attacker to breach a specific system.
    • Map MITRE ATT&CK techniques to internal architectural components.
    • Visualize defense gaps by overlaying security controls on attack paths.
    • Produce structured JSON attack trees for automated risk scoring.

    Reviews

    No reviews yet - be the first to share your experience.

    Only users who have downloaded or purchased this skill can leave a review.

    Security Scanned

    Passed automated security review

    Permissions

    Terminal / Shell

    File Scopes

    attack-tree-construction/**

    Works with any agent that supports the Universal SKILL.md Standard, including Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI, OpenClaw, and 20+ compatible agents.

    Creator

    I design and publish skills built from real professional practice across three areas: cyber security consulting, business operations, and AI workflow engineering. My cyber security skills draw on active advisory work spanning governance, risk, compliance, assurance, and executive reporting. They are built for practitioners who need structured, defensible outputs - not generic templates. My business operations skills cover the day-to-day work of running a consulting practice: bookkeeping, financial tracking, expense reconciliation, and marketing content - designed to reduce repetitive overhead and keep outputs consistent. My AI platform and workflow skills are built for people who want to get more out of Claude and similar platforms - covering prompt engineering, skill architecture, automation pipelines, and agent enhancement. Every skill I publish has been tested in production use before it reaches the marketplace. If it is here, it works.

    Frequently Asked Questions

    More Premium Skills

    $10