Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+22 more

    Attack Tree Construction

    2

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

    $10

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    Security scanned
    attack-tree-construction

    attack-tree-construction

    Example session with this skill installed

    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.

    • Read your context and instructions
    • Compiled the attack-tree-construction

    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.

    Connects securely to your tools. The creator never sees your data.

    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 use

    Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.

    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 4 months ago

    • Passed all security checks, Safe to install

    Listed4 months ago

    What's inside

    Frequently Asked Questions