Skip to main content

Open Source Vulnerabilities library

Project description

OpenSSF Scorecard

Documentation

Comprehensive documentation is available here. API documentation is available here.

Viewing the web UI

An instance of OSV's web UI is deployed at https://osv.dev.

Using the scanner

We provide a Go based tool that will scan your dependencies, and check them against the OSV database for known vulnerabilities via the OSV API.

Currently it is able to scan various lockfiles, debian docker containers, SPDX and CycloneDB SBOMs, and git repositories.

The scanner is located in its own repository.

This repository

This repository contains all the code for running https://osv.dev on GCP. This consists of:

directory what
deployment/ Terraform, Cloud Deploy & App Engine config files
A few Cloud Build config yamls
Old (no longer used?) api-staging and api-test Cloud Run configs
docker/ CI docker files (ci, deployment, terraform)
Workers for bisection and impact analysis (worker, importer, exporter, alias, worker-base)
The determine version indexer
cron/ jobs for database backups and processing oss-fuzz records
docs/ Jekyll files for https://google.github.io/osv.dev/
build_swagger.py and tools.go
gcp/api OSV API server files (including files for the local ESP server)
protobuf files in /v1
gcp/appengine The backend of the osv.dev web interface, with the frontend in frontend3
Blog posts (in blog)
App Engine Cron Handlers (to be removed)
The datastore indexes file (index.yaml)
gcp/functions The Cloud Function for publishing PyPI vulnerabilities (maintained, but not developed)
osv/ The core OSV Python library, used in basically all Python services
OSV ecosystem package versioning helpers in ecosystems/
Datastore model definitions in models.py
tools/ Misc scripts/tools, mostly intended for development (datastore stuff, linting)
The indexer-api-caller for indexer calling
vulnfeeds/ Go module for (mostly) the NVD CVE conversion
The Alpine feed converter (cmd/alpine)
The Debian feed converter (tools/debian, which is written in Python)

You'll need to check out submodules as well for many local building steps to work:

git submodule update --init --recursive

Contributing

Contributions are welcome!

Learn more about code, data, and documentation contributions. We also have a mailing list.

Do you have a question or a suggestion? Please open an issue.

Third party tools and integrations

There are also community tools that use OSV. Note that these are community built tools and as such are not supported or endorsed by the core OSV maintainers. You may wish to consult the OpenSSF's Concise Guide for Evaluating Open Source Software to determine suitability for your use. Some popular third party tools are:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osv-0.0.22.tar.gz (267.9 kB view details)

Uploaded Source

Built Distribution

osv-0.0.22-py3-none-any.whl (353.6 kB view details)

Uploaded Python 3

File details

Details for the file osv-0.0.22.tar.gz.

File metadata

  • Download URL: osv-0.0.22.tar.gz
  • Upload date:
  • Size: 267.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for osv-0.0.22.tar.gz
Algorithm Hash digest
SHA256 08ab61c6133b6cad372975c47ee7d9cd7a85979504893cc99f1ab189adad6af9
MD5 da22f6cd47213fe0b86c92e79418d98f
BLAKE2b-256 5cedde4bbf3a9b4f0aeec6b5d9ecb0f4774f9386a00d07c795e8c6f57cf1e511

See more details on using hashes here.

File details

Details for the file osv-0.0.22-py3-none-any.whl.

File metadata

  • Download URL: osv-0.0.22-py3-none-any.whl
  • Upload date:
  • Size: 353.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for osv-0.0.22-py3-none-any.whl
Algorithm Hash digest
SHA256 95ed761d8f742dcf11ba8cd7e83ed6f945d5a6d45830fc6cf2cb4bf00bcc06ec
MD5 b4c7be772ae270f4e5afe1a58e88a841
BLAKE2b-256 82c5d3e631f3755e5f24ded18ccba6004f8df7c7210a447c0387a04a8e766716

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page