Skip to content

Signed-Releases: attach SLSA provenance (.intoto.jsonl) to reach Scorecard 10 #243

Closed

Description

@Shinrai

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 existing create-release step (which already creates the release and owns release-id);
  • it needs a live test release to validate — not dry-run-provable.

Acceptance

  • Each real (non-dry-run) release carries a .intoto.jsonl asset 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

  1. added
    priority: low
    type: feature request
    on Sep 3, 2026
  2. added theissue type on Sep 3, 2026
  3. cldmv-bot commented on Sep 6, 2026

    @cldmv-bot
    Contributor

    Closed in v4.26.0 — resolved by #268.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowtype: feature request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions