This repo is a professional bug bounty hunting framework for OpenCode, covering HackerOne, Bugcrowd, Intigriti, and Immunefi.
# macOS
brew install go python3 node jq
# Linux (Ubuntu/Debian)
sudo apt install golang python3 nodejs jqYou also need OpenCode installed.
git clone https://github.com/Awarexone/Agentic-Bug-Hunter.git
cd Agentic-Bug-Hunter
chmod +x install_tools.sh && ./install_tools.sh # scanning tools
chmod +x install.sh && ./install.sh --opencode # skills + commandsThe installer will:
- Symlink domain skills to
.opencode/skills/ - Copy commands to
.opencode/commands/ - Optionally write MCP server config to
opencode.json
cd Agentic-Bug-Hunter
opencode
# Ask: "do you have bug bounty skills?"
# Should confirm skills are loaded| Skill | Domain |
|---|---|
bug-bounty |
Master workflow — recon to report, all vuln classes, LLM testing, chains |
bb-methodology |
Hunting mindset + 5-phase non-linear workflow + tool routing + session discipline |
web2-recon |
Subdomain enum, live host discovery, URL crawling, nuclei |
web2-vuln-classes |
18 bug classes with bypass tables (SSRF, open redirect, file upload, Agentic AI) |
security-arsenal |
Payloads, bypass tables, gf patterns, always-rejected list |
web3-audit |
10 smart contract bug classes, Foundry PoC template, pre-dive kill signals |
meme-coin-audit |
Meme coin rug pull detection, token authority checks, bonding curve exploits, LP attacks |
report-writing |
H1/Bugcrowd/Intigriti/Immunefi report templates, CVSS 3.1, human tone |
triage-validation |
7-Question Gate, 4 gates, never-submit list, conditionally valid table |
| Command | Usage |
|---|---|
recon |
"recon target.com" — full recon pipeline |
hunt |
"hunt target.com" — start hunting |
validate |
"validate" — run 7-Question Gate on current finding |
report |
"report" — write submission-ready report |
chain |
"chain" — build A→B→C exploit chain |
scope |
"scope " — verify asset is in scope |
scope-aggregate |
"scope-aggregate " — pull every in-scope asset |
triage |
"triage" — quick 7-Question Gate |
web3-audit |
"web3-audit <contract.sol>" — smart contract audit |
autopilot |
"autopilot target.com --normal" — autonomous hunt loop |
surface |
"surface target.com" — ranked attack surface |
pickup |
"pickup target.com" — pick up previous hunt |
remember |
"remember" — log finding to hunt memory |
intel |
"intel target.com" — fetch CVE + disclosure intel |
token-scan |
"token-scan " — meme coin/token rug pull scanner |
memory-gc |
"memory-gc" — inspect/rotate hunt-memory JSONL files |
secrets-hunt |
"secrets-hunt --js-bundle " — leaked-credential scan |
takeover |
"takeover --recon " — subdomain takeover candidates |
cloud-recon |
"cloud-recon --keyword " — public S3/Azure/GCP |
param-discover |
"param-discover " — find hidden HTTP parameters |
bypass-403 |
"bypass-403 " — try header/method/encoding tricks |
arsenal |
"arsenal [tool]" — list installed external tools |
scan-cves |
"scan-cves " — focused nuclei CVE sweep |
OpenCode doesn't have slash commands. Use natural language:
| Task | Say |
|---|---|
| Run recon | "recon target.com" or "run recon on target.com" |
| Start hunting | "hunt target.com" or "start hunting target.com" |
| Validate finding | "validate this finding" or "run validation" |
| Write report | "write a report" or "generate report" |
Commands auto-invoke based on context.
cd Agentic-Bug-Hunter
opencode
# In OpenCode:
> recon target.com
> hunt target.com
> validate
> reportOpenCode MCP servers are configured under the mcp key in your opencode.json (project-level, lives at the repo root) or the global config at ~/.config/opencode/config.json.
Format note: OpenCode uses
mcp(notmcpServers),commandis a single array merging the executable and its arguments, and environment variables go underenvironment(notenv). Use{env:VAR_NAME}to reference shell environment variables.
Burp Suite MCP:
{
"mcp": {
"burp": {
"type": "local",
"command": ["java", "-jar", "/path/to/mcp-proxy-all.jar", "--sse-url", "http://127.0.0.1:9876"],
"enabled": true
}
}
}Caido MCP:
{
"mcp": {
"caido": {
"type": "local",
"command": ["npx", "-y", "@caido/mcp-server"],
"enabled": true,
"environment": {
"CAIDO_API_KEY": "{env:CAIDO_API_KEY}",
"CAIDO_URL": "{env:CAIDO_URL}"
}
}
}
}HackerOne MCP (run from the project root — path is relative):
{
"mcp": {
"hackerone": {
"type": "local",
"command": ["python3", "mcp/hackerone-mcp/server.py"],
"enabled": true
}
}
}See mcp/*/opencode-config.json for ready-to-copy snippets.
Hunt memory auto-rotates at 10MB. To manually rotate:
python3 -m tools.memory_gc --rotateSame as Claude Code version. See main README.md for:
- Chaos API (subdomain discovery)
- Optional keys (VirusTotal, SecurityTrails, etc.)
1. READ FULL SCOPE FIRST — only test what the program says you can
2. ONLY REAL BUGS — "Can an attacker do this RIGHT NOW?" if no, stop
3. KILL WEAK FINDINGS FAST — 30-second check saves hours of wasted reporting
4. NEVER GO OUT OF SCOPE — one wrong request can get you banned
5. 5-MINUTE RULE — no progress after 5 min? move to the next target
6. VALIDATE BEFORE REPORT — run validation before you spend 30 min writing
7. IMPACT FIRST — start with the bugs that have the worst consequences
| Feature | Claude Code | OpenCode |
|---|---|---|
| Commands | /recon target.com |
"recon target.com" |
| Skills location | ~/.claude/skills/ |
.opencode/skills/ (in project) |
| Commands location | ~/.claude/commands/ |
.opencode/commands/ (in project) |
| Memory rotation | Auto (Stop hook) | Manual (python3 -m tools.memory_gc --rotate) |
| MCP config | .claude/settings.json |
opencode.json (project) or ~/.config/opencode/config.json (global) |
- Check symlinks:
ls -la .opencode/skills/ - Restart OpenCode in this project directory
- Check commands:
ls -la .opencode/commands/ - Make sure you're running OpenCode from the project root
- Check OpenCode logs for errors
- Check
opencode.json(or~/.config/opencode/config.json) syntax — ensuremcpkey usescommandarray +environment(notargs/env) - Verify Java is in your PATH:
java --version - Test the proxy jar manually:
java -jar /path/to/mcp-proxy-all.jar --sse-url http://127.0.0.1:9876 - List servers and auth status:
opencode mcp list
Same as main project. See README.md.
Built by bug hunters, for bug hunters. Works with Claude Code and OpenCode.
MIT License · For authorized security testing only. Test only within an approved bug bounty program scope.