PH

patrikfehrenbach/h1-brain

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

356 stars 51 forks Качество 85 Тренд 33MIT

patrikfehrenbach/h1-brain — это кандидат на MCP-сервер, импортированный из https://github.com/patrikfehrenbach/h1-brain.

Обзор

patrikfehrenbach/h1-brain — это кандидат на MCP-сервер, импортированный из https://github.com/patrikfehrenbach/h1-brain.

Обзор (машинный перевод)

MCP-сервер, который соединяет вашего AI-ассистента с HackerOne. Он собирает историю ошибок, область применения программ и детали отчетов в локальную базу данных SQLite, а затем открывает инструменты, позволяющие любому совместимому с MCP клиенту (Claude Desktop, Claude Code и др.) искать, анализировать и развивать вашу прошлую работу.

Также он поставляется с готовой базой данных из 3 600+ публично раскрытых отчетов о наградах от сообщества HackerOne — полные отчёты об уязвимости, типах слабостей и сумме вознаграждений. ИИ использует как ваши личные данные, так и публичные знания для создания брифингов по атакам.

Основной инструмент hack(handle) генерирует полный брифинг по взлому в одном звонке: свежий обзор из API, ваши прошлые данные, публичные раскрытия этой программы, шаблоны слабостей, нетронутые активы и предлагаемые векторы атак — всё это оформлено как оперативные инструкции, переводящие ИИ в наступательный режим.

Как это работает

Для полного обзора ознакомьтесь с трёхсерийной серией Bug Bounty Goldfish:

  1. Обучая Клода всему, что ты взломал — Почему я создал h1-brain и как его настроить
  2. Что h1-brain на самом деле делает — Все инструменты объяснены, от поиска до брифинга по hack()

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

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:

  1. Teaching Claude Everything You’ve Hacked — Why I built h1-brain and how to set it up
  2. What h1-brain Actually Does — Every tool explained, from search to the hack() briefing
  3. 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+
Открыть полный README на GitHub

Установка

This server does not publish a one-line install command.

Open the repository installation guide Новичок в MCP? Начните с руководства на 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" } } } }