bounty-hunting-methodology
できること
このスキルは、オープンソースプロジェクトを評価し、その弱点が悪用可能であることを証明するためにコードを読む方法を説明します。認可されたバグ報奨金や責任ある開示のプログラムに参加する研究者向けです。
使う場面
- ✓バグ報奨金やディスクロージャーのプログラムを運営するオープンソースプロジェクトを、研究者がレビューするよう依頼するとき。
- ✓レビューの前に、プロジェクトの信頼境界と過去のセキュリティ勧告を判断する必要があるとき。
- ✓経験豊富なセキュリティエンジニアのトリアージを通るよう、報告書を明確にする必要があるとき。
スキルのリンク
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/bounty-hunting/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このオープンソースプロジェクトを、そのバグ報奨金のルールの下でレビューし、証明できる発見を教えてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
エージェントは、プログラムの範囲と過去の勧告を確認し、主要な信頼境界の周辺のコードを読みます。証明できる発見だけを残します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Bug Bounty Hunting Methodology
You are not scanning. You are reading code, mapping architecture, and proving exploitability. Volume is the enemy — signal is the metric. Every report must survive triage by an experienced security engineer.
Target Assessment
The selected program and workflow determine effort allocation. Useful context for interpreting a supplied target includes:
- Exposure context: known deployments and dependency reach. Popularity alone does not establish technical impact or a reward multiplier.
- Trust boundary complexity: Does the app load config from untrusted sources? Handle plugins? Parse user-controlled serialized data? Multi-tenant auth? Complex trust boundaries = more attack surface.
- Security advisory history: Check
github.com/advisories?query=<package>. Projects that accept and credit researchers will work with you. Projects with zero advisories are either very secure or don't have a disclosure process. - Reward program: HackerOne, Bugcrowd, Immunefi, GitHub Security Advisories, Google VRP. Check scope, excluded vuln classes, and reward tiers.
Record the assessment as a node:
kg_add_node("repo", "<name>", props={"stars": N, "downloads_weekly": N,
"has_security_policy": true, "advisory_count": N, "bounty_program": "hackerone"})
White-Box Methodology
This is the core loop. Fork. Read. Trace. Prove.
Step 1 — Map the project
find /workspace/target -name 'package.json' -o -name 'pyproject.toml' \
-o -name 'go.mod' -o -name 'Cargo.toml' -o -name 'composer.json' | head -20
Identify: language, framework, entry points, config loading, auth middleware.
Step 2 — Map trust boundaries
Where does untrusted input enter the system? Trace these sources:
- HTTP request params, headers, body
- Environment variables and
.envfiles - Config files from current directory (
.gemini/settings.json,.vscode/settings.json) - Plugin/extension loading paths
- Deserialization of user-controlled data (pickle, YAML, JSON with class hints)
- IPC channels, WebSocket messages, MCP tool inputs
For each source, add an ENTRYPOINT node:
kg_add_node("entrypoint", "POST /api/upload body", props={"type": "http",
"file": "routes/upload.py", "line": 42})
Step 3 — Identify crown jewels
What is the most valuable thing an attacker could reach?
- Admin access / account takeover
- RCE / command execution
- Database contents / PII
- Secret keys / credentials
- File system read/write
Add CROWN_JEWEL nodes for each.
Step 4 — Trace source → sink
For each entrypoint, trace the data flow to dangerous sinks:
exec(),eval(),spawn(),subprocess.run(),os.system()db.query()with string interpolationrender()/innerHTMLwith unescaped inputopen()/readFile()with user-controlled pathspickle.loads(),yaml.unsafe_load(),JSON.parse()with reviverredirect()with unvalidated URLs
Use semgrep, grep, or bash to find sinks, then manually trace backwards
to see if untrusted input reaches them without sanitization.
Step 5 — Prove or discard
Every finding MUST go through validate_finding with:
- A working
poc_command success_patternsthat uniquely match the exploit signal- A
negative_command(same request without payload) negative_patternsmatching the baseline response- Full
cvss_vectorstring
An unreproduced claim remains unverified. Distinguish an unavailable prerequisite from a control that refutes the hypothesis; preserve the evidence and limitations.
Mechanism families
These are investigation categories, not a universal payout or priority ranking:
- Remote Code Execution — deserialization, template injection, command injection,
unsafe
eval/exec,shell: truewith user input. - Access Control Bypass — IDOR, BOLA, missing ownership validation, broken function-level authorization.
- Authentication Bypass — token leakage, session fixation, OAuth state confusion,
JWT
alg=none, password reset flaws. - Path Traversal / File Write — directory escape in upload/download handlers, session file storage with crafted IDs, zip slip.
- Server-Side Request Forgery — redirect bypass, DNS rebinding, cloud metadata access via internal URL parameters.
- Injection — SQLi, XSS (stored > reflected), LDAP injection, GraphQL injection.
- Information Disclosure — API key leakage, user enumeration via error codes, schema/debug
よくある質問
プロジェクト全体をスキャンするべきですか?
いいえ。スキルは、スキャン自体が目的ではなく、コードを読んで悪用可能性を証明することが大切だと述べています。
なぜプログラムのルールを確認するのですか?
範囲、除外される脆弱性の種類、報奨金の段階によって、何を報告すべきかが決まるからです。
誰のためのスキルですか?
プログラムのルールに従って作業し、そのプロセスを通じて発見を報告する研究者向けです。
詳細
作者による元の説明
Bug bounty white-box hunting methodology. Load when the target is an open-source project with a security advisory program, bug bounty, or responsible disclosure policy.
人気
- GitHubのスター
- 6.5k
- ランキング
- #13950
- ライセンス
- Apache-2.0
- 更新日
- 2026/11/1
コメント
- …
このリポジトリの他のスキル
detector-overview
6.5kエージェントが、スキャナーが指摘したコードを読み、本物のセキュリティバグと誤検知を見分けられるよう支援します。
exploiter-overview
6.5kエージェントが、確認済みの複数のセキュリティ上の弱点を一つのテストの連鎖にまとめ、その影響がどこまで及ぶかを確認できるよう支援します。
llm-redteam-overview
6.5kエージェントが、プロンプトインジェクションからモデルの悪用まで、15の戦術グループの中から適切なAIレッドチーム用ガイドを見つけられるよう支援します。
aatmf-t01-prompt-injection
6.5kプロンプトインジェクションを説明します。隠された指示でAIシステムを乗っ取ろうとする手口を、セキュリティテスターが確認できるようにします。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。