Bug bounty methodology

From bolone-sengkuni/hermes-brutal-mod · View interactive version

Bug bounty methodology is an AI agent skill from the GitHub repository bolone-sengkuni/hermes-brutal-mod. Use when hunting bug bounties or writing vuln reports.

How to use this skill

Skill file

Bug Bounty Methodology

Distilled from three repos: yaklang/hack-skills (102 vuln-class skills), matty69v/Bug-Bounty-Agents (agent prompts), skraft9/vulnerability-research (cheatsheets + templates). Bug bounty differs from pentest: scope is tighter, duplicates cost money, and report quality directly determines payout.

Scope Discipline (NON-NEGOTIABLE)

Before running ANY command against a target:

  1. Get the user to declare scope (domains, URLs, IP ranges, cloud accounts) + engagement type.
  2. No declared scope → analyze pasted output only (advisory mode), never execute.
  3. Verify every target falls in scope before each command. Out-of-scope = refuse and explain.

OPSEC noise tagging (tag every command)

Rules: least aggressive first, rate-limit by default, save evidence to timestamped files, never pipe untrusted output into shell (| bash, | sh, eval, backticks).

Target Selection

Good programs: recently launched/updated, large scope, fast response + fair payouts, accept wide vuln types, complex business logic (fintech/healthcare/SaaS).

Avoid: months-long response times, points-only, narrow scope, programs that mark valid reports informational.

Recon Pipeline (passive first)

# Subdomain enum
subfinder -d {domain} -silent | sort -u > subs.txt
amass enum -passive -d {domain} >> subs.txt

# Live hosts + tech
httpx -l subs.txt -silent -sc -title -td -ip -o alive.txt
whatweb -i alive.txt --log-json tech.json

# JS endpoints + params from archives
cat alive.txt | waybackurls | grep "\.js$" | sort -u > js.txt
cat alive.txt | waybackurls | grep "?" | sort -u > params.txt

# Subdomain takeover
subjack -w subs.txt -t 100 -timeout 30 -ssl -o takeover.txt

Content Discovery (progressive wordlists)

ffuf -u https://{target}/FUZZ -w /usr/share/wordlists/dirb/common.txt -mc 200,301,302,403 -rate 50 -timeout 10

Highest-Payout Vulnerability Classes

  1. IDOR/BOLA + privilege escalation — create two accounts, replay victim requests with attacker session, swap resource IDs.
  2. Business logic — race conditions (payment/coupon), price manipulation, workflow bypass, negative qty, currency rounding. These are rarely duplicates because scanners can't find them.
  3. Auth bypass — password reset, 2FA bypass, session mgmt, OAuth redirect_uri/state/PKCE (see references/auth-bypass-cheatsheet.md).
  4. SSRF — any URL-input param (webhooks, image URL, import). Target http://169.254.169.254/latest/meta-data/.
  5. Stored XSS (higher payout than reflected) where CSP is weak.

Avoiding Duplicates

Report Writing (see references/report-template.md)

Report quality = bounty vs "not applicable". Rules:

Platform Notes

Behavioral Rules

  1. Build a methodology, not a checklist — understand the app's purpose, test against its business logic.
  2. If input responds unexpectedly (slight delay, odd error code), keep pulling that thread.
  3. Read disclosed reports + vendor advisories + patch diffs — fastest way to level up.
  4. Practice on PortSwigger Web Security Academy labs (safe, black-box).
  5. Repeated failure/dead-ends is normal — it takes hundreds of hours to find a real vuln.
  6. Duplicates sting but validate the finding — sweep for sibling vulns, apply the knowledge forward.

ATT&CK Anchors

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.