Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hackerone-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hackerone-client

A node.js client to interact with the Hackerone api

  • 1.0.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

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

FAQs

Package last updated on 14 Jan 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc