WebAssessment について
WebAssessmentは、Webアプリの把握、脅威モデリング、脆弱性テストを進めるセキュリティ評価スキルです。偵察や専門ワークフローを連携し、6段階のペンテストから報告までを案内します。テストには明示的な許可が必要です。
主な機能
- 01アプリの概要とユーザーフローの整理
- 02優先度付き脅威モデルの作成
- 036段階のペネトレーションテスト手法
- 04偵察とエンドポイント検出のワークフロー
- 05ファジング、OSINT、ブラウザテストのガイド
活用シーン
- 01アプリの役割、フロー、攻撃面の把握
- 02Webアプリのテストシナリオの優先順位付け
- 03許可を得たWebペネトレーションテスト
- 04OWASPや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