Action attestation check is not pinned to the release workflow
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 77/100
Línea de trabajo
Lee la llamada de verificación de la atestación en action.yml:168-172 y luego compara el comando documentado en docs/ci.md:222 con el comando de publicación en .goreleaser.yaml:83-88. Actualiza el comando de verificación y la redacción relacionada según se describe en los criterios de aceptación; después, ejecuta las pruebas breves y el linter indicados. El trabajo estará terminado cuando el flujo de trabajo del firmante tenga un nombre coherente y el comentario describa correctamente la verificación de las sumas de comprobación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
The Action verifies the downloaded archive with gh attestation verify --repo, which accepts an attestation from any workflow of the repository. The comment and docs/ci.md say it checks provenance from the release workflow. The cosign command in the release notes does pin the workflow and tag.
Where
action.yml:168-172docs/ci.md:222.goreleaser.yaml:83-88(cosign command with--certificate-identity-regexpfor release.yml at a tag)
Details
With only --repo, the GitHub CLI checks the source repository and that the signing identity is some workflow under it; it does not require a particular workflow or ref (per the CLI documentation; not run against a counter-example). The comment "Verify the archive against the signed checksum list" also overstates the previous step: checksums.txt is used as downloaded and its signature bundle is not verified there, so the attestation is the single authenticity check.
Impact
Defense in depth: the property the docs promise (only the tag-triggered release workflow can produce an archive the action will run) is weaker than stated. Using the gap needs write access to the repository, so this is hardening, not a remote problem.
Suggested fix
Add --signer-workflow TMHSDigital/Spackle/.github/workflows/release.yml to the gh attestation verify call in action.yml and to the commands in docs/ci.md and the release footer, and, where the installed gh supports it, --source-ref "refs/tags/<tag>". Reword the comment to "against the checksum list of the release".
Acceptance criteria
- The verify call names the signer workflow
- docs/ci.md and the release footer show the same command
- The comment describes what the checksum step does
Getting started
- Relevant files: action.yml, docs/ci.md, .goreleaser.yaml
- How to run tests:
make test-short(Unix) or.\make.ps1 test-short(Windows PowerShell);make lintbefore you call it done - Related docs: docs/ci.md
Filed by repo-audit/full-audit at 50e92ec. Severity: low. Effort: S. audit-key: ci|action.yml|attestation-verify
- Lenguaje dominante
- Go
- Estrellas
- 0
- Forks
- 1
- Merge medio
- 8 h 14 min
- PR fusionados (30 d)
- 3
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TMHSDigital/Spackle
-
ci severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
TMHSDigital/Spackle#205 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
TMHSDigital/Spackle#199 ·
Los mantenedores suelen responder en 1 día
-
bug good first issue severity: low
Dificultad 2/5 1-3 horas Aptitud para principiantes 87/100
TMHSDigital/Spackle#195 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue severity: medium
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
TMHSDigital/Spackle#188 ·
Los mantenedores suelen responder en 1 día
-
documentation good first issue severity: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
TMHSDigital/Spackle#187 ·
Los mantenedores suelen responder en 1 día
Todos los issues de TMHSDigital/Spackle
Issues similares
-
deskclose human-decided leaves the legacy decision-needed label and applies no human-decidedAbiertobug effort:s impact:med raised-by:worker risk:low to:worker
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
medici-finance/assay#8120 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
factory:subtask
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
agent-substrate/substrate#4308 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
celestiaorg/celestia-app#8877 ·
Los mantenedores suelen responder en 1 día
-
sweep
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
bketelsen/truenas-mcp#112 ·
Los mantenedores suelen responder en 1 día