Automated summary
Builds comprehensive attack trees to visualize threat paths, identify defense gaps, and communicate security risks to stakeholders.
Strengths
- Systematically decomposes complex attack scenarios into sub-goals with AND/OR structure.
- Annotates leaves with cost, skill, time, and detectability for risk prioritization.
- Maps mitigations per branch to identify defense gaps.
- Facilitates risk communication with clear visualizations.
Limitations
- Requires well-defined scope and assets to be effective.
- Does not replace formal quantitative risk analysis.
- Quality depends on the analyst's threat expertise.
Use this skill to visualize complex attack paths, identify defense gaps, or plan defensive investments.
Do not use it if you lack authorization or a defined scope to model the system, or if the task is a general risk review without attack-path modeling.
Security analysis
SafeThe skill describes a purely methodological process (attack tree construction) with no executable commands, no access to system resources, and no dangerous instructions. It includes safety caveats about sharing only with authorized stakeholders, but no actual execution risk.
No concerns found
How this analysis is madeExamples
Build an attack tree for a SaaS web application handling payment data. Root goal: 'Exfiltrate payment card data.' Include sub-goals for SQL injection, XSS, and session hijacking. Annotate leaves with estimated cost and skill level.Create an attack tree for a smart home IoT device. Root goal: 'Remotely control the device without authorization.' Decompose into firmware exploitation, network sniffing, and cloud API abuse. Add mitigations per branch.Generate an attack tree for a multi-cloud environment (AWS + GCP). Root goal: 'Leak data from S3 and GCS buckets.' Break down into misconfiguration exploitation, credential theft, and insider threat. Prioritize paths by detectability.name: Attack Tree Construction description: "Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders." risk: unknown source: community
Attack Tree Construction
Systematic attack path visualization and analysis.
Use this skill when
- Visualizing complex attack scenarios
- Identifying defense gaps and priorities
- Communicating risks to stakeholders
- Planning defensive investments or test scopes
Do not use this skill when
- You lack authorization or a defined scope to model the system
- The task is a general risk review without attack-path modeling
- The request is unrelated to security assessment or design
Instructions
- Confirm scope, assets, and the attacker goal for the root node.
- Decompose into sub-goals with AND/OR structure.
- Annotate leaves with cost, skill, time, and detectability.
- Map mitigations per branch and prioritize high-impact paths.
- If detailed templates are required, open
resources/implementation-playbook.md.
Safety
- Share attack trees only with authorized stakeholders.
- Avoid including sensitive exploit details unless required.
Resources
resources/implementation-playbook.mdfor detailed patterns, templates, and examples.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/attack-tree-construction-mmh8qrr8/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/attack-tree-construction-mmh8qrr8' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/attack-tree-construction-mmh8qrr8/download' --output '.skill-downloads/attack-tree-construction-mmh8qrr8/SKILL.md.part' && mv '.skill-downloads/attack-tree-construction-mmh8qrr8/SKILL.md.part' '.skill-downloads/attack-tree-construction-mmh8qrr8/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
This file does not provide a usable name/description header for this native procedure. It remains available to download and inspect; use the manual method below.
Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/attack-tree-construction-mmh8qrr8/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
DeFi AMM Security
Security
Security checklist for Solidity AMM contracts, liquidity pools, and swap flows. Covers reentrancy, donation attacks, oracle manipulation, slippage, and integer math.
Semgrep Rule Creator
Security
Creates custom Semgrep rules for detecting security vulnerabilities, bug patterns, and code patterns. Includes test-first methodology, taint mode support, and validation steps. Helps when building targeted static analysis detections.
Dev Toolbar Review Guide
Security
Safety rules for the dev toolbar, PostHog client, and feature flags. Use when reviewing changes to dev-tools and related files, covering environment guards, override cookies, and SSE stream safety.