question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Vulnerabilities API

See original GitHub issue

One of the proposed responsibilities of this group is “owning and publishing the base dataset of disclosures.” I think the ideal way to publish this data would be to make it available via a public, documented HTTP API.

The prime use case for such an API would be for tools and services to programmatically check for vulnerabilities alongside their main task; I suspect that’s in fact how nsp works today. For example, npm might check for vulnerabilities on npm outdated.

Other uses would be to send notifications (e.g. via webhook) when new vulnerabilities are added, and to serve as a backend API for a human-readable website for searching and listing vulnerabilities.

I think we should host this API service on our “own” infrastructure as managed by the @nodejs/build team - “own” in quotes because most of it is backed by public cloud resources and not a private datacenter. In fact, I’m not sure what other options we have; any additional cloud resources needed by this service would likely be added to the Build group’s responsibility too.

The conversation in #16 on how to store vulnerability data is loosely coupled to this conversation on a public API, in that we should be able to easily abstract the storage implementation from the API service.

In summary, this issue is to gather thoughts on:

  1. Providing a public Vulnerabilities HTTP API.
  2. How to build and host such an API service.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sam-githubcommented, Feb 16, 2017

I’m in the same position of @mcollina, no time to implement this, but after we have some data stored, if someone wanted to do this, I can’t think of any objects right now (though I don’t think we want to get in the business of competing with the APIs behind any of the providers of security tools, we would want to be careful about that).

1reaction
mcollinacommented, Jan 21, 2017

This functionality is currently offered by several providers, and what we discussed in person at NINA to not have an API to query the dataset, but just providing the dataset to be downloaded, or something similar. If someone wants an API, they should build their own.

I am neutral to this, as I will not have any bandwidth to contribute to the development of this service.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Top 5 API Vulnerabilities - how to spot and mitigate - Reflectiz
Top 5 API Vulnerabilities · 1. Weak Authentication · 2. Security Misconfiguration · 3. Excessive Data Exposure · 4. Broken Object Level ...
Read more >
8 Common API Vulnerabilities
What are the 8 common API vulnerabilities? · Broken Object Level Authorization (BOLA) · Broken User Authentication · Improper Asset Management · Excessive...
Read more >
Common API Vulnerabilities and How to Secure Them
API Vulnerabilities · Man-in-the-Middle · CSRF Attack · XSS Attack · SQL Injection · Distributed Denial of Services.
Read more >
OWASP API Security Project
API Security focuses on strategies and solutions to understand and mitigate the unique vulnerabilities and security risks of Application Programming ...
Read more >
Vulnerability APIs - NVD
National Vulnerability Database. Developers. Vulnerabilities ... The CVE API is used to easily retrieve information on a single CVE or a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found