Skip to content
A HackerOne API client for Node.js
Branch: master
Clone or download
Latest commit d41af21 Jul 1, 2017
Type Name Latest commit message Commit time
Failed to load latest commit information.
list Fix #2 Jul 1, 2017
test Cleanup Jul 1, 2017
.travis.yml Fix miss config with codecov Jul 1, 2017
LICENSE Initial commit Jun 27, 2017 Add new text/s Jul 1, 2017
index.js Add `programs` & `me` Jul 1, 2017
package.json Update readme & publish the package. Jul 1, 2017

Hackerone - A HackerOne API client for Node.js

npm package

Build status Coverage Dependency Status Donate


Initializing the Client

var hackerone = require('hackerone');
var Hackerone = new hackerone('YOUR-API-TOKEN-IDENTIFIER', 'YOUR-API-TOKEN');


Read a report'REPORT-ID', function (err, res) {

Query reports

    program: '...',
    reporter: '...'

}, function (err, res) {

Reports ► Comments

Post a public comment

Hackerone.reports.comments.create('REPORT-ID', {
    message: 'The message that will be posted'
    internal: boolean
}, function (err, res) {

Lock a report

Hackerone.reports.comments.close('REPORT-ID',{}, function (err, res) {

Reports ► Assignee

Assign a user

Hackerone.reports.assignee.update('REPORT-ID', {
    id: 'The ID of the user or group',
    type: 'Specifies whether a user or group should be assigned, or if the assignee should be cleared',
    message: 'The message that will be posted to the assigned user or group'
}, function (err, res) {

For more example see test/*.js


  • Documentation
You can’t perform that action at this time.