attack-tree-construction
하는 일
이 도구는 공격이 어떻게 일어날 수 있는지 지도로 그리도록 돕습니다. 공격자의 주된 목표에서 가장 간단한 행동까지 가능한 모든 단계를 보여 줍니다.
사용하는 경우
- ✓공격이 어떻게 작동할 수 있는지 이해하고 싶을 때.
- ✓보안이 어디에서 실패할 수 있는지 보고 싶을 때.
- ✓보안 위험을 다른 사람에게 설명할 때.
스킬 링크
https://github.com/wshobson/agents/blob/main/plugins/security-scanning/skills/attack-tree-construction/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“은행을 터는 공격 트리를 그려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
공격의 주된 목표를 설명합니다. AI는 그 목표를 더 작은 부분으로 나누도록 돕고, 어떤 부분이 (OR) 또는 모든 부분이 (AND) 성공을 위해 필요한지 보여 줍니다. 마지막 각 단계는 간단한 공격입니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Attack Tree Construction
Systematic attack path visualization and analysis.
When to Use This Skill
- Visualizing complex attack scenarios
- Identifying defense gaps and priorities
- Communicating risks to stakeholders
- Planning defensive investments
- Penetration test planning
- Security architecture review
Core Concepts
1. Attack Tree Structure
[Root Goal]
|
┌────────────┴────────────┐
│ │
[Sub-goal 1] [Sub-goal 2]
(OR node) (AND node)
│ │
┌─────┴─────┐ ┌─────┴─────┐
│ │ │ │
[Attack] [Attack] [Attack] [Attack]
(leaf) (leaf) (leaf) (leaf)
2. Node Types
| Type | Symbol | Description |
|---|---|---|
| OR | Oval | Any child achieves goal |
| AND | Rectangle | All children required |
| Leaf | Box | Atomic attack step |
3. Attack Attributes
| Attribute | Description | Values |
|---|---|---|
| Cost | Resources needed | $, $$, $$$ |
| Time | Duration to execute | Hours, Days, Weeks |
| Skill | Expertise required | Low, Medium, High |
| Detection | Likelihood of detection | Low, Medium, High |
Templates and detailed worked examples
Full template library lives in references/details.md. Read that file when you need concrete templates for this skill.
Best Practices
Do's
- Start with clear goals - Define what attacker wants
- Be exhaustive - Consider all attack vectors
- Attribute attacks - Cost, skill, and detection
- Update regularly - New threats emerge
- Validate with experts - Red team review
Don'ts
- Don't oversimplify - Real attacks are complex
- Don't ignore dependencies - AND nodes matter
- Don't forget insider threats - Not all attackers are external
- Don't skip mitigations - Trees are for defense planning
- Don't make it static - Threat landscape evolves
자주 묻는 질문
OR 노드와 AND 노드는 무엇인가요?
OR 노드는 아래의 경로 중 어느 하나라도 성공으로 이어질 수 있다는 뜻입니다. AND 노드는 아래의 모든 경로가 일어나야 한다는 뜻입니다.
공격 속성이란 무엇인가요?
각 공격 단계의 비용, 시간, 필요한 기술 수준, 발각될 가능성 같은 특성입니다.
비용과 시간을 정하는 것이 왜 중요한가요?
어떤 공격이 더 쉬운지 어려운지 이해하도록 돕습니다. 그래서 가장 중요한 방어에 집중할 수 있습니다.
상세 정보
작성자의 원본 설명
Build comprehensive attack trees to visualize threat paths. Use when mapping attack scenarios, identifying defense gaps, or communicating security risks to stakeholders.
repo: wshobson/agents
인기도
- GitHub 스타
- 41k
- 순위
- #6778
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
screen-reader-testing
41k에이전트가 스크린 리더로 웹사이트를 테스트해 접근성을 확인하도록 돕습니다.
wcag-audit-patterns
41k에이전트가 WCAG 지침에 따라 웹사이트의 접근성을 감사하고 문제를 고치도록 돕습니다.
multi-reviewer-patterns
41k에이전트가 병렬 코드 리뷰를 조율하고, 중복된 발견 사항을 정리하며, 보고서를 통합하도록 돕습니다.
parallel-debugging
41k에이전트가 병렬 조사와 근본 원인 분석으로 복잡한 문제를 디버그하도록 돕습니다.