Skip to content

ci: pin OSS-Fuzz base-builder-python by SHA#29

Merged
cohenrobinson merged 1 commit into
mainfrom
chore/pin-cflite-base-image
May 10, 2026
Merged

ci: pin OSS-Fuzz base-builder-python by SHA#29
cohenrobinson merged 1 commit into
mainfrom
chore/pin-cflite-base-image

Conversation

@cohenrobinson
Copy link
Copy Markdown
Contributor

Summary

Closes Scorecard PinnedDependenciesID alert #32 — `.clusterfuzzlite/Dockerfile` had `FROM gcr.io/oss-fuzz-base/base-builder-python` with no digest, which dropped the Pinned-Dependencies score from 10 → 9 once ClusterFuzzLite landed.

  • Pin to `sha256:9c97273...` (current latest at the time of writing).
  • Add a `docker` ecosystem block to `.github/dependabot.yml` so the SHA refreshes weekly without manual updates.

Companion alert #33 (`pip3 install .` in `build.sh`) is dismissed as a false positive — that line installs the local editable package for the fuzz harnesses to import; there's no PyPI release to hash-pin against.

Expected Scorecard impact

Pinned-Dependencies 9 → 10. Combined with the Fuzzing 0 → 10 win from PR #28 and the Signed-Releases 8 → 10 once the next release ships with the in-toto provenance file, ceiling lands around 9.0 (Code-Review and Contributors remain structural blockers).

🤖 Generated with Claude Code

Closes Scorecard PinnedDependenciesID alert #32 — `.clusterfuzzlite/
Dockerfile` had `FROM gcr.io/oss-fuzz-base/base-builder-python` with
no digest, dropping the Pinned-Dependencies score from 10 to 9 once
ClusterFuzzLite landed.

- Pin to sha256:9c97273... (current latest at the time of writing).
- Add a docker ecosystem block to .github/dependabot.yml so the SHA
  refreshes weekly without manual updates.

The companion alert (#33, `pip3 install .` in build.sh) is dismissed
as a false positive — that line installs the local editable package
for the fuzz harnesses to import, and there's no PyPI release to
hash-pin against.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cohenrobinson cohenrobinson merged commit dfc12f0 into main May 10, 2026
11 checks passed
@cohenrobinson cohenrobinson deleted the chore/pin-cflite-base-image branch May 10, 2026 14:20
cohenrobinson added a commit that referenced this pull request May 10, 2026
Cuts a 2.2.1 patch so the in-toto provenance file (#28) and the SHA-pinned OSS-Fuzz base image (#29) ship in a tagged GitHub Release. Both were \`ci:\` commits that release-please skipped.

Scorecard's Signed-Releases check will see the provenance bundle in v2.2.1's release assets and lift from 8/10 → 10/10. No source/behaviour change versus v2.2.0 — wheel and sdist bytes are identical apart from version metadata.

Release-As: 2.2.1
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