Upgrade govulncheck pin v1.1.4 to v1.10.0 and add it to the weekly check

Abierto
#207 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
78/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
github-actions, go
Área
ci-cd, security

Línea de trabajo

Read .github/workflows/govulncheck.yml, .github/workflows/tool-versions.yml, and .github/tool-versions.env; compare how the existing Semgrep version check queries PyPI. Update the govulncheck pin and add its weekly latest-version check using the Go module proxy. Done when the scan uses v1.10.0 and the weekly job detects a newer release; the issue suggests running make test-short and make lint.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

dependencies good first issue severity: low

Summary

The govulncheck-go-mod job pins golang.org/x/vuln/cmd/[email protected] (January 2025). The latest is v1.10.0, and no check reports the pin as stale.

Where

  • .github/workflows/govulncheck.yml:37
  • .github/workflows/tool-versions.yml:51 (weekly check compares golangci-lint, GoReleaser and the five scanners only)

Details

go list -m -json golang.org/x/[email protected] reports a release date of 2025-01-06 and a go directive of 1.22.0; go list -m -versions golang.org/x/vuln ends at v1.10.0 (go directive 1.26.0). The job is green at this commit, so this is staleness, not breakage.

Impact

This job scans with the Go version go.mod names. It does so with an analyzer whose bundled tooling predates Go 1.26, so analysis and database-handling fixes made since are missing, and a future Go or database change can break or weaken the job with no pin check pointing at the cause.

Suggested fix

Move the pin to v1.10.0. Put GOVULNCHECK_VERSION in .github/tool-versions.env and compare it in tool-versions.yml with the latest version from the Go module proxy, as is done for Semgrep with PyPI.

Acceptance criteria

  • The job runs govulncheck v1.10.0 and stays green
  • The weekly tool-versions job fails when a newer govulncheck exists

Getting started

  • Relevant files: .github/workflows/govulncheck.yml, .github/workflows/tool-versions.yml, .github/tool-versions.env
  • How to run tests: make test-short (Unix) or .\make.ps1 test-short (Windows PowerShell); make lint before you call it done
  • Related docs: CONTRIBUTING.md

Filed by repo-audit/full-audit at 50e92ec. Severity: low. Effort: S. audit-key: dependencies|.github/workflows/govulncheck.yml|govulncheck-go-mod

Lenguaje dominante
Go
Estrellas
0
Forks
1
Merge medio
8 h 14 min
PR fusionados (30 d)
3

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de TMHSDigital/Spackle

Todos los issues de TMHSDigital/Spackle

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.