Skip to content

elementalsouls/Claude-BugHunter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

144 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

claude-bughunter banner

claude-bughunter

A self-contained Claude skill bundle for bug hunting and external red-team work Β· 82 skills Β· 15 slash commands Β· 681 disclosed-report patterns across 24 core vulnerability classes Β· enterprise identity + infrastructure attack matrices Β· engagement-folder scaffolding Β· Burp MCP integration Β· battle-tested across authorized red-team and bug-hunting engagements, plus public training platforms (DVWA, OWASP Juice Shop, Hacker101, testphp.vulnweb.com).

Built by Sachin Sharma β€” Bug Hunting & GenAI Security Research.

SPONSORED BY
Atlas Cloud


What is this?

claude-bughunter is a drop-in skill bundle for the Claude Code skills system. Install once and Claude Code stops being a chatbot and starts behaving like a senior bug-hunting researcher or red-team operator: it knows the techniques, the chain templates, the VRT mappings, the platform CVE chains, and the hygiene β€” and it stays in scope.

Four layers stack:

  • Think β€” bb-methodology + redteam-mindset: the 5-phase non-linear workflow, critical-thinking framework, and red-team operator discipline.
  • Hunt webapps β€” 48 hunt-* skills curated from 681 disclosed HackerOne reports: per-class detection patterns, payloads, bypass tables, and chain templates.
  • Hit the perimeter β€” enterprise platform chains (M365/Entra, Okta, vCenter, SSL-VPN appliances, SharePoint, cloud IAM): current 2024–2026 CVE chains + post-credential escalation.
  • Ship it β€” triage-validation + reporting + evidence-hygiene: the 7-Question Gate, VRT-aware severity, OOS rebuttals, PII redaction, and red-team deliverables.

All triggered automatically by topic β€” describe what you're testing in plain English and the relevant skill loads. No invocation by name.


Quickstart

Option A β€” install as a Claude Code plugin (recommended). From inside Claude Code:

/plugin marketplace add elementalsouls/Claude-BugHunter
/plugin install claude-bughunter@elementalsouls

All 82 skills + 15 commands load namespaced under claude-bughunter: and update when you bump the plugin version β€” no files copied into ~/.claude/.

Option B β€” copy install (no plugin system / pin to a clone):

git clone https://github.com/elementalsouls/Claude-BugHunter.git
cd Claude-BugHunter
bash scripts/install.sh        # copies skills + commands into ~/.claude/

What each install path gives you:

Path 82 skills + 15 slash commands cbh CLI hunt scaffolder
A β€” plugin βœ… namespaced under claude-bughunter: βž• separate pipx install ❌ clone-only
B β€” copy install βœ… copied into ~/.claude/ βœ… from the clone βœ… from the clone

The plugin is the fastest path to the skills + slash commands. The terminal-native cbh runner installs standalone β€” pipx install git+https://github.com/elementalsouls/Claude-BugHunter β€” so plugin users can add it without a full clone (see cbh CLI). The hunt engagement scaffolder ships with the clone (Option B).

That's it. Open Claude Code and describe what you're testing in plain English β€” the right skill loads automatically, no invocation by name:

> Testing acme.com β€” an in-scope HackerOne target. Run recon and rank the surface.

  ⟳ loading skills: web2-recon, offensive-osint, bb-methodology …
    β†’ subdomain enum (subfinder + crt.sh) … 47 hosts
    β†’ live hosts (httpx) … 12 Β· tech fingerprint … 6 distinct stacks
    β†’ ranked surface: api.acme.com (GraphQL, introspection ON)  ← start here
                      auth.acme.com (OAuth, SSO)               ← hunt-oauth

  Next: want me to probe the GraphQL introspection + OAuth redirect_uri?

β†’ Full Installation guide Β· Usage guide Β· searchable skill catalog.

The block above is an illustrative transcript. To record a real demo of your own session: asciinema rec demo.cast β†’ upload to asciinema.org and drop the badge here.


Runs on four harnesses

One install, four agent harnesses β€” Claude Code, OpenCode, Codex CLI, Hermes Agent

The skills are plain Agent Skills β€” the same SKILL.md format that Claude Code Β· OpenCode Β· OpenAI Codex CLI Β· Hermes Agent all load. One command installs them everywhere:

bash scripts/install.sh --all --burp-mcp

--all copies the skills to every harness's path (~/.claude/skills, ~/.agents/skills, ~/.hermes/skills); --burp-mcp wires the Burp MCP server into each. The full knowledge layer ports to all four β€” the slash commands and /hunt engine stay Claude-Code-only by design.

β†’ Multi-harness guide


Star History

Star History Chart

Scope β€” what this bundle is for, and what it isn't

This bundle covers the external attack surface β€” anything reachable from the internet without first compromising an internal endpoint.

In scope

  • Bug bounty hunting β€” web apps, APIs, SaaS, GraphQL, OAuth, JWT, file upload, IDOR, SSRF, RCE chains
  • Web application pentesting β€” full hunt-* coverage of OWASP-mapped bug classes + discipline rules
  • External red-team engagements β€” initial-access against internet-facing enterprise estate: M365 / Entra ID, Okta-as-IdP, SharePoint on-prem (ToolShell + legacy SOAP), VMware vCenter / Workspace ONE, SSL VPN appliances (Cisco / Fortinet / Citrix / Palo Alto / Pulse / SonicWall / F5), Android APK red-team, supply-chain recon
  • Cloud misconfig + post-credential escalation β€” public S3, IMDS chains, STS AssumeRole, cross-account confused-deputy
  • Recon + OSINT β€” subdomain enum, identity-fabric mapping, certificate transparency, JS analysis, secret scanning
  • Reporting β€” H1, Bugcrowd (VRT-aware), Intigriti, Immunefi, plus client-facing red-team deliverable format

Out of scope (deliberate β€” not gaps, design decisions)

  • Internal Active Directory attacks β€” BloodHound, Kerberoasting, ASREProast, DCSync, Pass-the-Hash, AD CS abuse, ntlmrelayx, Responder, PetitPotam, etc. Different operational risk profile; needs different tooling and judgment. Future bundle, not this one.
  • C2 frameworks β€” Cobalt Strike, Sliver, Mythic, Havoc, BRC4 tradecraft. Out of scope for external-only engagement model.
  • Post-exploit / persistence / lateral β€” Mimikatz/comsvcs LSASS dumping, golden/silver tickets, named-pipe impersonation, persistence (registry, scheduled tasks, WMI events, COM hijacking), token theft. These start after the perimeter has already broken β€” different bundle territory.
  • Evasion β€” AMSI bypass, ETW patching, AV/EDR bypass. Tied to C2 tradecraft above.
  • iOS pentesting / hardware / RF / ICS β€” out of scope by design.
  • Binary exploitation / kernel pwn / browser internals β€” different skill universe.

If you're running an internal red team that includes domain-takeover chains via Kerberos or lateral movement, this bundle won't help you in those phases β€” and we'd rather say that up front than have you find out mid-engagement. The external surface handoff to internal-RT tooling (Impacket, NetExec, CrackMapExec, Rubeus, Certify, BloodHound) is intentionally outside our scope. Coverage for internal AD and post-exploit may come in a future update.


What's inside

82 skills, auto-loaded by topic β€” no invocation by name. Coverage across the external attack surface:

Category # Examples
Web application hunting 13 XSS, SQLi, SSRF, IDOR, LFI, SSTI, XXE, CSRF, CORS, open-redirect
Authentication & identity 7 auth-bypass, session, OAuth, SAML, MFA-bypass, ATO
API & infrastructure 15 GraphQL, gRPC, WebSocket, API-misconfig, host-header, RCE
Advanced & concurrency 6 race-condition, HTTP smuggling, deserialization, cache-poison
Framework-specific 4 Next.js, Node.js, Laravel, Spring Boot
Enterprise identity & cloud β˜… 3 M365/Entra, Okta, cloud-IAM-deep
Infrastructure & appliance β˜… 4 VMware vCenter, enterprise VPN, SharePoint, ASP.NET/NTLM
Red-team tradecraft β˜… 4 redteam-mindset, APK pipeline, supply-chain recon, mid-engagement IR
Recon & OSINT 4 web2-recon, offensive-osint, subdomain
Workflow, reporting & specialized 11 methodology, triage-validation, evidence-hygiene, VRT-aware reporting

Full searchable catalog β†’ docs/skills.md. Also ships 15 slash commands (/hunt, /recon, /report, …) and a deterministic engagement engine (engine/) that maps a target's attack surface and routes each finding to the skill that handles it.


How it works

A 6-phase, non-linear workflow β€” recon β†’ map & rank β†’ hunt β†’ validate β†’ report β€” with scope enforced in code and a 7-Question Gate before anything is submitted. Two ways to drive it:

  • Plain English β€” describe what you're testing and the relevant skill loads automatically.
  • /hunt scaffold + cbh CLI β€” engagement-folder structure, state, and orchestration.

β†’ Usage guide & worked example Β· 6-phase architecture & skill-to-phase map Β· cbh CLI


Authorization

These skills are intended for assets you own or have written authorization to assess (bug-bounty in-scope assets, pentest engagement letters, CTF challenges, your own infrastructure).

The skills include validation gates that auto-trigger when you point Claude at unverified third-party targets β€” triage-validation's 7-Question Gate explicitly asks whether the asset is in scope (Q3) and on the program's accepted-impact list (Q2). The bugcrowd-reporting skill includes researcher-side hygiene (Bugcrowdninja alias, account-state restoration, friendly-tester posture) that signals legitimate authorized testing to the target's fraud team.

The bundle explicitly excludes: weaponizing 0-days against unauthorized targets, post-exploitation tooling, malware development, mass-targeting infrastructure. See SECURITY.md for the full posture.

Heads-up β€” Anthropic runtime cyber safeguards. Anthropic's models apply real-time safeguards that block "vulnerability exploitation or offensive security tooling development" by default β€” so even authorized, in-scope work can hit a refusal that isn't this bundle's doing. If you do authorized offensive security (pentest / bug bounty / red team), enroll in Anthropic's free, application-based Cyber Verification Program (CVP) to get safeguards adjusted for legitimate dual-use work. (Mass data exfiltration and ransomware development stay prohibited and are not adjustable.) Details: Anthropic β€” real-time cyber safeguards.


Documentation

Doc Contents
README.md This file β€” overview, quickstart, scope, skill summary
INSTALL.md Full setup with Burp MCP integration and optional skill regenerator
USAGE.md Workflow walkthrough Β· decision tree Β· worked engagement example
docs/architecture.md 6-phase architecture Β· skill-to-phase mapping Β· engagement composition
docs/cbh-cli.md cbh CLI β€” native runner orchestrating recon + classify + triage + report
docs/cve-coverage.md CISA KEV coverage snapshot β€” refreshed weekly via the workflow template at docs/automation/cve-refresh.yml.template
docs/credits.md Full attribution: 43 original skills + 8 vendored from upstream
CONTRIBUTING.md PR guidelines Β· skill quality standards Β· scope
SECURITY.md Authorized-use posture Β· responsible disclosure Β· what's excluded
LICENSE MIT

Why this exists

Most bug-hunting Claude setups are either too generic (one big "security" prompt) or too fragmented (you bookmark 30 disclosed reports and re-read them every engagement). Neither scales past the second target.

This bundle was built and validated through authorized engagements that exposed different capability gaps:

Bug-bounty engagement β€” surfaced four gaps a starter 3-skill stack could not close:

  1. No hypothesis discipline β€” drafts written before validation β†’ wasted hours, hurt validity ratio
  2. No per-program reporting tactics β€” VRT defaults auto-downgraded P3-worthy findings to P4
  3. No engagement coordination β€” findings, evidence, and submission IDs scattered across folders
  4. No evidence hygiene β€” screenshots leaked cookies and victim PII

External red-team engagement β€” exposed five additional gaps that bug-bounty defaults made worse:

  1. Conservative defaults retracted real findings β€” WAPT mindset stopped tests early on defended targets where red-team continuation would have surfaced bypass chains β†’ redteam-mindset
  2. No mid-engagement situational awareness β€” client SOC patched confirmed SQLi within 30 min; external attacker locked 14 accounts during a live test session β€” both invisible without explicit detection methodology β†’ mid-engagement-ir-detection
  3. No enterprise-platform attack chains β€” M365 + Entra ID, on-prem SharePoint, Cisco SSL VPN, vCenter, and 7 Android APKs all needed current 2024-2026 CVE knowledge and platform-specific tradecraft β†’ m365-entra-attack, okta-attack, hunt-sharepoint, hunt-aspnet, hunt-ntlm-info, vmware-vcenter-attack, enterprise-vpn-attack, apk-redteam-pipeline
  4. No client-facing deliverable format β€” bug-bounty report templates don't fit enterprise red-team where output is a 50KB+ MD + DOCX with embedded screenshots β†’ redteam-report-template
  5. No post-credential escalation model β€” when recon yielded credentials (AWS keys, JWTs, GCP JSON), it was unclear what they granted or how to escalate β†’ cloud-iam-deep

The per-class hunt-* skills address gap-zero ("what should I look for in webapps") β€” the original 24 codifying patterns from 681 disclosed HackerOne reports, with 20+ framework/surface skills added by the community v3 expansion β€” Claude knows the actual chain templates real triagers paid for, not abstract OWASP Top 10. The enterprise-platform and red-team-tradecraft layers address what bug-bounty alone cannot: external red-team engagements against monitored enterprise targets.


Roadmap

  • HackerOne MCP integration (currently only Burp MCP wired in)
  • Per-engagement memory layer β€” pattern recall across targets
  • Industry-specific hunt skills β€” hunt-fintech-graphql, hunt-healthcare-fhir, hunt-gov-compliance
  • Program-rules-parser skill β€” auto-generate structured scope.md from program text
  • Refresh hunt-* skills with newer disclosed reports (re-run public-skills-builder)
  • Additional enterprise-platform skills β€” citrix-netscaler-deep, f5-bigip-attack, ad-cs-attack (AD Certificate Services)
  • Refresh enterprise-VPN CVE matrix quarterly to track 2026 advisories
  • Update architecture SVG to include the 7-skill enterprise-platform layer

Sponsors

Atlas Cloud

Atlas Cloud is a full-modal AI inference platform that gives developers a single AI API to access video generation, image generation, and LLM APIs. Instead of managing multiple vendor integrations, you connect once and get unified access to 300+ curated models across all modalities.

Check out Atlas Cloud's new coding plan promotion for more budget-friendly API access: https://www.atlascloud.ai/console/coding-plan


About

Operational tradecraft accumulated across bug-bounty engagements and authorized pentests, codified into Claude skills. Platform-agnostic β€” slot into any engagement workflow you already use, or none.

Author: ElementalSoul Β· GenAI Security Research

Sister project: Claude-OSINT β€” paired skills for the recon phase that this bundle picks up after. Its two recon skills (offensive-osint, osint-methodology) are canonically maintained here and re-exported there, so the two are byte-identical. Installing both is safe: each bundle's install.sh records a manifest, the script skips re-copying an identical skill, and --uninstall keeps any skill the other bundle still owns β€” uninstalling one never breaks the other.

Vendored foundation: shuvonsec/claude-bug-bounty β€” methodology, validation, reporting, payload library (8 of 82 skills + 15 slash commands)

Generator tool used (not vendored): shuvonsec/public-skills-builder β€” used to scaffold per-class skills from H1 disclosed reports

Inspirations:

Tool inventory:

License: MIT β€” use freely, attribution appreciated.


"Give Claude the right skill and it stops being a chatbot. It becomes an operator."

About

A Claude Code skill bundle for bug hunting and external red-team work - 82 skills, 15 slash commands, 681 disclosed-report patterns curated across 24 core vulnerability classes, plus enterprise identity + infrastructure attack matrices.

Topics

Resources

License

Contributing

Security policy

Stars

3k stars

Watchers

21 watching

Forks

Sponsor this project

Packages

Β 
Β 
Β 

Contributors