Repository navigation
Fix: Allow api.deps.dev egress in Scorecard scan - #749
Merged
ModeSevenIndustrialSolutions merged 1 commit intoJun 30, 2026
Merged
ModeSevenIndustrialSolutions merged 1 commit into
ModeSevenIndustrialSolutions merged 1 commit into
Conversation
The OpenSSF Scorecard scan job runs harden-runner in block mode with a curated egress allow-list scoped to the endpoints the action needs. A manual workflow run showed an outbound call to api.deps.dev:443 being blocked. ossf/scorecard-action queries deps.dev (Open Source Insights) as a data source for its dependency-related checks (Pinned-Dependencies, license and dependency analysis). The connection appears under the Scan job summary attributed to an Unknown process because harden-runner cannot attribute the short-lived connection to a named process; it fires in the same window as the other scorecard-action calls. The block did not fail publishing (api.scorecard.dev was allowed) but silently degraded the dependency checks. Add api.deps.dev:443 to the curated allow-list so those checks score accurately. Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
There was a problem hiding this comment.
Pull request overview
Updates the reusable OpenSSF Scorecard workflow to allow Scorecard’s Scan job to reach deps.dev while running under a hardened runner with a curated egress allow-list, preventing dependency-related checks from being silently degraded.
Changes:
- Add
api.deps.dev:443to the Scorecard Scan job’sstep-security/harden-runnerallowed-endpointscurated allow-list.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
tykeal
approved these changes
Jun 30, 2026
This was referenced Jul 1, 2026
Merged
Merged
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.
Purpose
Add
api.deps.dev:443to the curated harden-runner egress allow-list inthe OpenSSF Scorecard Scan job so the action's dependency-related
checks are no longer silently blocked.
Background
A manual run of the Scorecard workflow on
lfreleng-actions/zizmor-scan-action(run 28449347102)
showed an outbound call being blocked under the Scan summary:
ossf/scorecard-actionqueries deps.dev (Google Open Source Insights)as a data source for its dependency-related checks (Pinned-Dependencies,
license and dependency analysis). The call shows process
Unknownbecause harden-runner cannot attribute the short-lived connection to a
named process, but it fires in the same window as the other
scorecard-actioncalls and belongs to the Scan job.The Scan job deliberately uses an explicit, curated allow-list (it
cannot use the org-wide
harden-runner-block-actionloader — that stepis rejected by Scorecard's publish API), so the fix belongs here rather
than in the central
allow_list.txt.Change
api.github.com:443 github.com:443 *.githubusercontent.com:443 + api.deps.dev:443 api.osv.dev:443 api.scorecard.dev:443Impact
The block did not fail publishing (
api.scorecard.devwas allowed, sothe run went green), but it silently degraded the dependency checks.
Allowing
api.deps.devrestores accurate scoring for those checks.Validation
prek run --all-filesequivalent on the changed file — all hooks pass.api.deps.dev:443to the centrallfreleng-actions/.githuballow_list.txtfor consistency (it wasmissing there too), though that list is not consumed by this Scan job.
zizmor-scan-actionand confirmapi.deps.devshows ✅ Allowedbefore the wider rollout.