Open Source Vulnerability schema.
See the codeThe OSV schema provides a human and machine-readable format to describe vulnerabilities that map precisely to open source package versions or commit hashes. It is used by multiple distributions and advisory databases and is the canonical format aggregated by https://osv.dev.
Installers and consumers typically use one of the available converters or the rendered spec above. Example data sources that export or convert to OSV include many distro and advisory projects (AlmaLinux, Debian, PyPI advisories, RustSec, etc.). See the tools/ directory for converters maintained alongside this repo.
Common tasks:
scripts/validate-schema-table.py and schema.json.tools/ subfolders (e.g., tools/debian, tools/ghsa).proto/vulnerability.proto contains the canonical proto.There are many home databases publishing OSV-format advisories or maintain converters:
Together, these include vulnerabilities from:
See the repository history and the tools/ subdirectories for more examples and testdata.
Prerequisites:
tools/ and scripts/.bindings/go.Common development tasks:
python3 scripts/validate-schema-table.py (see script for usage).tools/*/ for test instructions.We welcome contributions. Please follow the repository's contributor guidelines and code of conduct:
If you find a bug or want to request a feature, open an issue in this repository.
Join the OpenSSF Slack channel #osv_schema (Slack invite: https://slack.openssf.org/) to discuss the schema and tooling.
This repository is maintained by the OpenSSF Vulnerability Disclosures Working Group. See the repository CODEOWNERS for current maintainers.
This project is licensed under the terms in the repository LICENSE file.
To report a security issue, follow the instructions in SECURITY.md.
OSV Schema is used and supported by many projects and ecosystems. See the rendered specification and the tools/ directory for a (non-exhaustive) list of converters and consumers.
418 followers · starred Jul 2024
3,047 followers · starred Aug 2026
141 followers · starred Feb 2022
68 followers · starred Oct 2023
Open Source Vulnerability schema.
See the codeThe OSV schema provides a human and machine-readable format to describe vulnerabilities that map precisely to open source package versions or commit hashes. It is used by multiple distributions and advisory databases and is the canonical format aggregated by https://osv.dev.
Installers and consumers typically use one of the available converters or the rendered spec above. Example data sources that export or convert to OSV include many distro and advisory projects (AlmaLinux, Debian, PyPI advisories, RustSec, etc.). See the tools/ directory for converters maintained alongside this repo.
Common tasks:
scripts/validate-schema-table.py and schema.json.tools/ subfolders (e.g., tools/debian, tools/ghsa).proto/vulnerability.proto contains the canonical proto.There are many home databases publishing OSV-format advisories or maintain converters:
Together, these include vulnerabilities from:
See the repository history and the tools/ subdirectories for more examples and testdata.
Prerequisites:
tools/ and scripts/.bindings/go.Common development tasks:
python3 scripts/validate-schema-table.py (see script for usage).tools/*/ for test instructions.We welcome contributions. Please follow the repository's contributor guidelines and code of conduct:
If you find a bug or want to request a feature, open an issue in this repository.
Join the OpenSSF Slack channel #osv_schema (Slack invite: https://slack.openssf.org/) to discuss the schema and tooling.
This repository is maintained by the OpenSSF Vulnerability Disclosures Working Group. See the repository CODEOWNERS for current maintainers.
This project is licensed under the terms in the repository LICENSE file.
To report a security issue, follow the instructions in SECURITY.md.
OSV Schema is used and supported by many projects and ecosystems. See the rendered specification and the tools/ directory for a (non-exhaustive) list of converters and consumers.
418 followers · starred Jul 2024
3,047 followers · starred Aug 2026
141 followers · starred Feb 2022
68 followers · starred Oct 2023