Skip to content

[Bug]: verify that bundle/artifact catalog commit fields are bound to the attested commit #577

Closed

Description

@jimhoyd

Runtime revision and environment

main at 645239b (static review; unverified — not traced through gh attestation verify).

Minimal reproduction

The extension bundle and artifact catalogs (packages/core/src/extension-bundles.ts, extension-artifacts.ts) carry a commit field. Verification checks SHA-256 and requires a signed attestation bound to the signing workflow and tag, but review did not find where the catalog's commit is compared with the commit recorded in the attestation. If it is not compared, the field is informational and a consumer relying on it for provenance could be misled.

Relevant output

None; code reading only.

Suggested fix

Confirm whether the check exists. If not, compare the catalog commit with the attestation's source commit (or drop/label the field as informational), and add a test with a mismatched commit.

Activity

  1. added
    bug
    needs-decision
    on Sep 23, 2026
  2. jimhoyd commented on Sep 24, 2026

    @jimhoyd
    CollaboratorAuthor

    Triage decision: this follows the existing provenance contract, not a new product choice. Verify that each bundle/artifact catalog commit is compared with the source commit recorded in the required signed attestation; if absent, implement that binding and add a mismatched-commit regression test. Until bound, do not treat the catalog field as provenance. Leaving the issue open as implementation work and removing needs-decision.

  3. removed
    needs-decision
    on Sep 24, 2026
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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions