Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 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

    Money-back 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.

    • Does not provide exploit payloads or execution scripts.
    • Requires user-defined scoring values for accurate path analysis.
    • Diagrams require external renderers like Mermaid.js.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 5 months ago

    Requires

    Python

    Permissions

    No special permissions declared or detected

    Listed5 months ago
    Updated1 month ago

    What's inside

    Frequently Asked Questions

    This skill automates the creation of hierarchical threat models, turning a single high-level goal into a logical map of AND/OR steps with calculated metrics for cost, skill, and detection probability.

    The skill supports multiple formats including Mermaid.js for visual diagrams, JSON for integration with other security tools, and Python data models for running advanced risk simulations.

    Yes, you can input your current security controls and the skill will overlay them onto the tree, specifically highlighting 'naked' leaf nodes where no defenses currently exist.

    This skill is designed to work with any leading LLM that supports structured data generation and complex reasoning, and it can be easily integrated into common agent frameworks via standard API calls.

    The purchase includes the core logic for tree generation, pre-defined templates for common attack vectors, and documentation on how to customize scoring attributes for your specific industry.

    Updates are provided periodically to include new common attack patterns and support for additional visualization libraries as industry standards for threat modeling evolve.

    New in Security