bb-methodology
The "3rd eye" for pentesting — reminds agent to understand before assuming, validate before reporting.
Web2 recon pipeline — subdomain enum, URL crawling, JS analysis, temp emails, directory fuzzing. Trust-first asset discovery.
Claude Code
$ npx -y skills add Gabson0x/bountyforge --skill web2-recon --agent claude-code
Codex
$ npx skills add Gabson0x/bountyforge --skill web2-recon -a codex -y
Cursor
$ npx skills add Gabson0x/bountyforge --skill web2-recon -a cursor -y
Gemini CLI
$ npx skills add Gabson0x/bountyforge --skill web2-recon -a gemini-cli -y
GitHub Copilot
$ npx skills add Gabson0x/bountyforge --skill web2-recon -a github-copilot -y
OpenCode
$ npx skills add Gabson0x/bountyforge --skill web2-recon -a opencode -y
Windsurf
$ npx skills add Gabson0x/bountyforge --skill web2-recon -a windsurf -y
name: web2-recon description: Web2 recon pipeline — subdomain enum, URL crawling, JS analysis, temp emails, directory fuzzing. Trust-first asset discovery.
Map the attack surface before hunting. Every endpoint is a trust boundary. Find them all.
See also: [[BountyForge]], [[Trust Map]], [[Methodology]], [[Vuln Classes]], [[3rd Eye]]
---
# Mail.tm API (free, programmatic)
for i in 1 2 3; do
DOMAIN=$(curl -s https://api.mail.tm/domains | jq -r '.[0].domain')
EMAIL="hunter${i}_$(date +%s)@${DOMAIN}"
PASSWORD="HuntPass${i}!"
curl -s -X POST https://api.mail.tm/accounts \
-H "Content-Type: application/json" \
-d "{\"address\":\"$EMAIL\",\"password\":\"$PASSWORD\"}" > /dev/null
echo "Account $i: $EMAIL / $PASSWORD"
done---
TARGET="target.com"
RECON_DIR="recon/$TARGET"
mkdir -p $RECON_DIR
# 1. Passive subdomain enum
curl -s "https://crt.sh/?q=%.${TARGET}&output=json" \
| jq -r '.[].name_value' | sed 's/\*\.//g' | sort -u > /tmp/subs.txt
# 2. Multi-source (Chaos API + subfaster)
curl -s "https://dns.projectdiscovery.io/dns/$TARGET/subdomains" \
-H "Authorization: $CHAOS_API_KEY" | jq -r '.[]' >> /tmp/subs.txt
subfaster -d $TARGET -silent | anew /tmp/subs.txt
# 3. DNS + live check
cat /tmp/subs.txt | dnsx -silent | httpx -silent -status-code -title -tech-detect | tee /tmp/live.txt
# 4. URL crawl
cat /tmp/live.txt | awk '{print $1}' | katana -d 3 -jc -kf all -silent | anew /tmp/urls.txt
echo $TARGET | waybackurls | anew /tmp/urls.txt
gau $TARGET --subs | anew /tmp/urls.txt
# 5. Nuclei
nuclei -l /tmp/live.txt -t ~/nuclei-templates/ -severity critical,high,medium -o /tmp/nuclei.txt
# 6. Save to organized directory
cp /tmp/subs.txt $RECON_DIR/subdomains.txt
cp /tmp/live.txt $RECON_DIR/live-hosts.txt
cp /tmp/urls.txt $RECON_DIR/urls.txt
cp /tmp/nuclei.txt $RECON_DIR/nuclei.txt---
These are the endpoints that matter most — where the system trusts something:
# ID parameters → IDOR candidates (identity trust) cat /tmp/urls.txt | grep -E "[?&](id|user|file|path|url|redirect|next|src|token|key|api_key)=" | tee /tmp/idor-candidates.txt # API endpoints → injection candidates (input trust) cat /tmp/urls.txt | grep -E "/api/|/v1/|/v2/|/graphql|/rest/" | tee /tmp/api-endpoints.txt # Auth endpoints → bypass candidates (identity trust) cat /tmp/urls.txt | grep -E "/oauth|/login|/auth|/sso|/saml|/token" | tee /tmp/auth-paths.txt # Admin/debug → privesc candidates (authority trust) cat /tmp/urls.txt | grep -E "/admin|/internal|/debug|/actuator|/console" | tee /tmp/admin-paths.txt # File upload → XSS/RCE candidates (input trust) cat /tmp/urls.txt | grep -E "upload|file|attachment|document|image|avatar" | tee /tmp/upload-candidates.txt # SSRF candidates (service trust) cat /tmp/urls.txt | grep -E "webhook|import|export|pdf|generate|fetch|proxy" | tee /tmp/ssrf-candidates.txt # SQLi candidates (input trust) cat /tmp/urls.txt | grep -E "search|filter|sort|order|where|query|list" | tee /tmp/sqli-candidates.txt # Sensitive paths (state trust) cat /tmp/urls.txt | grep -E "\.env|\.git|config|backup|dump|export|download|log" | tee /tmp/sensitive-paths.txt
Build the full trust graph: [[Trust Map]]
---
mkdir -p /tmp/js-deep
cat /tmp/urls.txt | grep "\.js$" | sort -u | head -100 | while read url; do
fname=$(echo "$url" | md5sum | cut -d' ' -f1).js
curl -s "$url" -o "/tmp/js-deep/$fname" 2>/dev/null
done
# API calls → endpoints the frontend trusts
grep -rn "fetch(\|axios\.\|\.get(\|\.post(\|\.put(\|\.delete(" /tmp/js-deep/ | tee /tmp/js-api-calls.txt
# Auth code → tokens, cookies, headers
grep -rn "Authorization\|Bearer\|token\|cookie\|session\|localStorage" /tmp/js-deep/ | tee /tmp/js-auth-code.txt
# Secrets → hardcoded keys
grep -rn "api_key\|apiKey\|client_secret\|access_token\|private_key\|AKIA\|sk_live" /tmp/js-deep/ | tee /tmp/js-secrets.txt
# Dangerous sinks → XSS/SSRF vectors
grep -rn "innerHTML\|outerHTML\|document\.write\|eval(\|dangerouslySetInnerHTML" /tmp/js-deep/ | tee /tmp/js-dangerous-sinks.txt
# postMessage → DOM XSS vectors
grep -rn "postMessage\|addEventListener.*message\|onmessage" /tmp/js-deep/ | tee /tmp/js-postmessage.txt
# URL construction → SSRF vectors
grep -rn "new URL\|location\.href\|location\.assign\|location\.replace" /tmp/js-deep/ | tee /tmp/js-url-construction.txt---
# Standard directory discovery
ffuf -u "https://target.com/FUZZ" \
-w ~/wordlists/common.txt \
-mc 200,201,204,301,302,401,403 \
-ac -t 40 -o /tmp/ffuf-dirs.json
# API endpoint discovery
ffuf -u "https://target.com/api/FUZZ" \
-w ~/wordlists/api-endpoints.txt \
-mc 200,201,204,301,302 -ac -t 20
# Backup files
ffuf -u "https://target.com/FUZZ" \
-w ~/wordlists/common.txt \
-e .bak,.old,.orig,.save,.swp,.tmp,.backup \
-mc 200 -ac---
| Stack | Hunt First | Hunt Second | |-------|------------|-------------| | Ruby on Rails | Mass assignment | IDOR | | Django | IDOR | SSTI | | Flask | SSTI | SSRF | | Laravel | Mass assignment | IDOR | | Express | Prototype pollution | Path traversal | | Spring Boot | Actuator endpoints | SSTI | | ASP.NET | ViewState deser | Open redirect | | Next.js | SSRF via Server Actions | Open redirect | | GraphQL | Introspection → auth bypass | IDOR via node(id:) | | WordPress | Plugin SQLi | REST API auth bypass |
More bug classes: [[Vuln Classes]]
---
If a target shows nothing interesting after 5 minutes, move on. Don't burn hours on dead surface.
**Kill signals:** All 403/static pages, no APIs, no interesting JS, no forms/auth/user data.
---
| Criterion | Points | |-----------|--------| | Max bounty >= $5K | +2 | | Large user base or handles money | +2 | | P
All-round bug bounty skill for Claude Code — parallelized agents for smart contract audits (EVM, Move, Solana, TRON), web/API security, local tooling orchestration, and submission-ready reports for HackerOne, Bugcrowd, Intigriti & Immunefi.
The "3rd eye" for pentesting — reminds agent to understand before assuming, validate before reporting.
Complete bug bounty workflow — recon (subdomain enumeration, asset discovery, fingerprinting, HackerOne scope, source code…
Analyze EVM smart contracts for storage-safety vulnerabilities that can cause persistent state updates to be lost, overwritten,…
Generate Echidna/Medusa-compatible Solidity fuzz suites from Foundry or Hardhat projects. Trigger on "fizz", "generate fuzz…
Convert English-language properties in PROPERTIES.md (produced by the Fizz skill) into Solidity assertions inside the existing…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…