| name | bug-bounty |
| description | Automated bug bounty hunting swarm. Runs security scans against authorized programs on HackerOne/Bugcrowd, generates vulnerability reports, and tracks submissions. ONLY targets authorized programs with explicit scope. Use when this capability is needed. |
| metadata | {"author":"gagan114662"} |
Bug Bounty Swarm
Automated security scanning and vulnerability reporting for authorized bug bounty programs. The swarm coordinates multiple specialized agents to find and report security vulnerabilities.
Architecture
Bug Bounty Controller (you)
├── 1. Program Scout — find high-value programs
├── 2. Recon Agent — enumerate attack surface
├── 3. Web Scanner — find vulnerabilities
└── 4. Report Writer — generate submission-ready reports
When to Use
- User asks to "find bug bounties", "scan for vulnerabilities", "hunt bugs"
- Scheduled cron job targeting new programs
- Revenue optimizer identifies high-payout programs
Safety Rules (MANDATORY)
- ONLY scan targets listed in the program's scope — never scan out-of-scope assets
- Check excluded scope — many programs exclude staging, internal APIs, etc.
- Respect rate limits — don't DoS the target (use --rate-limit flags)
- Run in Docker sandbox — every scan runs in
moltbot/sandbox-kali container
- Log everything — all scans logged to engagement results directory
- No destructive testing — no data modification, no account takeover, no file uploads unless explicitly in scope
Step 1: Program Scout
Find high-value bug bounty programs to target.
parallel-cli research run "Find bug bounty programs on HackerOne that:
1. Have bounty tables paying $1000+ for critical findings
2. Have web application scope (not just mobile)
3. Are actively accepting submissions
4. Have response times under 7 days
List each program with: name, URL, scope summary, bounty range, and response time." \
--processor pro-fast --json -o /tmp/bounty-programs
Manual Program Research
Program Selection Criteria
| Factor | Weight | Good Signal |
|---|
| Bounty range | 30% | $1K+ critical, $500+ high |
| Scope breadth | 25% | Multiple domains, APIs, web apps |
| Response time | 20% | < 7 days to triage |
| Competition | 15% | < 100 reports in last 90 days |
| Tech stack match | 10% | PHP, Node.js, Python, Java (known vuln patterns) |
Step 2: Recon Agent
Enumerate the attack surface for a selected program.
Recon Output Format
{
"target": "target.com",
"subdomains": ["api.target.com", "admin.target.com", "staging.target.com"],
"live_hosts": [
{ "host": "api.target.com", "status": 200, "tech": ["nginx", "node.js"] },
{ "host": "admin.target.com", "status": 403, "tech": ["apache", "php"] }
],
"open_ports": [{
Step 3: Web Scanner
Run vulnerability scans against discovered attack surface.
Vulnerability Classification
| Severity | CVSS | Examples | Bounty Range |
|---|
| Critical | 9.0-10.0 | RCE, SQLi with data access, auth bypass | $3K-20K |
| High | 7.0-8.9 | Stored XSS, IDOR with PII access, SSRF | $1K-5K |
| Medium | 4.0-6.9 | Reflected XSS, info disclosure, CSRF | $200-1K |
| Low | 0.1-3.9 | Self-XSS, minor info leak, best practice | $50-200 |
Step 4: Report Writer
Generate HackerOne-quality vulnerability reports.
Report Template
## Title
[Vulnerability Type] in [Component] allows [Impact]
## Summary
A [vulnerability type] vulnerability was discovered in [component/endpoint].
An attacker can exploit this to [impact description].
## Severity
**CVSS Score:** [X.X] ([Critical/High/Medium/Low])
**CVSS Vector:** [vector string]
## Steps to Reproduce
1. Navigate to [URL]
2. [Detailed step]
3. [Detailed step]
4. Observe [vulnerable behavior]
### Proof of Concept
[curl command or HTTP request that demonstrates the vulnerability]
## Impact
[Describe what an attacker could achieve]
- [Specific impact 1]
- [Specific impact 2]
## Suggested Remediation
[How to fix the vulnerability]
- [Fix step 1]
- [Fix step 2]
## Supporting Material
- [Screenshot/evidence file names]
- [Additional technical details]
Report Quality Checklist
Full Workflow Example
1. Run Program Scout → select "Acme Corp" (scope: *.acme.com, bounty: $500-$10K)
2. Create engagement:
security_sandbox action: create_engagement
target_scope: ["acme.com"]
tools: ["subfinder", "httpx", "nmap", "nuclei", "sqlmap"]
3. Run recon:
subfinder → found 15 subdomains
httpx → 8 are alive
nmap → api.acme.com has port 8080 open (unusual)
4. Run scans:
nuclei on api.acme.com → found: exposed .git directory (medium)
sqlmap on api.acme.com/search?q=test → confirmed SQL injection (critical!)
5. Write report:
Title: "SQL Injection in /search endpoint allows database extraction"
CVSS: 9.8 (Critical)
Steps: curl command demonstrating the injection
Impact: Full database read access including user PII
6. Log revenue:
revenue_tracker action: log_revenue
type: bounty
division: security_swarm
amount_usd: 5000
agent_chain: ["program-scout", "recon-subfinder", "sqlmap-agent", "report-writer"]
program: "HackerOne/acme-corp"
7. Destroy engagement:
security_sandbox action: destroy_engagement
Testing (Before Live Targets)
Test the swarm against authorized practice targets:
- scanme.nmap.org — NMAP's official test target
- testhtml5.vulnweb.com — Acunetix test site
- juice-shop.herokuapp.com — OWASP Juice Shop
- HackTheBox — Legal CTF platform
Revenue Tracking
Every bounty payment flows through the revenue tracker:
revenue_tracker action: log_revenue with type: bounty
- Agent chain captures attribution for all contributing agents
- Payment via PayPal (vandan@getfoolish.com) or platform payout
Error Recovery
| Error | Recovery |
|---|
| Container timeout | Increase max_duration_seconds, split target into smaller scans |
| Tool crashes | Check container logs, restart with different tool flags |
| Out-of-scope scan | STOP immediately, verify scope, adjust target_scope |
| Duplicate finding | Check program's existing reports before submission |
| Rate limited | Add delays between scans, use --rate-limit flags |
Converted and distributed by TomeVault — claim your Tome and manage your conversions.