
patrikfehrenbach/h1-brain 是一个从 https://github.com/patrikfehrenbach/h1-brain. 导入的 MCP 服务器候选
概览
patrikfehrenbach/h1-brain 是一个从 https://github.com/patrikfehrenbach/h1-brain. 导入的 MCP 服务器候选
概述(AI 翻译)
一个将你的AI助手连接到HackerOne的MCP服务器。它会拉取你的漏洞赏金历史,编程范围和报告细节到本地SQLite数据库,然后发布工具,允许任何兼容MCP的客户端(如Claude Desktop、Claude Code等)搜索、分析并基于你过去的工作进行构建。
它还附带一个预建的3,600+个公开披露悬赏报告的数据库,包括HackerOne社区的全部漏洞报告、弱点类型和悬赏金额。AI利用你的个人数据和公开信息生成攻击简报。
主要工具hack(handle)只需一次通话即可生成完整的黑客会话简报:API的新范围、你过去的发现、该程序的公开披露、弱点模式、未动的资产和建议的攻击向量——所有这些都以可操作的指令形式呈现,使AI进入进攻模式。
工作原理
想了解完整攻略,可以看看三部分的《虫子赏金》系列:
- 教克劳德你破解过的一切——我为什么打造h1-brain以及如何设置它
- h1-brain 实际作用 — 所有工具的详细说明,从搜索到
hack()简报
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
h1-brain
An MCP server that connects your AI assistant to HackerOne. It pulls your bug bounty history, program scopes, and report details into a local SQLite database, then exposes tools that let any MCP-compatible client (Claude Desktop, Claude Code, etc.) search, analyze, and build on your past work.
It also ships with a pre-built database of 3,600+ publicly disclosed bounty-awarded reports from the HackerOne community — full vulnerability write-ups, weakness types, and bounty amounts. The AI uses both your personal data and public knowledge to generate attack briefings.
The primary tool, hack(handle), generates a full hacking session briefing in a single call: fresh scope from the API, your past findings, public disclosures for that program, weakness patterns, untouched assets, and suggested attack vectors — all formatted as actionable instructions that put the AI in offensive mode.
How It Works
For a full walkthrough, check out the three-part Bug Bounty Goldfish series:
- Teaching Claude Everything You’ve Hacked — Why I built h1-brain and how to set it up
- What h1-brain Actually Does — Every tool explained, from search to the
hack()briefing - Running h1-brain Against a Real Target — A start-to-finish walkthrough on an actual program
graph LR
A["Claude Desktop / Code"] -->|MCP Protocol| B["h1-brain server"]
B -->|API calls| C["HackerOne API"]
B -->|reads / writes| D["Your Reports DB"]
B -->|reads| E["Public Reports DB"]
C -->|reports, programs, scopes| B
D -->|your history + analysis| A
E -->|community knowledge| A
style A fill:#ff5c5c,stroke:#ff5c5c,color:#fff
style B fill:#1a1d27,stroke:#ff5c5c,color:#fff
style C fill:#1a1d27,stroke:#555,color:#fff
style D fill:#1a1d27,stroke:#555,color:#fff
style E fill:#1a1d27,stroke:#555,color:#fff
flowchart TD
A["hack(handle)"] --> B["Fetch fresh scope from HackerOne API"]
B --> C["Pull your reports on this program from SQLite"]
C --> D["Analyze weakness patterns across ALL programs"]
D --> E["Identify untouched bounty-eligible assets"]
E --> F["Cross-reference public disclosed reports for this program"]
F --> G["Generate attack briefing with agent instructions"]
style A fill:#ff5c5c,stroke:#ff5c5c,color:#fff
style G fill:#ff5c5c,stroke:#ff5c5c,color:#fff
style B fill:#1a1d27,stroke:#555,color:#fff
style C fill:#1a1d27,stroke:#555,color:#fff
style D fill:#1a1d27,stroke:#555,color:#fff
style E fill:#1a1d27,stroke:#555,color:#fff
style F fill:#1a1d27,stroke:#555,color:#fff
Requirements
- Python 3.10+
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"h1-brain": {
"command": "/path/to/h1-brain/venv/bin/python",
"args": ["/path/to/h1-brain/server.py"],
"env": {
"H1_USERNAME": "your_hackerone_username",
"H1_API_TOKEN": "your_api_token"
}
}
}
}