Skip to content

deploy: signatures and provenance attestations for every deploy rule, not only npm #7361

Open

Description

@TrapsterDK

Where

npm_deploy publishes with provenance (deploy/rules/npm.bzl). oci_deploy, pypi_deploy, crates_deploy, maven_deploy, nuget_deploy and github_deploy publish without a signature or attestation. rules_dx's own release signs with cosign (deploy/release), so the tooling is in the tree.

Fix

Tracking:

  1. github_deploy: attach a SLSA provenance attestation through actions/attest-build-provenance in the reusable workflow, and a cosign bundle for each asset when a key or OIDC is available.
  2. oci_deploy: cosign sign and cosign attest with the SBOM from the per-deployable SBOM sub-issue (there is no dx sbom verb today; cli/sbom serves only rules_dx's own release).
  3. pypi_deploy: trusted publishing attestations (PEP 740) through the existing upload path.
  4. crates_deploy, maven_deploy: record the GitHub attestation URL in the release body, since the registries have no attestation slot yet.
  5. dx security --verify <artifact> checks a downloaded asset against its attestation.

Done when

  • A release on a fixture consumer has an attestation per asset, the image is signed, and the verify command accepts them.

Sub-issues

Activity

  1. added
    enhancement
    tracking
    P3
    model:sonnet
    on Nov 5, 2026
  2. TrapsterDK commented on Nov 5, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining sub-issues all wait on open issues: #7430 and #7432 are blocked on #7416 (reusable release workflow, still open); #7430 also on the remaining #7429 items; #7431, #7434 and #7435 are blocked on #7430. Marking blocked until #7416 lands.

  3. added
    blocked
    on Nov 5, 2026
  4. TrapsterDK commented on Nov 6, 2026

    @TrapsterDK
    CollaboratorAuthor

    Related: share cli/sbom with #8503 (dx license --report spdx).

  5. github-actions commented on Nov 6, 2026

    @github-actions
    Contributor

    This issue has the blocked label but no Blocked on: line in its body. Add one naming the blocking issue (#N), a pull request URL, or the owner action. See CONTRIBUTING.md.

  6. removed
    blocked
    on Nov 10, 2026
  7. TrapsterDK commented on Nov 10, 2026

    @TrapsterDK
    CollaboratorAuthor

    Remaining: open children #7430, #7431, #7432, #7434, #7435 (#7429 is closed).

    No longer blocked on #7416: .github/workflows/reusable-release.yml is on main with id-token: write and attestations: write (#7541, #7746, #7776, #8039). What is left of #7416 is the owner's real tag run (#7848), which none of these need to start. #7430 and #7432 can start now; #7431, #7434 and #7435 still wait on #7430.

    🤖 Generated with Claude Code

    https://claude.ai/code/session_01Xut2hw7VSwpTcKWzXNfUDz

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

    P3enhancementmodel:sonnettracking

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions