Langsung ke konten
Skillpedia
Keamanan6.5k Β· #13950

bounty-hunting-methodology

Fungsinya

Skill ini menjelaskan cara menilai proyek open source dan membaca kodenya untuk membuktikan bahwa sebuah kelemahan dapat dieksploitasi. Skill ini untuk peneliti yang ikut serta dalam program bug bounty atau pengungkapan bertanggung jawab yang berwenang.

Kapan dipakai

  • βœ“Saat seorang peneliti meminta agent meninjau proyek open source yang menjalankan program bug bounty atau pengungkapan.
  • βœ“Ketika agent perlu menilai batas kepercayaan proyek dan advisori keamanan sebelumnya sebelum meninjaunya.
  • βœ“Ketika sebuah laporan harus cukup jelas untuk lolos triase oleh insinyur keamanan berpengalaman.

Link skill

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/bounty-hunting/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/bounty-hunting/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBisakah Anda meninjau proyek open source ini sesuai aturan bug bounty-nya dan memberi tahu temuan mana yang bisa saya buktikan?”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memeriksa cakupan program dan advisori sebelumnya, membaca kode di sekitar batas kepercayaan utama, dan hanya menyimpan temuan yang bisa ia tunjukkan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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:

  1. Exposure context: known deployments and dependency reach. Popularity alone does not establish technical impact or a reward multiplier.
  2. 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.
  3. 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.
  4. 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 .env files
  • 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 interpolation
  • render() / innerHTML with unescaped input
  • open() / readFile() with user-controlled paths
  • pickle.loads(), yaml.unsafe_load(), JSON.parse() with reviver
  • redirect() 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_patterns that uniquely match the exploit signal
  • A negative_command (same request without payload)
  • negative_patterns matching the baseline response
  • Full cvss_vector string

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:

  1. Remote Code Execution β€” deserialization, template injection, command injection, unsafe eval/exec, shell: true with user input.
  2. Access Control Bypass β€” IDOR, BOLA, missing ownership validation, broken function-level authorization.
  3. Authentication Bypass β€” token leakage, session fixation, OAuth state confusion, JWT alg=none, password reset flaws.
  4. Path Traversal / File Write β€” directory escape in upload/download handlers, session file storage with crafted IDs, zip slip.
  5. Server-Side Request Forgery β€” redirect bypass, DNS rebinding, cloud metadata access via internal URL parameters.
  6. Injection β€” SQLi, XSS (stored > reflected), LDAP injection, GraphQL injection.
  7. Information Disclosure β€” API key leakage, user enumeration via error codes, schema/debug
Pertanyaan umum

Apakah skill menyarankan memindai seluruh proyek?

Tidak. Skill menyatakan bahwa pemindaian bukan tujuannya dan agent sebaiknya membaca kode serta membuktikan dapat dieksploitasi.

Mengapa aturan program diperiksa?

Skill menyatakan cakupan, kelas kerentanan yang dikecualikan, dan tingkat hadiah menentukan apa yang layak dilaporkan.

Untuk siapa ini?

Ini untuk peneliti yang bekerja sesuai aturan program dan melaporkan temuan lewat prosesnya.

Detail

Deskripsi asli dari pembuat

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.

repo: BitterSecurity/Decepticon

Popularitas

Bintang GitHub
6.5k
Peringkat
#13950
Lisensi
Apache-2.0
Diperbarui
1/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa