본문으로 건너뛰기
Skillpedia
보안6.5k · #13950

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/bounty-hunting/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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:

  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
자주 묻는 질문

스킬은 프로젝트 전체를 스캔하라고 하나요?

아닙니다. 스캔은 목표가 아니며, 에이전트는 코드를 읽고 악용 가능성을 증명해야 한다고 설명합니다.

왜 프로그램 규칙을 확인하나요?

스킬은 범위, 제외된 취약점 종류, 보상 등급이 보고할 가치가 있는 것을 결정한다고 설명합니다.

누구를 위한 스킬인가요?

프로그램의 규칙 안에서 일하며 해당 프로그램의 절차를 통해 발견 사항을 보고하는 연구자를 위한 스킬입니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
6.5k
순위
#13950
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬