HackerOne
Bug bounty: programs, scope, reports and rewards
Managed auth
Authentication
Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.
API key
Your users enter
- Token identifierRequired
- Token valueSecretRequired
- Account typeOptionalIdentifier2 choices
Where to find them
With a hacker account: at hackerone.com open “Settings” → “API Token”, click “Generate API token” (it revokes the previous one) and copy the value, which is shown only once; the identifier is your username. With an organization account: an administrator goes to “Organization Settings” → “API Tokens” → “Create API Token”, enters an identifier, chooses the groups (the permissions of the token) and copies the value; the plan must include the API. Limits: 600 reads per minute and 25 writes every 20 seconds.
Tools (3)
HackerOne API request
HACKERONE_SEND_REQUESTAuthenticated call to the HackerOne API (https://api.hackerone.com/v1). Any endpoint of the API is allowed. Hacker: GET /hackers/programs?page[size]=100, GET /hackers/programs/{handle}, GET /hackers/programs/{handle}/structured_scopes, GET /hackers/me/reports, GET /hackers/reports/{id}, GET /hackers/hacktivity?queryString=severity_rating:critical, GET /hackers/payments/balance. Organization: GET /me/programs, GET /reports?filter[program][]={handle}&filter[state][]=triaged, GET /reports/{id}, POST /reports/{id}/activities, GET /programs/{id}/structured_scopes.
Required scopes
No scopes required
Input
HackerOne API request input Name Type Description methodstringHTTP methodOne of: GET,POST,PUT,PATCH,DELETEDefault:"GET"pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link) queryobjectQuery string parameters bodyunknownJSON body formobjectBody as application/x-www-form-urlencoded instead of JSON body_base64stringBinary body, base64 (at most 960000 characters) content_typestringContent-Type of body_base64 headersobjectExtra headers such as Accept. Authentication is added automatically. Scope of a program
HACKERONE_GET_PROGRAM_SCOPEAssets of a bug bounty program with their type, identifier, whether they are in scope (accept reports) and have a bounty, maximum severity and instructions. Only with a hacker token.
Required scopes
No scopes required
Input
Scope of a program input Name Type Description programrequiredstringProgram handle, e.g. security maxintegerDefault: 100Reports of a program
HACKERONE_LIST_REPORTSReports received in a program of your organization: id, title, state, severity, weakness, asset, researcher and date. Only with an organization token.
Required scopes
No scopes required
Input
Reports of a program input Name Type Description programrequiredstringProgram handle statestringnew, triaged, needs-more-info, resolved, duplicate, informative, not-applicable… maxintegerDefault: 25pageintegerDefault: 1

