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。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请给我一份清单,帮助我规划对我们公司官网的外部渗透测试。”
每周 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,
常见问题
它涵盖哪些类型的测试?
它涵盖外部测试、内部测试和网页应用测试等。
它也包括文件手续吗?
包括。该技能将法律协议和范围文件列为准备工作的一部分。
测试后的修复也包括在内吗?
包括。它包含修复计划和验证步骤。
详情
作者的原始描述
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教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。