---
name: osv-scanner
description: "Use when adopting OSV-Scanner to assess this standard: Check dependency versions against advisories"
---

# Apply OSV-Scanner

Match resolved package versions against OSV records. Track the lockfile, advisory identifier and remediation decision so a reviewer can reproduce the finding.

## Procedure

1. Inspect the repository configuration and identify the files or targets covered by OSV-Scanner.
2. Use OSV-Scanner in this repository to meet this standard: Check dependency versions against advisories. Match resolved package versions against OSV records. Track the lockfile, advisory identifier and remediation decision so a reviewer can reproduce the finding. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.
3. Record the tool version, configuration, scope and findings. Explain any checks that could not run.
4. Use the same invocation after changes and compare the evidence against the baseline.

Refer to [the upstream documentation](https://google.github.io/osv-scanner/) for configuration and prerequisites.

## Optional Seikika installation

Package: [sarif (Seikika kit)](https://github.com/seikika/seikika/tree/89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c/packages/sarif).

Add github:seikika/seikika/packages/sarif@89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c to the include list in .seikika/seikika.yaml. Use the SARIF command in the package guide, configure your lockfile paths and provision the advisory database for offline scanning. Run seikika install .seikika from the checkout root.
