Vulndb
Vulndb is a tiny sqlite file that contains information useful to statically look
up known vulnerabilities in container images based on their source repositories.
For now it uses GitHub's advisory database.
The database is updated daily and published as an OCI artifact used by Cupdate.
The artifact is available here:
https://github.com/AlexGustafsson/cupdate/pkgs/container/cupdate%2Fvulndb.
For more advanced scanning requirements, use something like
Trivy or
Grype.
Running
When run, vulndb will download its source data, compile it and push an OCI
artifactory. It is intended to run as a GitHub action.
INPUT_GITHUB_ACTOR="..." INPUT_GITHUB_TOKEN="..." go run tools/vulndb/*.go
Schema
See internal/db/createTablesIfNotExist.sql.
Data sources