OSV is a vulnerability database and triage infrastructure for open source projects aimed at helping both open source maintainers and consumers of open source.
For open source maintainers, OSV’s automation helps reduce the burden of triage. Each vulnerability undergoes automated bisection and impact analysis to determine precise affected commit and version ranges.
For open source consumers, OSV provides an API that lets users of these projects query whether or not their versions are impacted.
This is an ongoing project. We are hoping to work with the open source community to onboard more sources of data.
Viewing the web UI
An instance of OSV’s web UI is deployed at https://osv.dev.
Using the API
curl -X POST -d \
'{"commit": "6879efc2c1596d11a6a6ad296f80063b558d5e0f"}' \
"https://api.osv.dev/v1/query?key=$API_KEY"
curl -X POST -d \
'{"version": "1.0.0", "package": {"name": "foo", "ecosystem": "bar"}}' \
"https://api.osv.dev/v1/query?key=$API_KEY" Detailed documentation for using the API can be found at https://osv.dev/docs/.
Architecture
You can find an overview of OSV’s architecture here.
This Repository
This repository contains all the code for running OSV on GCP. This consists of:
gcp/api)gcp/appengine)docker/worker)tools)You’ll need to check out submodules as well for many local building steps to work:
git submodule update –init –recursive
Contributions are welcome! We also have a mailing list and a FAQ.
The rsync command in Linux synchronizes files and directories between two locations, locally or over SSH. Unlike scp,…
The patch command in Linux applies a set of changes from a diff file to one or…
The basename command in Linux extracts the last component of a file path, removing the leading directory…
The timeout command in Linux runs a command with a time limit and terminates it when the limit is reached. It is part of GNU coreutils, available on virtually every Linux distribution. It is most useful for commands with no built-in timeout option, such as ping, curl, tcpdump, or a custom script that might hang indefinitely. How the timeout Command Works in Linux The syntax is: bashtimeout [OPTIONS] DURATION COMMAND [ARG]...…
The rmmod command in Linux removes a loaded module from the running kernel. Because the kernel has…
The free command in Linux gives you a quick summary of RAM and swap usage. It reads…