INNER CODE UNIT · Python
get_program_stats
shuvonsec/claude-bug-bounty · mcp/hackerone-mcp/server.py:179
def get_program_stats(program: str) -> dict:
"""Get public statistics for a HackerOne program.
Args:
program: HackerOne program handle (e.g. "shopify")
Returns:
Dict with bounty info, response times, resolved counts.
"""
safe_program = _escape_graphql_string(program)
query = f"""{{
team(handle: "{safe_program}") {{
name
handle
url
offers_bounties
default_currency
base_bounty