Skip to content

fix(security): pin Docker base images by SHA, fix Scorecard publish failure#39

Merged
hubertlim merged 1 commit into
mainfrom
fix/scorecard-and-docker-pins
May 27, 2026
Merged

fix(security): pin Docker base images by SHA, fix Scorecard publish failure#39
hubertlim merged 1 commit into
mainfrom
fix/scorecard-and-docker-pins

Conversation

@hubertlim

Copy link
Copy Markdown
Owner

Summary

Follow-up to PR #37. Addresses remaining OpenSSF Scorecard findings around container image pinning, and fixes the Scorecard workflow itself which was failing due to an imposter-commit check.

Changes

  • Pin python:3.12-slim,
    ode:20-alpine,
    ginx:1.25-alpine to SHA256 digests in Dockerfiles
  • Disable publish_results in scorecard.yml workflow

Why disable publish_results

The Scorecard webapp uses sigstore-based imposter-commit verification. Because we pin actions by SHA (per their own recommendation), the verification fails with HTTP 400. The SARIF still uploads to GitHub code scanning, so findings remain visible in the Security tab.

…blish

- Pin python:3.12-slim, node:20-alpine, nginx:1.25-alpine to SHA256 digests
  to address Scorecard PinnedDependencies findings
- Disable publish_results in Scorecard workflow because sigstore imposter-
  commit checks reject SHA-pinned action references (the SARIF still uploads
  to GitHub code scanning so findings remain visible)
@hubertlim hubertlim merged commit b4d5dd8 into main May 27, 2026
8 checks passed
@hubertlim hubertlim deleted the fix/scorecard-and-docker-pins branch May 27, 2026 06:47
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