Dependency advisories: match imported packages, and dismissal #345

closed cmc opened this on 2026-11-01 08:29 UTC

Discussion

cmc 2026-11-01 08:29 UTC

The advisories issue matches by module and version. GO-2026-5932 (golang.org/x/crypto/openpgp is unmaintained) opened #343 though gitbay never imports that package (govulncheck: not affected), and nothing a repository can do closes it short of dropping the module. The same holds for any advisory a maintainer has judged not to apply.

  • Go advisories that name packages (OSV ecosystem_specific.imports) count only when a Go file at the checked commit imports one of them. Others are set aside and listed in the issue as not imported. Imports through another module are not seen; govulncheck in CI covers those.
  • Dismissal. repo deps dismiss <owner/name> <advisory>... --reason not-affected|wont-fix|dev-only, repo deps reopen, by advisory id. The issue lists open advisories, counts the rest, and closes when none are open. Status and the settings page show the same; the page can dismiss and reopen.

closed by cmc in commit 7f5e83a69e: Dependency advisories: match imported packages, and dismissal

2026-11-01 08:36 UTC