Repository navigation
Harden workflows for OpenSSF Scorecard - #1159
Merged
Merged
Conversation
Pin every action to a commit SHA, default workflow tokens to read-only with write scopes on the jobs that need them, and replace the piped quill installer with a checksum-verified download. Run Scorecard on a GitHub-hosted runner so results publish again, add a security policy, and add a fuzz test for the microVM IP allocator. Claude-Session: https://claude.ai/code/session_01FM1Tvz8jDNmhot3etAateY
cdalar
enabled auto-merge (squash)
October 4, 2026 16:27
Codecov Reportβ
All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1159 +/- ##
==========================================
+ Coverage 36.89% 36.93% +0.03%
==========================================
Files 51 51
Lines 5656 5656
==========================================
+ Hits 2087 2089 +2
+ Misses 3569 3567 -2 β View full report in Codecov by Harness. π New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The published Scorecard result is 5.7 and has not refreshed since 2026-07-08. This PR lands the changes that need no settings, tokens or second reviewer.
Changes
scorecard.ymlmoves fromonctl-4toubuntu-latest. Publishing is only accepted from GitHub-hosted runners, which is the likely reason the badge went stale.permissionsblock. Write scopes moved to the jobs that need them: thegoreleaserjobs keepcontents/packages: write, and inedge.ymlonlypublishkeepscontents: write.govulncheckis pinned to the v1.8.0 commit instead of@latest.curl | shquill installer in both goreleaser workflows is replaced by a download of quill 0.7.1 verified against its SHA-256.dockerentry to keep it fresh.SECURITY.md.FuzzAllocateFCIPinpkg/cloud/fc_test.go.Verification
go test ./pkg/cloudpasses; the fuzz target ran 30s (324k execs) with no failures.quill versionreports 0.7.1.actionlintreports nothing new (only the existingonctl-4label and SC2174 warnings).Not verified / needs a decision
goreleaser (self-hosted test)from this branch against an existing tag would confirm the quill and permission changes before the next real release.SECURITY.mdpoints at GitHub private vulnerability reporting, which is currently disabled on this repo. Enable it under Settings β Security before merging, or swap the link for another contact.govulncheckandsnyk/actions(pinned to amastercommit, it has no release tags) will not be bumped by Dependabot; they need a manual bump now and then.π€ Generated with Claude Code
https://claude.ai/code/session_01FM1Tvz8jDNmhot3etAateY