Communitygithub.com

セキュリティバウンティハンター

リポジトリ内の悪用可能でバウンティに値するセキュリティ問題を探します。リモートから到達可能な脆弱性に焦点を当て、ノイズの多いローカルのみの発見ではなく、実際の報告に適した脆弱性を特定します。報告可能でリモートから到達可能な脆弱性をリポジトリで探す際に使用します。

セキュリティバウンティハンター とは?

このスキルは、責任ある開示やバグバウンティ提出を目的とした実用的な脆弱性の発見に特化しています。一般的なベストプラクティスのレビューではなく、HackerOneやHuntrなどのプラットフォームで実際に報酬が得られる脆弱性に焦点を当てます。リモートから到達可能でユーザー制御可能な攻撃経路を優先し、プラットフォームが「情報提供」や「対象外」として却下するパターンを除外することで、ノイズを低減します。SSRF、認証バイパス、リモートデシリアライゼーション、SQLインジェクション、コマンドインジェクション、パストラバーサル、自動トリガーXSSなど、現実的な影響のある脆弱性パターンをカバーし、実際の悪用可能性をコードパス全体の確認と最小限のPoCで検証するワークフローを提供します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/affaan-m/everything-claude-code/tree/main/skills/security-bounty-hunter

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

セキュリティバウンティハンター は何をしますか?

これは、広範なベストプラクティスレビューではなく、責任ある開示やバウンティ提出のための実用的な脆弱性発見を目的とする場合に使用します。

使用するタイミング

  • 悪用可能な脆弱性をリポジトリでスキャンする場合
  • Huntr、HackerOne、または同様のバウンティ提出を準備する場合
  • 「これは理論的に安全でないか?」ではなく「これは実際に報酬になるか?」というトリアージを行う場合

動作の仕組み

リモートから到達可能でユーザー制御可能な攻撃経路を優先し、プラットフォームが「情報提供」や「対象外」として一貫して却下するパターンを排除します。

対象範囲内のパターン

これらは一貫して重要視される問題の種類です:

パターンCWE典型的な影響
ユーザー制御URLによるSSRFCWE-918内部ネットワークアクセス、クラウドメタデータの窃取
ミドルウェアまたはAPIガードの認証バイパスCWE-287許可されていないアカウントまたはデータアクセス
リモートデシリアライゼーションまたはアップロードからRCEへの経路CWE-502コード実行
到達可能なエンドポイントでのSQLインジェクションCWE-89データ流出、認証バイパス、データ破壊
リクエストハンドラでのコマンドインジェクションCWE-78コード実行
ファイル提供パスでのパストラバーサルCWE-22任意のファイル読み取りまたは書き込み
自動トリガーXSSCWE-79セッション窃取、管理者権限の侵害

これらはスキップ

これらは通常、信号が弱いか、プログラムが特に許可しない限りバウンティの対象外です:

  • リモートパスが存在しないローカルのみの pickle.loads、torch.load、または同等のもの
  • CLI専用ツールでの eval() または exec()
  • 完全にハードコードされたコマンドでの shell=True
  • セキュリティヘッダーの欠如だけ
  • 悪用影響がない一般的なレート制限の苦情
  • 被害者が手動でコードを貼り付ける必要がある自己XSS
  • ターゲットプログラムの範囲外のCI/CDインジェクション
  • デモ、サンプル、またはテスト専用コード

ワークフロー

  1. 最初にスコープを確認:プログラムルール、SECURITY.md、開示チャネル、除外事項。
  2. 実際のエントリポイントを見つける:HTTPハンドラ、アップロード、バックグラウンドジョブ、ウェブフック、パーサー、統合エンドポイント。
  3. 静的ツールが役立つ場合は実行するが、トリアージの入力としてのみ扱う。
  4. 実際のコードパスを最初から最後まで読む。
  5. ユーザー制御が意味のあるシンクに到達することを証明する。
  6. 最小限の安全なPoCで悪用可能性と影響を確認する。
  7. 報告書を作成する前に、重複を確認する。

トリアージループの例

semgrep --config=auto --severity=ERROR --severity=WARNING --json

その後、手動でフィルタリング:

  • テスト、デモ、フィクスチャ、ベンダーコードを削除
  • ローカルのみまたは到達不能なパスを削除
  • 明確なネットワークまたはユーザー制御経路がある発見のみを保持

報告書の構造

## 説明
[脆弱性の内容とその重要性]

## 脆弱なコード
[ファイルパス、行範囲、および小さいスニペット]

## 概念実証
[最小限の動作するリクエストまたはスクリプト]

## 影響
[攻撃者が達成できること]

## 影響を受けるバージョン
[テストしたバージョン、コミット、またはデプロイ先]

品質ゲート

提出前の確認事項:

  • コードパスが実際のユーザーまたはネットワーク境界から到達可能であること
  • 入力が実際にユーザー制御下にあること
  • シンクが意味を持ち、悪用可能であること
  • PoCが動作すること
  • 問題がすでに勧告、CVE、またはオープンチケットでカバーされていないこと
  • ターゲットが実際にバウンティプログラムの対象範囲内であること

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

accessibility

Design, implement, and audit inclusive digital products using WCAG 2.2 Level AA. Use when building or auditing UI that must meet WCAG 2.2 Level AA, or when reviewing a change for keyboard, contrast, or screen-reader support.

affaan-m/claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

affaan-m/everything-claude-code

End-to-end marketing campaign planning and execution. Covers audience research, positioning, campaign angle definition, landing page copy, email sequences, social posts, ad copy, short-form video scripts, and content calendars. Use as the orchestration layer for multi-channel product launches. Use when planning or executing a multi-channel product launch, or producing landing page, email, social, or ad copy.

affaan-m/everything-claude-code

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/everything-claude-code-conventions

Development conventions and patterns for everything-claude-code. JavaScript project with conventional commits.

affaan-m/frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use when the user asks to build web components, pages, or applications and the visual direction matters as much as the code quality.

affaan-m/gget

gget CLI and Python workflow for quick genomic database queries, sequence lookup, BLAST-style searches, enrichment checks, and reproducible bioinformatics evidence logs.

affaan-m/literature-review

Systematic literature-review workflow for academic, biomedical, technical, and scientific topics, including search planning, source screening, synthesis, citation checks, and evidence logging.

affaan-m/motion-ui

Production-ready UI motion system for React/Next.js. Use when implementing animations, transitions, or motion patterns.

affaan-m/project-guidelines-example

Example project-specific skill template based on a real production application.

affaan-m/pubmed-database

Direct PubMed and NCBI E-utilities search workflows for biomedical literature, MeSH queries, PMID lookup, citation retrieval, and API-backed literature monitoring.

affaan-m/scholar-evaluation

Structured scholarly-work evaluation for papers, proposals, literature reviews, methods sections, evidence quality, citation support, and research-writing feedback.

affaan-m/uspto-database

USPTO patent and trademark data workflow for official record lookup, PatentSearch queries, TSDR checks, assignment data, and reproducible IP research logs.

agent-architecture-audit

Full-stack diagnostic for agent and LLM applications. Audits the 12-layer agent stack for wrapper regression, memory pollution, tool discipline failures, hidden repair loops, and rendering corruption. Produces severity-ranked findings with code-first fixes. Essential for developers building agent applications, autonomous loops, or any LLM-powered feature. Use when an agent or LLM feature misbehaves and the failing layer is unknown, or before shipping an agent stack.

agent-eval

Head-to-head comparison of coding agents (Claude Code, Aider, Codex, etc.) on custom tasks with pass rate, cost, time, and consistency metrics. Use when choosing between coding agents, or when a change to an agent setup needs measured pass rate, cost, and time rather than an impression.

agent-harness-construction

Design and optimize AI agent action spaces, tool definitions, and observation formatting for higher completion rates. Use when defining or revising an agent

agentic-engineering

Operate as an agentic engineer using eval-first execution, decomposition, and cost-aware model routing. Use when planning or executing engineering work that agents will carry out end to end.

agentic-os

Build persistent multi-agent operating systems on Claude Code. Covers kernel architecture, specialist agents, slash commands, file-based memory, scheduled automation, and state management without external databases. Use when building a persistent multi-agent system on Claude Code with its own memory, commands, and scheduling.

agent-introspection-debugging

Structured self-debugging workflow for AI agent failures using capture, diagnosis, contained recovery, and introspection reports. Use when an agent run fails and you need a reproducible diagnosis instead of a retry.

agent-payment-x402

Add x402 payment execution to AI agents with per-task budgets, spending controls, and non-custodial wallets. Supports Base through agentwallet-sdk and X Layer through OKX Payments / OKX Agent Payments Protocol. Use when an agent must pay for something itself and needs per-task budgets, spending controls, and a non-custodial wallet.

関連スキル