Skip to content

SenequeZ/claude-bug-bounty

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Bug Hunter

AI-powered bug bounty hunting from your terminal.

by shuvonsec

License: MIT Python 3.8+ Claude Code GitHub Stars

Quick Start  ·  Architecture  ·  Tools  ·  Vuln Classes  ·  Install


Point Claude Code at any bug bounty target. It maps the attack surface, runs your scanners, validates findings through a 4-gate checklist, and writes submission-ready reports -- all from a single conversation.

Why this exists

Most bug bounty toolkits give you a bag of scripts. This one gives you a co-pilot that reasons about what to test and why. Claude reads your recon output, prioritizes by payout likelihood, and drives 25+ tools in the right order.

  • Not a wrapper -- Claude understands the methodology, not just the commands
  • End-to-end -- from subdomain enumeration to a formatted HackerOne report
  • Battle-tested -- built from real submissions across HackerOne, Bugcrowd, Intigriti, and Immunefi

The Trilogy

Repo Purpose
claude-bug-bounty Full hunting pipeline -- recon, scanning, validation, reporting
web3-bug-bounty-hunting-ai-skills Smart contract security -- 10 bug classes, Foundry PoCs, Immunefi case studies
public-skills-builder Ingest 500+ public writeups and generate Claude skill files

public-skills-builder generates knowledge → web3-bounty-ai-skills holds it → claude-bug-bounty runs the hunt.


Quick Start

1. Clone and install

git clone https://github.com/shuvonsec/claude-bug-bounty.git
cd claude-bug-bounty
chmod +x install_tools.sh && ./install_tools.sh

2. Install the Claude Code skill

mkdir -p ~/.claude/skills/bug-bounty
cp SKILL.md ~/.claude/skills/bug-bounty/SKILL.md

3. Hunt

claude
# "Run recon on target.com and tell me what to hunt"
# "I found a potential IDOR on /api/invoices — validate it"
# "Write a HackerOne report for this SSRF finding"
Or run the pipeline directly (no Claude Code)
python3 hunt.py --target hackerone.com          # Full automated hunt
./recon_engine.sh target.com                     # Step 1: Recon
python3 learn.py --tech "nextjs,graphql,jwt"     # Step 2: Intel
python3 hunt.py --target target.com --scan-only  # Step 3: Scan
python3 validate.py                              # Step 4: Validate
python3 report_generator.py findings/            # Step 5: Report

Architecture

┌─────────────┐    ┌──────────┐    ┌──────────┐    ┌──────────┐    ┌──────────┐
│   Target    │───▶│  Recon   │───▶│  Learn   │───▶│   Hunt   │───▶│  Report  │
│  Selection  │    │  Engine  │    │  Intel   │    │ Scanner  │    │  Writer  │
└─────────────┘    └──────────┘    └──────────┘    └──────────┘    └──────────┘
 target_selector    recon_engine    learn.py        hunt.py         report_gen
 mindmap.py         subfinder       CVE hunter      IDOR/SSRF/XSS   validate.py
                    httpx/katana    H1 Hacktivity   OAuth/Race/LLM   4 gates
                    nuclei          Threat model    zero_day_fuzzer  CVSS 3.1

Each stage feeds the next. Claude orchestrates the entire flow, or you can run any stage independently.


Tool Reference

Core Pipeline

Tool Role
hunt.py Master orchestrator -- chains recon, scan, and report stages
recon_engine.sh Subdomain enum, DNS resolution, live host detection, URL crawling
learn.py Pulls CVEs and disclosed reports for detected tech stacks
mindmap.py Generates prioritized attack mindmap with test checklist
validate.py 4-gate validation -- scope, impact, duplicate check, CVSS scoring
report_generator.py Outputs formatted HackerOne/Bugcrowd/Intigriti reports

Vulnerability Scanners

Tool What it hunts
h1_idor_scanner.py Object-level and field-level IDOR via parameter swapping
h1_mutation_idor.py GraphQL mutation IDOR -- cross-account object access
h1_oauth_tester.py OAuth misconfigs -- PKCE, state bypass, redirect_uri abuse
h1_race.py Race conditions -- parallel timing, TOCTOU, limit overrun
zero_day_fuzzer.py Smart fuzzer for logic bugs, edge cases, and access control
cve_hunter.py Tech stack fingerprinting matched against known CVEs
vuln_scanner.sh Orchestrates nuclei + dalfox + sqlmap

AI / LLM Security

Tool What it hunts
hai_probe.py AI chatbot IDOR, prompt injection, data exfiltration
hai_payload_builder.py Prompt injection payloads -- direct, indirect, ASCII smuggling
hai_browser_recon.js Browser-side recon of AI feature endpoints

Utilities

Tool Role
sneaky_bits.py JS secret finder and endpoint extractor from bundles
target_selector.py Scores and ranks bug bounty programs by ROI
scripts/dork_runner.py Google dork automation for passive recon
scripts/full_hunt.sh Shell wrapper for the complete pipeline

What's Inside SKILL.md

The skill file is the brain -- 1,200+ lines of structured hunting methodology that Claude loads on demand.

Section Contents
A→B Bug Signal Method Chain hunting -- when bug A confirms, systematically find B and C
Recon Protocol 30-minute recon playbook, subdomain enum, tech fingerprinting
Bug Classes 18+ vulnerability classes with detection patterns and bypass tables
Bypass Tables SSRF IP bypass (11), open redirect bypass (11), file upload bypass (10)
Validation Gates 7-Question Gate + 4-gate system, CVSS 3.1, always-rejected list
Report Templates HackerOne, Bugcrowd, Intigriti, Immunefi submission formats
Grep Patterns Language-specific dangerous patterns (JS, Python, PHP, Go, Ruby, Rust)
AI/LLM Hunting ASI01-ASI10 framework for agentic AI security testing
Chain Table 8 low findings that become valid bugs when chained correctly
Web3 Auditing 10 Solidity bug classes, Foundry PoC templates, DeFi attack patterns

Vulnerability Classes

Web Application

Class Techniques
IDOR Object-level, field-level, GraphQL mutation, UUID enumeration
SSRF Redirect chain, DNS rebinding, cloud metadata, protocol abuse
XSS Reflected, stored, DOM, postMessage, CSP bypass, mXSS
SQL Injection Error-based, blind, time-based, ORM bypass, second-order
OAuth Missing PKCE, state bypass, redirect_uri abuse, implicit downgrade
Race Conditions Parallel requests, TOCTOU, limit overrun, coupon reuse
Cache Poisoning Unkeyed headers, parameter cloaking, fat GET
Business Logic Price manipulation, workflow skip, negative quantity, role escalation
File Upload Extension bypass, MIME confusion, polyglots, path traversal
XXE Classic entity injection, blind OOB via DNS/HTTP
HTTP Smuggling CL.TE, TE.CL, TE.TE, H2.CL request tunneling

AI / LLM

Class Techniques
Prompt Injection Direct override, indirect via document/URL, jailbreak chains
Chatbot IDOR Cross-account history access, conversation ID enumeration
System Prompt Leak Extraction via roleplay, encoding bypass, token boundary probing
LLM RCE Code execution via tool use, sandbox escape
ASCII Smuggling Invisible unicode as covert exfil channels

Web3 / DeFi

Class Techniques
Reentrancy Single-function, cross-function, cross-contract, read-only
Flash Loan Price oracle manipulation, collateral inflation
Access Control Missing modifiers, misconfigured roles, function visibility
Integer Issues Overflow, underflow, precision loss, division-before-multiply
Signature Replay Missing nonce, chain ID omission, front-running

Directory Structure

claude-bug-bounty/
├── SKILL.md                    # Claude Code skill (1,200+ lines of methodology)
├── hunt.py                     # Master orchestrator
├── recon_engine.sh             # Subdomain + URL discovery
├── learn.py                    # CVE + disclosure intel
├── mindmap.py                  # Attack surface mapper
├── validate.py                 # 4-gate finding validator
├── report_generator.py         # Report writer
├── h1_idor_scanner.py          # IDOR scanner
├── h1_mutation_idor.py         # GraphQL IDOR scanner
├── h1_oauth_tester.py          # OAuth tester
├── h1_race.py                  # Race condition tester
├── zero_day_fuzzer.py          # Smart fuzzer
├── cve_hunter.py               # CVE matcher
├── vuln_scanner.sh             # Nuclei/Dalfox/SQLMap wrapper
├── hai_probe.py                # AI chatbot tester
├── hai_payload_builder.py      # Prompt injection generator
├── hai_browser_recon.js        # Browser-side AI recon
├── sneaky_bits.py              # JS secret finder
├── target_selector.py          # Program ROI scorer
├── docs/
│   ├── payloads.md             # Complete payload arsenal
│   ├── advanced-techniques.md  # A→B chaining, mobile, CI/CD, framework playbooks
│   └── smart-contract-audit.md # Web3 audit guide
├── web3/                       # Smart contract skill chain (10 files)
├── scripts/
│   ├── dork_runner.py          # Google dork automation
│   └── full_hunt.sh            # Full pipeline wrapper
├── wordlists/                  # 5 wordlists (common, params, API, dirs, sensitive)
├── recon/                      # Recon output (per target)
├── findings/                   # Validated findings
└── reports/                    # Submission-ready reports

Installation

Prerequisites

# macOS
brew install go python3 node jq

# Linux (Debian/Ubuntu)
sudo apt install golang python3 nodejs jq

Install

git clone https://github.com/shuvonsec/claude-bug-bounty.git
cd claude-bug-bounty
chmod +x install_tools.sh && ./install_tools.sh
cp config.example.json config.json  # Add your API keys

This installs 18+ tools: subfinder, httpx, dnsx, nuclei, katana, waybackurls, gau, dalfox, ffuf, anew, qsreplace, assetfinder, gf, interactsh-client, sqlmap, XSStrike, SecretFinder, LinkFinder, and nuclei-templates.


Contributing

PRs welcome. Good contributions:

  • New vulnerability scanners or detection modules
  • Payload additions to docs/payloads.md
  • Claude prompt templates for specific bug classes
  • Platform support (YesWeHack, Synack, HackenProof)
  • Real-world methodology improvements
git checkout -b feature/your-contribution
git commit -m "Add: short description"
git push origin feature/your-contribution

Contact

GitHub shuvonsec
Email shuvonsec@gmail.com
Twitter @shuvonsec
LinkedIn shuvonsec

Legal

For authorized security testing only. Only test targets within an approved bug bounty scope. Never test systems without explicit permission. Follow responsible disclosure practices. Read each program's rules of engagement before hunting.


MIT License

Built by bug hunters, for bug hunters.

If this helped you find a bug, consider leaving a star.

About

Claude Code skill for AI-assisted bug bounty hunting - recon, IDOR, XSS, SSRF, OAuth, GraphQL, LLM injection, and report generation

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages