Skip to content
A node.js client that makes it easier to work with the Hackerone API
JavaScript
Branch: master
Clone or download
Jesse Kinser
Jesse Kinser bump version
Latest commit c4baa7f Nov 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img first commit Apr 18, 2019
src add swag and other endpoints Nov 20, 2019
.eslintrc.js Setup linting, fix issues May 2, 2019
.gitignore first commit Apr 18, 2019
README.md updated readme with install info Apr 18, 2019
package-lock.json Merge pull request #4 from securitybites/dependabot/npm_and_yarn/mixi… Nov 20, 2019
package.json bump version Nov 20, 2019

README.md

Hackerone - Node Client

A Hackerone client written in Node.js to make life easier when interacting with the Hackerone API.

How to Use:

Setup

npm install hackerone-client --save

Create the client object using your Hackerone API key and key name:

var HackeroneClient = require('hackerone-client');

const Hackerone = new HackeroneClient(process.env.HACKERONE_API_KEY,
process.env.HACKERONE_API_KEY_NAME);

Get a specific report:

const reportDetails = await Hackerone.readReport("519221");

Query for all reports in the program:

const reports = await Hackerone.queryReports('lifeomic');

Query for reports using filters:

//Available filters to choose from: https://api.hackerone.com/docs/v1#/reports/query

const additionalFilters = {
        "filter[reporter][]": "randomdeduction",
        "filter[swag_awarded_at_null][]": "true"
    };

const reports = await Hackerone.queryReports('lifeomic',
     additionalFilters);

Contributing

  1. Clone this repo
  2. Hack away
  3. Create a new pull request

Author

Jesse Kinser

  • H1: randomdeduction
  • Twitter: @securitybites
You can’t perform that action at this time.