Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+17 more

    Attack Tree Construction

    2

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

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    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.

    Your agent does

    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.

    What you get

    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.

    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.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 3 months ago

    • One-time purchase, yours forever

    Listed3 months ago

    Frequently Asked Questions