Skip to content

fix(fuzz): pin the ClusterFuzzLite base image by digest - #99

Merged
rldyourmnd merged 1 commit into
mainfrom
fix/pin-the-fuzzing-base-image
Sep 10, 2026
Merged

fix(fuzz): pin the ClusterFuzzLite base image by digest#99
rldyourmnd merged 1 commit into
mainfrom
fix/pin-the-fuzzing-base-image

Conversation

@rldyourmnd

Copy link
Copy Markdown
Contributor

.clusterfuzzlite/Dockerfile was the one dependency in this repository fetched by a mutable reference: FROM gcr.io/oss-fuzz-base/base-builder:v1. Scorecard reports it as PinnedDependenciesID, and unlike the other open alerts here it is not a false positive — the image really can change under the build.

This repository runs a CI job called "hadolint refuses an unpinned image", so the house rule is not in doubt. The Dockerfile arrived with the fuzz harnesses in fcefc99 and no reasoning was recorded for the exception, which reads as an oversight rather than a decision.

The trade is real and worth stating: OSS-Fuzz publishes base-builder:v1 as a rolling tag and expects projects to track it, so pinning exchanges automatic base updates for a reproducible image. That is the same trade this repository already makes for every action and every download, and a stale fuzzing base fails loudly rather than silently.

The digest is confirmed twice over: the registry's own docker-content-digest header for :v1 and Scorecard's remediation tip agree on sha256:8b4a73d8…. The comment records the refresh command so the next person reads the digest from the registry rather than copying one out of a message.

https://claude.ai/code/session_01CKXKXND4zAgWisTtatyTHX

`.clusterfuzzlite/Dockerfile` was the one dependency here fetched by a mutable
reference. Scorecard reports it as PinnedDependenciesID, and unlike the other
open alerts in this repository it is not a false positive: the image really can
change under the build.

This repository runs a CI job named "hadolint refuses an unpinned image", so
the house rule is not in doubt. The Dockerfile arrived with the fuzz harnesses
in fcefc99 with no reasoning recorded for the exception.

OSS-Fuzz publishes base-builder:v1 as a rolling tag and expects projects to
track it, so this trades automatic base updates for a reproducible image --
the same trade already made for every action and download here.

The digest is confirmed twice: the registry's docker-content-digest header for
:v1 and Scorecard's remediation tip agree.

Claude-Session: https://claude.ai/code/session_01CKXKXND4zAgWisTtatyTHX
@github-actions github-actions Bot added ci and removed ci labels Sep 10, 2026
@rldyourmnd
rldyourmnd merged commit 3e70397 into main Sep 10, 2026
31 checks passed
@rldyourmnd
rldyourmnd deleted the fix/pin-the-fuzzing-base-image branch September 10, 2026 22:43
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