bounty-hunter
// Automated smart contract bug bounty hunting. Scans Immunefi/Code4rena targets with Slither static analysis, triages findings with local LLMs, and generates PoC templates. Zero API cost for scanning phase.
$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
namebounty-hunter
descriptionAutomated smart contract bug bounty hunting. Scans Immunefi/Code4rena targets with Slither static analysis, triages findings with local LLMs, and generates PoC templates. Zero API cost for scanning phase.
version1.0.0
Bounty Hunter
Automated smart contract vulnerability scanner for bug bounty programs. Uses free tools (Slither + local LLMs) for the heavy lifting, saves expensive models for PoC writing.
Requirements
slither-analyzer(pip): Static analysissolc-select(pip): Solidity compiler management- Node.js: For script execution
- Optional: Ollama with any code model for local triage
Quick Start
# Scan a repo
bash scripts/scan.sh <github-repo-url> [src-dir]
# Triage findings (uses local LLM if available, otherwise prints raw)
bash scripts/triage.sh <scan-output.json>
# Generate PoC template for a finding
bash scripts/poc-template.sh <finding-id> <contract-address>
Workflow
- Target Selection — Check Immunefi/Code4rena for active programs
- Clone & Scan —
scan.shclones the repo, installs solc, runs Slither - Triage —
triage.shfilters HIGH/MEDIUM findings, removes known false positives - Deep Dive — Only read code that Slither flagged (save your tokens)
- PoC — Use
poc-template.shto generate Foundry test scaffolding - Submit — Write up finding on Immunefi/Code4rena
Target Selection Criteria
Before scanning, check:
- Scope last updated within 30 days (fresh code = more bugs)
- Past payouts > $50K (they actually pay)
- GitHub repo in scope (not just deployed addresses)
- Solidity-based (Slither only works with Solidity)
Anti-Patterns
- Don't read entire codebases manually — let Slither scan first
- Don't spend > 1 hour on a target without a concrete lead
- Don't submit known issues (check past reports first)
- Don't ignore test coverage — untested code is where bugs hide