Skip to content

Authenticate OCI evidence publication - #13

Merged
0xsl1m merged 1 commit into
mainfrom
codex/container-attestation-auth-0.6.3
Jul 25, 2026
Merged

Authenticate OCI evidence publication#13
0xsl1m merged 1 commit into
mainfrom
codex/container-attestation-auth-0.6.3

Conversation

@0xsl1m

@0xsl1m 0xsl1m commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Incident follow-up

The guarded v0.6.3 evidence recovery successfully verified both immutable tags, prior exact-source SLSA provenance, labels, source CI, rescanned the exact image, and skipped new provenance. It then stopped when actions/attest attempted to attach the CycloneDX OCI referrer because the no-push recovery path intentionally had no GHCR credentials.

Fix

  • authenticate to GHCR only after immutable subject verification, vulnerability scanning, digest re-verification, and deterministic SBOM canonicalization
  • keep the credentialed window limited to the two pinned attestation steps
  • retain the existing guard that makes provenance impossible during manual recovery
  • perform unconditional docker logout ghcr.io immediately after SBOM attestation, before signed-evidence verification and the isolated anonymous pull
  • add workflow-policy assertions for the exact ordering, password-stdin login, and fail-closed logout

No image tag or package content is built, changed, or pushed by this recovery path. The intended write is only the digest-bound CycloneDX OCI attestation.

Verification

  • affected workflow/production tests: 22 passed
  • Actionlint clean
  • all eight Bash run blocks pass bash -n
  • Ruff lint/format and diff checks clean
  • independent security re-review: GO; no tag-mutation, signing-oracle, or source-binding issue introduced

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
shadowshield Ready Ready Preview, Comment Jul 25, 2026 10:53pm

@0xsl1m
0xsl1m merged commit 9b3d7ac into main Jul 25, 2026
15 checks passed
@0xsl1m
0xsl1m deleted the codex/container-attestation-auth-0.6.3 branch July 25, 2026 22:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant