/ 目录 / 演练场 / h1-brain
● 社区 PatrikFehrenbach ⚡ 即开即用

h1-brain

作者 PatrikFehrenbach · PatrikFehrenbach/h1-brain

AI-powered bug bounty assistant — synthesizes your HackerOne history with 3,600+ disclosed reports to generate attack briefings.

h1-brain is an MCP server that connects AI assistants to HackerOne's bug bounty platform. It maintains dual databases: your personal bounty history (rewarded reports, program scopes) and 3,600+ publicly disclosed reports. The hack(handle) tool generates comprehensive attack briefings combining scope, past findings, weakness patterns, and untouched assets.

为什么要用

核心特性

实时演示

实际使用效果

h1-brain.replay ▶ 就绪
0/0

安装

查看作者仓库中的安装说明

使用场景

实战用法: h1-brain

Generate an attack briefing for an authorized bug bounty program

👤 Bug bounty hunters working on authorized HackerOne programs ⏱ ~15 min intermediate

何时使用: You're starting work on a new bug bounty target and want a strategic overview.

前置条件
  • HackerOne API token — Generate at hackerone.com/settings/api_token
  • h1-brain installed and databases populated — Clone, install, run fetch_rewarded_reports to populate personal DB
步骤
  1. Generate the briefing
    hack('target-company') — Generate a full attack briefing for this program.✓ 已复制
    → Comprehensive briefing with scope, known weakness patterns, untouched assets, and suggested attack vectors
  2. Cross-reference with disclosures
    Search disclosed reports for this company. What vulnerability types have been found before?✓ 已复制
    → List of disclosed vulnerabilities with types and bounty amounts

结果: A strategic attack plan based on historical data and current scope.

注意事项
  • Stale scope data — The tool fetches fresh scope from HackerOne API, but verify on the program page

Analyze your bug bounty track record to find your strengths

👤 Bug bounty hunters optimizing their approach ⏱ ~20 min beginner

何时使用: You want to understand which vulnerability types and programs earn you the most bounties.

前置条件
  • Personal database populated — Run fetch_rewarded_reports to sync your history
步骤
  1. Review your history
    Search my rewarded reports. Group them by vulnerability type and show the total bounty per type.✓ 已复制
    → Breakdown of earnings by vulnerability category
  2. Identify patterns
    Which programs am I most successful on? What do they have in common?✓ 已复制
    → Pattern analysis across your most rewarded programs

结果: Insight into your strengths to focus future hunting efforts.

注意事项
  • Old reports may not reflect current program scope — Re-fetch program scopes to get current assets

组合

与其他 MCP 搭配,撬动十倍杠杆

h1-brain + filesystem

Save attack briefings and reports to organized files for each program

Generate an attack briefing for target-company and save it as ~/bounty/target-company/briefing.md.✓ 已复制

工具

此 MCP 暴露的能力

工具输入参数何时调用成本
hack handle: str Generate a comprehensive attack briefing for a HackerOne program Multiple API calls
search_reports query?: str Search your personal rewarded reports 0 (local DB)
search_disclosed_reports query?: str Search across 3,600+ public disclosures 0 (local DB)
search_programs query?: str Search bug bounty programs 0 (local DB)
fetch_rewarded_reports none Sync your HackerOne rewarded reports to local DB Multiple API calls

成本与限制

运行它的成本

API 配额
HackerOne API rate limits apply during sync and scope fetching
每次调用 Token 数
500–3000 tokens per briefing
费用
Free — HackerOne API access is free with your account
提示
Populate the local databases once, then queries are free and instant. Re-sync periodically.

安全

权限、密钥、影响范围

最小权限: HackerOne API token with read access
凭据存储: API token in environment variable or Claude Desktop config
数据出站: API calls to HackerOne during sync and scope fetching. Local DB queries have no network calls.

故障排查

常见错误与修复

Empty personal database

Run fetch_rewarded_reports first to populate your local database from HackerOne.

验证: Check that h1_data.db file exists and has data
HackerOne API authentication failed

Verify your API token is valid and hasn't expired. Generate a new one at hackerone.com/settings/api_token.

验证: curl -H 'Authorization: ...' https://api.hackerone.com/v1/me
hack() returns empty briefing

The program handle may be incorrect. Search for the exact handle on HackerOne's directory.

验证: search_programs to find the correct handle

替代方案

h1-brain 对比其他方案

替代方案何时用它替代权衡
hexstrike-aiYou need active security scanning tools rather than HackerOne-specific intelligenceBroader tool coverage but no HackerOne integration or report history

更多

资源

📖 阅读 GitHub 上的官方 README

🐙 查看未解决的 issue

🔍 浏览全部 400+ MCP 服务器和 Skills