Chuyển đến nội dung
Skillpedia
Bảo mật6.5k · #13950

bounty-hunting-methodology

Skill này làm gì

Skill này mô tả cách đánh giá một dự án mã nguồn mở và đọc mã để chứng minh một điểm yếu có thể bị khai thác. Skill dành cho nhà nghiên cứu tham gia chương trình bug bounty hoặc công bố có trách nhiệm được ủy quyền.

Khi nào nên dùng

  • ✓Khi một nhà nghiên cứu yêu cầu agent rà soát một dự án mã nguồn mở có chương trình bug bounty hoặc công bố.
  • ✓Khi agent cần đánh giá ranh giới tin cậy của dự án và các cảnh báo bảo mật trước đây trước khi rà soát.
  • ✓Khi một báo cáo phải đủ rõ để vượt qua vòng phân loại của một kỹ sư bảo mật giàu kinh nghiệm.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/analyst/bounty-hunting/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Bạn có thể rà soát dự án mã nguồn mở này theo quy định bug bounty của nó và cho tôi biết những phát hiện nào tôi có thể chứng minh được không?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent kiểm tra phạm vi chương trình và các cảnh báo trước đây, đọc mã xung quanh các ranh giới tin cậy chính, và chỉ giữ những phát hiện nó có thể chứng minh.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Skill có yêu cầu quét toàn bộ dự án không?

Không. Skill nói việc quét không phải là mục tiêu, và agent nên đọc mã và chứng minh khả năng khai thác.

Vì sao phải kiểm tra quy định của chương trình?

Skill nói phạm vi, các loại lỗ hổng bị loại trừ và các mức thưởng quyết định điều gì đáng báo cáo.

Skill dành cho ai?

Dành cho nhà nghiên cứu làm việc trong quy định của chương trình và báo cáo phát hiện qua quy trình của chương trình đó.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
6.5k
Vị trí xếp hạng
#13950
Giấy phép
Apache-2.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự