Skip to main content

(ARCHIVED) This package is archived and no longer maintained. OSV is still active on https://github.com/google/osv.dev.

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

[!WARNING] This Python package is archived and no longer maintained.

The Open Source Vulnerabilities (OSV) project is still active on GitHub.

If you were using this package, please refer to the following resources:


OpenSSF Scorecard

Documentation

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

Data Dump

We have data dumps available from a GCS bucket at gs://osv-vulnerabilities. For more information check out our documentation.

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
bindings/ Language bindings for the OSV API (currently Go only)
deployment/ Terraform & Cloud Deploy config files
A few Cloud Build config yamls
docker/ CI docker files (ci, deployment, terraform)
worker-base docker image for gcp/workers/worker
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/datastore The datastore index file (index.yaml)
gcp/functions The Cloud Function for publishing PyPI vulnerabilities (maintained, but not developed)
gcp/indexer The determine version indexer
gcp/website The backend of the osv.dev web interface, with the frontend in frontend3
Blog posts (in blog)
gcp/workers/ Workers for bisection and impact analysis (worker, importer, exporter, alias)
cron/ jobs for database backups and processing oss-fuzz records
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.1.3.tar.gz (5.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osv-0.1.3-py3-none-any.whl (5.9 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: osv-0.1.3.tar.gz
  • Upload date:
  • Size: 5.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for osv-0.1.3.tar.gz
Algorithm Hash digest
SHA256 4621ebed9c4c70ab34078ebf13a6473ab2161f0b71f9f7215ebd0002090672c1
MD5 d26bd96db3e11755c81b2962fba2fbdd
BLAKE2b-256 7c6ac7482cd8793dc7ef32f1a4578dbb9b05ecbf150a136ecf47af33d597b3ef

See more details on using hashes here.

File details

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

File metadata

  • Download URL: osv-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 5.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for osv-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0eabd7164d3a7b3c578a5953c61cf309527daef5de64b34fc9c41a4f766f0055
MD5 3f6452259f9adce946194fd17d7b2bc8
BLAKE2b-256 3fb9bab98a594381f9496e56133c1f01f46c5b901c47ac2305834251957987c4

See more details on using hashes here.

Supported by

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