elementalsouls / Claude-BugHunter

本文为原文前 6,000 字符的节选翻译,完整内容请查看原文。

claude-bughunter A self-contained Claude skill bundle for bug hunting and external red-team work · 83 skills · 15 slash commands · 681 disclosed-report patterns (433 now individually cited & auditable) 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.

claude-bughunter 是一个用于 Claude Code 技能系统的即插即用型技能包,包含 83 项技能、15 条斜杠命令以及 681 个已披露的漏洞报告模式(其中 433 个现已可单独引用和审计),涵盖 24 类核心漏洞。它集成了企业身份与基础设施攻击矩阵、参与文件夹脚手架以及 Burp MCP 集成,并在授权的红队演练、漏洞赏金项目及公共训练平台(如 DVWA、OWASP Juice Shop 等)中经过了实战检验。该项目由漏洞赏金猎人及生成式 AI 安全研究员 Sachin Sharma 开发。

SPONSORED BY 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.

赞助商:这是什么?claude-bughunter 是 Claude Code 技能系统的即插即用型组件。安装后,Claude Code 将不再仅仅是一个聊天机器人,而是表现得像一位资深的漏洞研究员或红队操作员:它掌握各种技术、链式模板、VRT 映射、平台 CVE 链以及操作规范,并始终保持在测试范围内。

Four layers stack: Think — bb-methodology + redteam-mindset: the 5-phase non-linear workflow, critical-thinking framework, and red-team operator discipline. Hunt webapps — 58 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.

四层架构:思考(Think)—— 漏洞赏金方法论与红队思维:包含五阶段非线性工作流、批判性思维框架及红队操作员准则。狩猎 Web 应用(Hunt webapps)—— 从 681 份已披露的 HackerOne 报告中精选出的 58 项 hunt-* 技能:涵盖各分类的检测模式、Payload、绕过表及链式模板。攻击边界(Hit the perimeter)—— 企业平台链(如 M365/Entra、Okta、vCenter、SSL-VPN 设备、SharePoint、云 IAM):包含 2024–2026 年最新的 CVE 链及凭据获取后的提权操作。交付(Ship it)—— 分类验证、报告与证据规范:包括“七问”门控、基于 VRT 的严重性评估、范围外(OOS)申诉、PII 脱敏及红队交付物。

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 83 skills + 15 commands load namespaced under claude-bughunter: and update when you bump the plugin version — no files copied into ~/.claude/.

快速入门选项 A——作为 Claude Code 插件安装(推荐)。在 Claude Code 内部运行:/plugin marketplace add elementalsouls/Claude-BugHunter 和 /plugin install claude-bughunter@elementalsouls。所有 83 项技能和 15 条命令将加载在 claude-bughunter: 命名空间下,并在插件版本更新时自动更新,无需将文件复制到 ~/.claude/ 目录中。

Option B — copy install (no plugin system / pin to a clone): git clone https://github.com/elementalsouls/Claude-BugHunter.git cd Claude-BugHunter # macOS / Linux bash scripts/install.sh # Windows (PowerShell) pwsh ./scripts/install.ps1 Both copy the skills + commands into ~/.claude/ (macOS/Linux) or %USERPROFILE%.claude\ (Windows) and wire the hunt engagement scaffolder.

选项 B——复制安装(无需插件系统/固定克隆版本):执行 git clone https://github.com/elementalsouls/Claude-BugHunter.git,进入目录后,macOS/Linux 运行 bash scripts/install.sh,Windows 运行 pwsh ./scripts/install.ps1。这两种方式都会将技能和命令复制到 ~/.claude/(macOS/Linux)或 %USERPROFILE%\.claude\(Windows)目录中,并配置狩猎参与脚手架。

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).

插件是获取技能和斜杠命令的最快途径。终端原生的 cbh 运行器可独立安装(pipx install git+https://github.com/elementalsouls/Claude-BugHunter),因此插件用户无需完整克隆即可添加它(详见 cbh CLI)。狩猎参与脚手架随克隆版(选项 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?

就是这样。打开 Claude Code 并用简单的英语描述测试内容,合适的技能会自动加载,无需通过名称调用:> 测试 acme.com —— 一个 HackerOne 范围内的目标。运行侦察并对攻击面进行排序。⟳ 加载技能:web2-recon, offensive-osint, bb-methodology … → 子域名枚举 (subfinder + crt.sh) … 47 个主机 → 存活主机 (httpx) … 12 个 · 技术指纹 … 6 个不同的技术栈 → 排序后的攻击面:api.acme.com (GraphQL, 开启内省) ← 从这里开始,auth.acme.com (OAuth, SSO) ← hunt-oauth。下一步:需要我探测 GraphQL 内省和 OAuth redirect_uri 吗?

Runs on multiple agent harnesses The skills are plain Agent Skills — the same SKILL.md format that Claude Code · OpenCode · OpenAI Codex CLI · Hermes Agent · Google AntiGravity all load. One command installs them everywhere: # macOS / Linux bash scripts/install.sh —all —burp-mcp # Windows (PowerShell) pwsh ./scripts/install.ps1 -All -BurpMcp

可在多个代理框架上运行。这些技能是标准的 Agent Skills,采用与 Claude Code、OpenCode、OpenAI Codex CLI、Hermes Agent 和 Google AntiGravity 加载格式相同的 SKILL.md 格式。一条命令即可在所有地方安装:macOS/Linux 运行 bash scripts/install.sh --all --burp-mcp,Windows 运行 pwsh ./scripts/install.ps1 -All -BurpMcp。

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)

范围——此工具包的用途及非用途。此工具包涵盖外部攻击面,即无需先攻破内部端点即可从互联网访问的任何内容。范围包括:漏洞赏金狩猎(Web 应用、API、SaaS、GraphQL、OAuth、JWT、文件上传、IDOR、SSRF、RCE 链)、Web 应用渗透测试(涵盖 OWASP 映射的漏洞类别及准则)、外部红队演练(针对面向互联网的企业资产进行初始访问:M365/Entra ID、Okta-as-IdP、本地 SharePoint、VMware vCenter/Workspace ONE、SSL VPN 设备、Android APK 红队、供应链侦察)、云配置错误及凭据获取后的提权(公共 S3、IMDS 链、STS AssumeRole、跨账户混淆代理)、侦察与 OSINT(子域名枚举、身份架构映射、证书透明度、JS 分析、密钥扫描)、报告(H1、Bugcrowd,支持 VRT)。