INNER CODE UNIT · Python
search_disclosed_reports
shuvonsec/claude-bug-bounty · mcp/hackerone-mcp/server.py:100
def search_disclosed_reports(
keyword: str = "",
program: str = "",
limit: int = 10,
) -> list[dict]:
"""Search HackerOne Hacktivity for disclosed reports.
Args:
keyword: Search term (vuln type, tech, etc.)
program: HackerOne program handle (e.g. "shopify")
limit: Max results (1-25)
Returns:
List of disclosed report summaries.
"""
limit = max(1, min(25, limit))
where_clauses = ['disclosed_at: { _is_null: false }']