Repository navigation
Description
Goal
Attach a genuine SLSA build-provenance file (.intoto.jsonl) to every GitHub Release produced by the reusable publish pipeline, so OpenSSF Scorecard's Signed-Releases check scores 10 (provenance tier) rather than 8 (signature tier).
Why only .intoto.jsonl
Scorecard's releasesHaveProvenance probe (verified at scorecard commit c22063e, v5.3.0) matches exactly one suffix for the 10 tier:
var provenanceExtensions = []string{".intoto.jsonl"}A .sigstore.json bundle (what actions/attest-build-provenance emits) is not credited as provenance — it lands in the signature tier (8) at best. So GitHub's native attestation action alone does not reach 10; a real .intoto.jsonl asset is required. Renaming an attest bundle to .intoto.jsonl would flip the metric but is metric-gaming with a non-standard file — explicitly out of scope.
Scope: contained in CLDMV/.github
Implement in the reusable publish pipeline (.github/workflows/reusable-publishing.yml, create-release job) so all consuming repos inherit it via @v4. Prerequisite (separate issue/PR) is the score-8 signature work; this issue tracks the 8→10 provenance upgrade.
Likely approach
Use slsa-framework/slsa-github-generator (generator_generic_slsa3.yml), which natively emits <subject>.intoto.jsonl and can upload it to the release. Integration cost is the wiring, not the signing:
- it must run as its own isolated top-level job (a nested reusable-workflow call), fed the sha256 subjects of each published artifact as a job output;
- it must integrate with the multi-package release shape (core + satellite packages, e.g.
@cldmv/slothlet+slothlet-i18n+slothlet-types→ 3 tarballs) and the existingcreate-releasestep (which already creates the release and ownsrelease-id); - it needs a live test release to validate — not dry-run-provable.
Acceptance
- Each real (non-dry-run) release carries a
.intoto.jsonlasset covering the published tarball(s). - A subsequent Scorecard run reports
Signed-Releases: 10. - No regression to the existing release creation, tag-move, SBOM, or close-resolved-issues steps.
Estimated moderate–high effort (a few hours + a throwaway release), vs. the sub-hour score-8 signature work. Deferred deliberately; the 8→10 gain is one probe on one of ~16 weighted checks.
Activity
refactor(provenance): decouple SLSA provenance into its own release:p…
cldmv-bot commentedon Sep 6, 2026
Closed in v4.26.0 — resolved by #268.