PatrikFehrenbach/h1-brain
MCP server that connects AI assistants to HackerOne for bug bounty hunting
662e8eddb539Paths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- HIGHTool
fetch_program_reportsreads or writes any file path by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it only the folder it needs
fetch_program_reportscan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
fetch_program_reports, switch them off. - Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 14 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
fetch_program_reports, hackfetch_program_reports, fetch_program_scopes, fetch_programs, fetch_rewarded_reports, get_disclosed_report, get_report and 7 moreNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; read environment variables; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files2 tools · fetch_program_reports, hack
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (14: 14 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
fetch_program_reportstool Fetch ALL your reports for a program (EVERY state, not just rewarded) with their fullFilesNetworkoutside textReads/writes files
Fetch ALL your reports for a program (EVERY state, not just rewarded) with their full
comment/activity timeline. Stores them in the local DB and, if out_dir is given, writes one
markdown file per report (full thread, oldest->newest) plus raw/<id>.json and index.md.
Args:
handle: Program handle (e.g. 'alloy')
out_dir: Absolute path of a folder to write report files into (optional)
include_internal: Include internal (non-public) activity messages (default True)fetch_attachmenttool Get fresh download URLs for report attachments (expire in ~1 hour).
Get fresh download URLs for report attachments (expire in ~1 hour).
Covers both the original report attachments AND attachments posted in
comments/activities (e.g. inline {F...} images and triager screenshots),
which were previously invisible to this tool.
Args:
report_id: The report ID
attachment_id: Specific attachment ID (with or without a leading 'F'), or empty for allfetch_program_scopestool Fetch scopes for a program from the API. Called automatically by hack().Network
Fetch scopes for a program from the API. Called automatically by hack().
Args:
handle: The program handlefetch_programstool Sync your accessible HackerOne programs into the local database.Network
Sync your accessible HackerOne programs into the local database.
fetch_rewarded_reportstool Sync your personal bounty-awarded reports from HackerOne API into the local database. Run once, re-run to update.Network
Sync your personal bounty-awarded reports from HackerOne API into the local database. Run once, re-run to update.
get_disclosed_reporttool Get full details of a public disclosed report. For your own reports use get_report.Network
Get full details of a public disclosed report. For your own reports use get_report.
Args:
report_id: The report IDget_reporttool Get full details of your personal report. For public reports use get_disclosed_report.Network
Get full details of your personal report. For public reports use get_disclosed_report.
Args:
report_id: The report IDget_report_summarytool Summary of your rewarded reports grouped by program with totals.Network
Summary of your rewarded reports grouped by program with totals.
get_report_threadtool Read the full comment/activity timeline (oldest->newest) for one of your reports,Network
Read the full comment/activity timeline (oldest->newest) for one of your reports,
as stored by fetch_program_reports.
Args:
report_id: The report IDhacktool Start a hacking session. Fetches fresh scope, cross-references your reports and public disclosures, returns an actionable attack briefing.FilesNetworkoutside text
Start a hacking session. Fetches fresh scope, cross-references your reports and public disclosures, returns an actionable attack briefing.
Args:
handle: The program handlesearch_disclosed_reportstool Search public disclosed reports from other researchers that paid a bounty. For your own reports use search_reports.Network
Search public disclosed reports from other researchers that paid a bounty. For your own reports use search_reports.
Args:
query: Full-text search in title and vulnerability write-up
program: Program handle filter
weakness: Weakness type filter (e.g. 'XSS', 'SSRF')
limit: Max results (default 20)search_programstool Search your stored programs by handle or name.Network
Search your stored programs by handle or name.
Args:
query: Program handle or name (partial match)
bounty_only: Only bounty programs
visibility: "public", "private", or "" for both (re-run fetch_programs once to populate)
limit: Max results (default 20)search_reportstool Search your personal rewarded reports. For public community reports use search_disclosed_reports.Network
Search your personal rewarded reports. For public community reports use search_disclosed_reports.
Args:
query: Title search (partial match)
program: Program handle filter
weakness: Weakness type filter (e.g. 'XSS', 'SSRF')
severity: Severity rating (critical, high, medium, low)
limit: Max results (default 20)search_scopestool Search in-scope assets across programs.Network
Search in-scope assets across programs.
Args:
program: Program handle filter
asset: Asset identifier (partial match)
bounty_only: Only bounty-eligible assets
limit: Max results (default 30)Text the model reads (14)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
fetch_rewarded_reports tool
Sync your personal bounty-awarded reports from HackerOne API into the local database. Run once, re-run to update.
fetch_programs tool
Sync your accessible HackerOne programs into the local database.
fetch_program_scopes tool
Fetch scopes for a program from the API. Called automatically by hack().
Args:
handle: The program handlesearch_reports tool
Search your personal rewarded reports. For public community reports use search_disclosed_reports.
Args:
query: Title search (partial match)
program: Program handle filter
weakness: Weakness type filter (e.g. 'XSS', 'SSRF')
severity: Severity rating (critical, high, medium, low)
limit: Max results (default 20)get_report tool
Get full details of your personal report. For public reports use get_disclosed_report.
Args:
report_id: The report IDfetch_attachment tool
Get fresh download URLs for report attachments (expire in ~1 hour).
Covers both the original report attachments AND attachments posted in
comments/activities (e.g. inline {F...} images and triager screenshots),
which were previously invisible to this tool.
Args:
report_id: The report ID
attachment_id: Specific attachment ID (with or without a leading 'F'), or empty for allsearch_programs tool
Search your stored programs by handle or name.
Args:
query: Program handle or name (partial match)
bounty_only: Only bounty programs
visibility: "public", "private", or "" for both (re-run fetch_programs once to populate)
limit: Max results (default 20)search_scopes tool
Search in-scope assets across programs.
Args:
program: Program handle filter
asset: Asset identifier (partial match)
bounty_only: Only bounty-eligible assets
limit: Max results (default 30)get_report_summary tool
Summary of your rewarded reports grouped by program with totals.
search_disclosed_reports tool
Search public disclosed reports from other researchers that paid a bounty. For your own reports use search_reports.
Args:
query: Full-text search in title and vulnerability write-up
program: Program handle filter
weakness: Weakness type filter (e.g. 'XSS', 'SSRF')
limit: Max results (default 20)get_disclosed_report tool
Get full details of a public disclosed report. For your own reports use get_report.
Args:
report_id: The report IDhack tool
Start a hacking session. Fetches fresh scope, cross-references your reports and public disclosures, returns an actionable attack briefing.
Args:
handle: The program handlefetch_program_reports tool
Fetch ALL your reports for a program (EVERY state, not just rewarded) with their full
comment/activity timeline. Stores them in the local DB and, if out_dir is given, writes one
markdown file per report (full thread, oldest->newest) plus raw/<id>.json and index.md.
Args:
handle: Program handle (e.g. 'alloy')
out_dir: Absolute path of a folder to write report files into (optional)
include_internal: Include internal (non-public) activity messages (default True)get_report_thread tool
Read the full comment/activity timeline (oldest->newest) for one of your reports,
as stored by fetch_program_reports.
Args:
report_id: The report IDWhat we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 14 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 14 tool handlers traced
- Reads or writes any file path HIGH2 findings in fetch_program_reports
- Requests any addressNo tool sends a request to an address the caller supplies — 14 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 14 tool handlers traced
- Tools that start processesNot seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
- Tools that touch files2 of 14 capabilities touch files; 12 more call code the scanner could not follow, where it may happen
- Tools that call the network13 of 14 capabilities call the network; 1 more call code the scanner could not follow, where it may happen
Where the code is: 14 handlers in 1 file at commit 662e8eddb539
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: requirements.txt
- Lockfiles checked against OSV1 file resolved and checked against the OSV database; 1 not resolved: requirements.txt: 2 dependency lines carry no exact version, so the installed version was not checked; pin them or add a lockfile
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependenciesNo package used only for development, tests or examples has a known advisory
- MCP SDK versionmcp
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 14 capabilities; 14 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | mcp |
| Servers in the code | 1 (h1-brain) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-13 |
| Signed releases | not checked yet |
Where it is published
| Listed in | 3 catalogs (github_search, glama, mcp_toplist) |
|---|---|
| License | MIT |
| Created | 2026-03-10 |
| Topics | ai bug-bounty bug-bounty-tools claude hackerone hacking mcp mcp-server pentesting security |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.