Skip to content
Skillpedia
Security6.5k Β· #13950

bounty-hunting-methodology

What it does

This skill describes how to assess an open-source project and read its code to prove that a weakness can be exploited. It is for researchers who take part in an authorized bug bounty or responsible disclosure program.

When to use it

  • βœ“When a researcher asks the agent to review an open-source project that runs a bug bounty or disclosure program.
  • βœ“When the agent needs to judge a project's trust boundaries and past security advisories before reviewing it.
  • βœ“When a report must be clear enough to pass triage by an experienced security engineer.

Skill link

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

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

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.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute β†’

Example of what to ask your AI

β€œCan you review this open-source project under its bug bounty rules and tell me which findings I can prove?”

5 new skills a week. 1 minute to read.

How it works

The agent checks the program scope and past advisories, reads the code around key trust boundaries, and keeps only findings it can demonstrate.

Technical content (original SKILL.md)

Original text by the author, straight from 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
FAQ

Does the skill say to scan the whole project?

No. It says that scanning is not the goal and that the agent should read code and prove exploitability instead.

Why check the program rules?

The skill says scope, excluded vulnerability classes and reward tiers decide what is worth reporting.

Who is it for?

It is for researchers who work within a program's rules and report findings through its process.

Details

Original description by the author

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

Popularity

GitHub stars
6.5k
Ranking position
#13950
License
Apache-2.0
Updated
11/1/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills