Action attestation check is not pinned to the release workflow
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 77/100
Research direction
Read the attestation verification call in action.yml:168-172, then compare the documented command in docs/ci.md:222 with the release command in .goreleaser.yaml:83-88. Update the verification command and related wording as described in the acceptance criteria, then run the listed short tests and lint. Done when the signer workflow is named consistently and the comment accurately describes checksum verification.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- Go
- Stars
- 0
- Forks
- 1
- Avg merge
- 8h 14m
- Merged PRs (30d)
- 3
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from TMHSDigital/Spackle
-
ci severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
TMHSDigital/Spackle#205 ·
Maintainers usually reply within 1 day
-
bug good first issue severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
TMHSDigital/Spackle#199 ·
Maintainers usually reply within 1 day
-
bug good first issue severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 87/100
TMHSDigital/Spackle#195 ·
Maintainers usually reply within 1 day
-
documentation good first issue severity: medium
Difficulty 1/5 Under an hour Newbie friendliness 90/100
TMHSDigital/Spackle#188 ·
Maintainers usually reply within 1 day
-
documentation good first issue severity: medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
TMHSDigital/Spackle#187 ·
Maintainers usually reply within 1 day
All issues in TMHSDigital/Spackle
Similar issues
-
bug effort:s impact:med raised-by:worker risk:low to:worker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
medici-finance/assay#8120 · 1 comment ·
Maintainers usually reply within 1 day
-
factory:subtask
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
agent-substrate/substrate#4308 ·
Maintainers usually reply within 2 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
celestiaorg/celestia-app#8877 ·
Maintainers usually reply within 1 day
-
sweep
Difficulty 1/5 Under an hour Newbie friendliness 84/100
bketelsen/truenas-mcp#112 ·
Maintainers usually reply within 1 day