Skip to content

SLSA / self-verifying-ref pin-exemption registry (remove harmful SHA mapping) #262

@hyperpolymath

Description

@hyperpolymath

Refs #260 (do not auto-close).

Defect: workflow_audit.ex:49 and security_errors.ex:291 map slsa-framework/slsa-github-generator@v2.1.0 → <sha>. Applying the only symbolic remediation (SHA-pin) BREAKS SLSA provenance — the generator self-verifies github.ref and requires a semver tag. No exception channel exists, so modshells #63 stays open forever.

Fix:

  • Remove the harmful SHA mapping for slsa-framework/slsa-github-generator.
  • Introduce a first-class pin_exempt / must_track_tag registry (versioned data, not code constants) for reusable workflows that self-verify their ref.
  • For exempt refs emit an accept finding with rationale, never a fix; reconciler dismisses the Scorecard alert with that rationale.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingelixirPull requests that update elixir codemajorLoad-bearing / requirements-level workrequirements-targetTracks a requirement; PRs Refs not Closes; joint-close only

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions