feat(supply-chain-audit): add OpenSSF Scorecard collect, analyze, and workflow - #519
Merged
Conversation
… workflow Wire Scorecard into the supply-chain audit (API + CLI fallback excluding Vulnerabilities), surface scores in the HTML report, and dogfood scorecard.yml on team-devtools.
Replace static "... and N more" text with a button that expands remaining Anomaly Details items; keep all findings visible in PDF.
shatakshiiii
approved these changes
Jul 21, 2026
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.
Summary
.github/workflows/scorecard.yml(push tomain, weekly schedule, publish + SARIF upload), adapted from redhat-developer/abbenay#57.Changes
collect.py: Scorecard workflow discovery; OpenSSF API fetch; auto-bootstrap pinned CLI (v5.5.0) into.supply-chain-audit/bin/; CLI runs the full suite exceptVulnerabilities(slow OSV walk — dependency CVEs remain covered by the existing OSV.dev pass); prefer managed binary over PATH; re-probe API for CLI-only cache entries without wiping the CLI snapshot;--skip-scorecard-cli/--refresh-scorecard.analyze.py: 14th detection pass for Scorecard gaps; aggregate risk thresholds apply to API scores only (CLI aggregates are not comparable).report.py+ dashboard template: Scorecard section/table; shared thresholds viaaudit_models.py.cache_utils.py: Scorecard cache read/write helpers.SKILL.mdanddetection-patterns.mdupdated for Scorecard behavior (missing workflows are table-only, not findings).Quality of life
Vulnerabilitiesexclusion.Test plan
tox -e lintpassestox -e pypassesSKILL.md,detection-patterns.md)mainand publishes to OpenSSF / code scanning/td-supply-chain-auditon a short window and verify Scorecard table + findingsMade with Cursor