pentest-checklist
できること
このスキルは、あなたのエージェントに、範囲の定義から修正までの侵入テストを計画するための、構造化されたチェックリストを提供します。テストを準備するセキュリティ責任者やテスターが対象です。
使う場面
- ✓新しい侵入テストを計画していて、範囲と目標を定める必要があるとき。
- ✓テスト環境、連絡先、法的な合意が整っているかを確認したいとき。
- ✓テストの後、修正を追跡し、修正を検証する必要があるとき。
スキルのリンク
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/security/pentest-checklist/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“当社のWebサイトに対する外部からの侵入テストを計画するための、チェックリストを作ってください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、範囲の定義、準備、テスト、フォローアップなどの段階を順に進め、各項目を確認していきます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Pentest Checklist
Purpose
Provide a comprehensive checklist for planning, executing, and following up on penetration tests. Ensure thorough preparation, proper scoping, and effective remediation of discovered vulnerabilities.
Inputs/Prerequisites
- Clear business objectives for testing
- Target environment information
- Budget and timeline constraints
- Stakeholder contacts and authorization
- Legal agreements and scope documents
Outputs/Deliverables
- Defined pentest scope and objectives
- Prepared testing environment
- Security monitoring data
- Vulnerability findings report
- Remediation plan and verification
Core Workflow
Phase 1: Scope Definition
Define Objectives
- Clarify testing purpose - Determine goals (find vulnerabilities, compliance, customer assurance)
- Validate pentest necessity - Ensure penetration test is the right solution
- Align outcomes with objectives - Define success criteria
Reference Questions:
- Why are you doing this pentest?
- What specific outcomes do you expect?
- What will you do with the findings?
Know Your Test Types
| Type | Purpose | Scope |
|---|---|---|
| External Pentest | Assess external attack surface | Public-facing systems |
| Internal Pentest | Assess insider threat risk | Internal network |
| Web Application | Find application vulnerabilities | Specific applications |
| Social Engineering | Test human security | Employees, processes |
| Red Team | Full adversary simulation | Entire organization |
Enumerate Likely Threats
- Identify high-risk areas - Where could damage occur?
- Assess data sensitivity - What data could be compromised?
- Review legacy systems - Old systems often have vulnerabilities
- Map critical assets - Prioritize testing targets
Define Scope
- List in-scope systems - IPs, domains, applications
- Define out-of-scope items - Systems to avoid
- Set testing boundaries - What techniques are allowed?
- Document exclusions - Third-party systems, production data
Budget Planning
| Factor | Consideration |
|---|---|
| Asset Value | Higher value = higher investment |
| Complexity | More systems = more time |
| Depth Required | Thorough testing costs more |
| Reputation Value | Brand-name firms cost more |
Budget Reality Check:
- Cheap pentests often produce poor results
- Align budget with asset criticality
- Consider ongoing vs. one-time testing
Phase 2: Environment Preparation
Prepare Test Environment
- Production vs. staging decision - Determine where to test
- Set testing limits - No DoS on production
- Schedule testing window - Minimize business impact
- Create test accounts - Provide appropriate access levels
Environment Options:
Production - Realistic but risky
Staging - Safer but may differ from production
Clone - Ideal but resource-intensive
Run Preliminary Scans
- Execute vulnerability scanners - Find known issues first
- Fix obvious vulnerabilities - Don't waste pentest time
- Document existing issues - Share with testers
Common Pre-Scan Tools:
# Network vulnerability scan
nmap -sV --script vuln TARGET
# Web vulnerability scan
nikto -h http://TARGET
Review Security Policy
- Verify compliance requirements - GDPR, PCI-DSS, HIPAA
- Document data handling rules - Sensitive data procedures
- Confirm legal authorization - Get written permission
Notify Hosting Provider
- Check provider policies - What testing is allowed?
- Submit authorization requests - AWS, Azure, GCP requirements
- Document approvals - Keep records
Cloud Provider Policies:
- AWS: https://aws.amazon.com/security/penetration-testing/
- Azure: https://docs.microsoft.com/security/pentest
- GCP: https://cloud.google.com/security/overview
Freeze Developments
- Stop deployments during testing - Maintain consistent environment
- Document current versions - Record system states
- Avoid critical patches - Unless security emergency
Phase 3: Expertise Selection
Find Qualified Pentesters
- Seek recommendations - Ask trusted sources
- Verify credentials - OSCP, GPEN, CEH, CREST
- Check references - Talk to previous clients
- Match expertise to scope - Web, network,
よくある質問
どの種類のテストを扱いますか?
外部テスト、内部テスト、Webアプリケーションのテストなどを扱います。
書類の準備も含まれますか?
はい。スキルでは、準備の一部として法的な合意書と範囲の文書が挙げられています。
テストの後の修正も扱いますか?
はい。修正計画と修正の検証の工程が含まれています。
詳細
作者による元の説明
This skill should be used when the user asks to "plan a penetration test", "create a security assessment checklist", "prepare for penetration testing", "define pentest scope", "follow security testing best practices", or needs a structured methodology for penetration testing engagements.
人気
- GitHubのスター
- 33k
- ランキング
- #9062
- ライセンス
- MIT
- 更新日
- 2026/11/2
コメント
- …
このリポジトリの他のスキル
owasp-security
33kエージェントがWebアプリ、API、モバイル、コンテナ、AIエージェント向けの OWASP のセキュリティ指針を理解し、よくある弱点を見つけて修正案を出せるよう支援します。
agent-management
33kエージェントが、AI Maestro のコマンドラインを使って AI エージェントを作成、一覧表示、休止、再開、名前変更、削除できるよう支援します。各エージェントのライフサイクルを管理します。
agent-messaging
33kエージェントが、主に自分のマシン上で Agent Messaging Protocol を使い、AIエージェント同士の署名付きメッセージを送信、受信、返信できるよう支援します。
docs-search
33kエージェントが、自動生成されたコードのドキュメントから関数の署名、クラスの定義、コメントを検索できるよう支援します。コードを変更する前に、実際のAPIを確認できます。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。