关于 WebAssessment
WebAssessment 是用于梳理 Web 应用、构建威胁模型并组织漏洞测试的安全评估技能。它协调侦察和专项工作流,并以六阶段渗透测试方法指导至报告环节;测试须获明确授权。
主要功能
- 01应用叙述与用户流程梳理
- 02生成优先级威胁模型
- 03六阶段渗透测试方法
- 04侦察与端点发现工作流
- 05模糊测试、OSINT 和浏览器测试指南
适用场景
- 01梳理应用角色、流程和攻击面
- 02为 Web 应用确定测试场景优先级
- 03开展获授权的 Web 渗透测试
- 04使用 OWASP 或 CWE 参考记录发现
安装
复制下面的命令,在终端中运行。
npx skills add https:/ / github.com/ danielmiessler/ lifeos --skill webassessment安装后在 Claude Code 中输入/webassessment确认已加载。
包含的文件
除 SKILL.md 外,安装时一起下载的参考资料和脚本。
BugBountyTool/bun.lockpackage.jsonREADME.mdbounty.shstate.jsonBugBountyTool/src/init.tsconfig.tsshow.tsrecon.tsgithub.tsupdate.tsstate.tstypes.tstracker.tsFfufResources/REQUEST_TEMPLATES.mdWORDLISTS.mdOsintTools/README.mdautomation-frameworks-notes.mdnetwork-tools-notes.mdAPI-TOOLS-GUIDE.mdosint-api-tools.pyvisualization-threat-intel-notes.mdWebappExamples/console_logging.pyelement_discovery.pystatic_html_automation.pyWebappScripts/with_server.pyWorkflows/CreateThreatModel.mdUnderstandApplication.mdWorkflows/bug-bounty/AutomationTool.mdWorkflows/ffuf/FfufHelper.md详细介绍
自定义
执行前,请检查以下位置是否有用户自定义设置:
~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/WebAssessment/
如果此目录存在,请加载并应用其中的任何 PREFERENCES.md、配置或资源。这些内容优先于默认行为。如果目录不存在,则使用技能默认设置。
🚨 强制要求:语音通知(必须在执行任何操作前完成)
调用此技能时,必须先发送此通知,再执行任何其他操作。
-
发送语音通知:
curl -s -X POST http://localhost:8888/notify \ -H "Content-Type: application/json" \ -d '{"message": "Running the WORKFLOWNAME workflow in the WebAssessment skill to ACTION"}' \ > /dev/null 2>&1 & -
输出文本通知:
Running the **WorkflowName** workflow in the **WebAssessment** skill to ACTION...
此要求不可省略。调用技能后,请立即执行此 curl 命令。
WebAssessment 技能
集成侦察、威胁建模和漏洞测试的安全评估基础设施。
工作流路由
| 触发条件 | 工作流 |
|---|---|
| “了解应用”“这个应用有什么功能”“梳理应用” | UnderstandApplication |
| “威胁建模”“攻击场景”“我会如何攻击” | CreateThreatModel |
| “渗透测试”“安全评估”“测试漏洞” | Pentest/MasterMethodology |
| “使用 ffuf 进行模糊测试”“目录模糊测试”“内容发现” | ffuf/FfufGuide |
| “OSINT”“侦察”“开源情报” | osint/MasterGuide |
| “测试 Web 应用”“Playwright”“浏览器自动化” | webapp/TestingGuide |
| “漏洞赏金”“赏金计划” | bug-bounty/Programs |
| “使用 AI 进行漏洞分析”“Gemini 分析” | VulnerabilityAnalysisGemini3 |
技能集成
WebAssessment 与专用技能协同工作:
| 阶段 | 技能 | 目的 |
|---|---|---|
| 范围定义 | Recon | 公司架构、域名枚举 |
| 目标发现 | Recon | 子域名、端点、端口 |
| 了解应用 | WebAssessment | 应用概述、用户流程、敏感数据 |
| 威胁建模 | WebAssessment | 攻击场景、测试优先级 |
| 注入测试 | PromptInjection | 针对 LLM 的攻击 |
| 情报收集 | OSINT | 人员、公司、社交媒体 |
评估工作流
1. Corporate Structure (Recon) → Define scope and targets
2. Subdomain Enumeration (Recon) → Find all domains
3. Endpoint Discovery (Recon) → Extract JS endpoints
4. Understand Application → Build app narrative
5. Create Threat Model → Prioritize attack scenarios
6. Execute Testing → Test against identified threats
7. Report Findings → Document with PoCs
Recon 技能工具
WebAssessment 使用 Recon 技能中的工具:
# Corporate structure for scope
bun ~/.claude/skills/Security/Recon/Tools/CorporateStructure.ts target.com
# Subdomain enumeration
bun ~/.claude/skills/Security/Recon/Tools/SubdomainEnum.ts target.com
# Endpoint discovery from JavaScript
bun ~/.claude/skills/Security/Recon/Tools/EndpointDiscovery.ts https://target.com
# Port scanning
bun ~/.claude/skills/Security/Recon/Tools/PortScan.ts target.com
# Path discovery
bun ~/.claude/skills/Security/Recon/Tools/PathDiscovery.ts https://target.com
UnderstandApplication 输出
生成包含以下内容的结构化概述:
- 摘要:用途、行业、用户群体、关键功能
- 用户角色:访问级别和权限
- 用户流程:包含敏感数据的分步流程
- 技术栈:前端、后端、身份验证、第三方服务
- 攻击面:入口点、输入、文件上传、WebSocket
CreateThreatModel 输出
生成按优先级排序的攻击计划:
- 威胁:映射到 OWASP/CWE,并附风险评分
- 攻击路径:多步骤攻击场景
- 测试计划:按优先级排序,并提供工具建议
- 工作量估算:按威胁分为快速、中等、耗时较长
威胁类别
| 类别 | 触发条件 |
|---|---|
| 身份验证 | 检测到身份验证机制 |
| 访问控制 | 存在多个用户角色 |
| 注入 | 所有 Web 应用 |
| 数据泄露 | 发现敏感数据 |
| 文件上传 | 存在上传功能 |
| API 安全 | 存在 API 端点 |
| WebSocket | 检测到 WebSocket |
| 业务逻辑 | 所有 Web 应用 |
| 支付安全 | 存在支付流程 |
6 阶段渗透测试方法
阶段 0:范围界定与准备 阶段 1:侦察(Recon 技能) 阶段 2:映射(内容发现) 阶段 3:漏洞分析 阶段 4:利用 阶段 5:报告
核心原则
- 先获得授权——未经明确许可,绝不进行测试
- 先了解,再测试——先构建应用概述
- 以威胁模型指导测试——不要盲目测试
- 先广度,再深度——广泛侦察,聚焦利用
- 记录一切——笔记、截图、命令
Workflow Index
Core Assessment:
Workflows/UnderstandApplication.md- Application reconnaissanceWorkflows/CreateThreatModel.md- Attack scenario generation
Penetration Testing:
Workflows/pentest/MasterMethodology.md- 6-phase methodologyWorkflows/pentest/ToolInventory.md- Security tools referenceWorkflows/pentest/Reconnaissance.md- Asset discoveryWorkflows/pentest/Exploitation.md- Vulnerability testing
Web Fuzzing:
Workflows/ffuf/FfufGuide.md- FFUF fuzzing guideWorkflows/ffuf/FfufHelper.md- Automated fuzzing helper
Bug Bounty:
Workflows/bug-bounty/Programs.md- Program trackingWorkflows/bug-bounty/AutomationTool.md- Bounty automation
Web App Testing:
Workflows/webapp/TestingGuide.md- Playwright testingWorkflows/webapp/Examples.md- Testing patterns
OSINT:
Workflows/osint/MasterGuide.md- OSINT methodologyWorkflows/osint/Reconnaissance.md- Domain reconWorkflows/osint/SocialMediaIntel.md- SOCMINTWorkflows/osint/Automation.md- SpiderFoot/MaltegoWorkflows/osint/MetadataAnalysis.md- ExifTool analysis
AI-Powered:
Workflows/VulnerabilityAnalysisGemini3.md- Gemini deep analysis
Examples
Example 1: Full assessment workflow
User: "Security assessment on app.example.com"
→ Run UnderstandApplication to build narrative
→ Run CreateThreatModel to prioritize testing
→ Follow MasterMethodology with threat model guidance
→ Report findings with OWASP/CWE references
Example 2: Quick threat model
User: "How would I attack this app?"
→ Run CreateThreatModel on target
→ Get prioritized attack paths
→ Get test plan with tool suggestions
Example 3: Integrate with Recon
User: "Assessment on target.com including all subdomains"
→ CorporateStructure (Recon) → Find parent/child companies
→ SubdomainEnum (Recon) → Find all subdomains
→ EndpointDiscovery (Recon) → Extract JS endpoints
→ UnderstandApplication → Build app narrative
→ CreateThreatModel → Generate attack plan