mcpField
W
WebAssessment

WebAssessment

github.com/danielmiessler安全19.6k127 次安装今天更新
代码仓库

关于 WebAssessment

WebAssessment 是用于梳理 Web 应用、构建威胁模型并组织漏洞测试的安全评估技能。它协调侦察和专项工作流,并以六阶段渗透测试方法指导至报告环节;测试须获明确授权。

主要功能

  1. 01应用叙述与用户流程梳理
  2. 02生成优先级威胁模型
  3. 03六阶段渗透测试方法
  4. 04侦察与端点发现工作流
  5. 05模糊测试、OSINT 和浏览器测试指南

适用场景

  1. 01梳理应用角色、流程和攻击面
  2. 02为 Web 应用确定测试场景优先级
  3. 03开展获授权的 Web 渗透测试
  4. 04使用 OWASP 或 CWE 参考记录发现

安装

复制下面的命令,在终端中运行。

$npx skills add https://github.com/danielmiessler/lifeos --skill webassessment

安装后在 Claude Code 中输入/webassessment确认已加载。

包含的文件

除 SKILL.md 外,安装时一起下载的参考资料和脚本。

BugBountyTool/
bun.lock
package.json
README.md
bounty.sh
state.json
BugBountyTool/src/
init.ts
config.ts
show.ts
recon.ts
github.ts
update.ts
state.ts
types.ts
tracker.ts
FfufResources/
REQUEST_TEMPLATES.md
WORDLISTS.md
OsintTools/
README.md
automation-frameworks-notes.md
network-tools-notes.md
API-TOOLS-GUIDE.md
osint-api-tools.py
visualization-threat-intel-notes.md
WebappExamples/
console_logging.py
element_discovery.py
static_html_automation.py
WebappScripts/
with_server.py
Workflows/
CreateThreatModel.md
UnderstandApplication.md
Workflows/bug-bounty/
AutomationTool.md
Workflows/ffuf/
FfufHelper.md

详细介绍

自定义

执行前,请检查以下位置是否有用户自定义设置: ~/.claude/PAI/USER/SKILLCUSTOMIZATIONS/WebAssessment/

如果此目录存在,请加载并应用其中的任何 PREFERENCES.md、配置或资源。这些内容优先于默认行为。如果目录不存在,则使用技能默认设置。

🚨 强制要求:语音通知(必须在执行任何操作前完成)

调用此技能时,必须先发送此通知,再执行任何其他操作。

  1. 发送语音通知:

    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 &
    
  2. 输出文本通知:

    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:报告

核心原则

  1. 先获得授权——未经明确许可,绝不进行测试
  2. 先了解,再测试——先构建应用概述
  3. 以威胁模型指导测试——不要盲目测试
  4. 先广度,再深度——广泛侦察,聚焦利用
  5. 记录一切——笔记、截图、命令

Workflow Index

Core Assessment:

  • Workflows/UnderstandApplication.md - Application reconnaissance
  • Workflows/CreateThreatModel.md - Attack scenario generation

Penetration Testing:

  • Workflows/pentest/MasterMethodology.md - 6-phase methodology
  • Workflows/pentest/ToolInventory.md - Security tools reference
  • Workflows/pentest/Reconnaissance.md - Asset discovery
  • Workflows/pentest/Exploitation.md - Vulnerability testing

Web Fuzzing:

  • Workflows/ffuf/FfufGuide.md - FFUF fuzzing guide
  • Workflows/ffuf/FfufHelper.md - Automated fuzzing helper

Bug Bounty:

  • Workflows/bug-bounty/Programs.md - Program tracking
  • Workflows/bug-bounty/AutomationTool.md - Bounty automation

Web App Testing:

  • Workflows/webapp/TestingGuide.md - Playwright testing
  • Workflows/webapp/Examples.md - Testing patterns

OSINT:

  • Workflows/osint/MasterGuide.md - OSINT methodology
  • Workflows/osint/Reconnaissance.md - Domain recon
  • Workflows/osint/SocialMediaIntel.md - SOCMINT
  • Workflows/osint/Automation.md - SpiderFoot/Maltego
  • Workflows/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

评论

支持 Markdown