mcpField
W
WebAssessment

WebAssessment

github.com/danielmiesslerセキュリティ19.6k127 回インストール1 日前に更新
リポジトリ

WebAssessment について

WebAssessmentは、Webアプリの把握、脅威モデリング、脆弱性テストを進めるセキュリティ評価スキルです。偵察や専門ワークフローを連携し、6段階のペンテストから報告までを案内します。テストには明示的な許可が必要です。

主な機能

  1. 01アプリの概要とユーザーフローの整理
  2. 02優先度付き脅威モデルの作成
  3. 036段階のペネトレーションテスト手法
  4. 04偵察とエンドポイント検出のワークフロー
  5. 05ファジング、OSINT、ブラウザテストのガイド

活用シーン

  1. 01アプリの役割、フロー、攻撃面の把握
  2. 02Webアプリのテストシナリオの優先順位付け
  3. 03許可を得たWebペネトレーションテスト
  4. 04OWASPや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攻撃シナリオ、テストの優先順位付け
インジェクションテストPromptInjectionLLM 固有の攻撃
インテリジェンス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 エンドポイントがある場合
WebSocketWebSocket が検出された場合
ビジネスロジックすべての 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

コメント