You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add detection rule cicd_rules.scorecard_wrapper_missing_job_permissions to catch scorecard wrappers that use the standards reusable but lack the required job-level permissions block.
Detection
A .github/workflows/scorecard.yml file qualifies when ALL of:
Contains scorecard-reusable.yml (i.e., uses the standards reusable)
Does NOT contain security-events: write in the same file (i.e., missing job-level perms)
The fix shape is documented in standards scorecard-reusable.yml docstring:
Caller MUST grant security-events: write and id-token: write on the calling job. The reusable re-asserts these on its own analysis job, but called-workflow permissions are CAPPED by the caller's permissions block.
Estate baseline 2026-05-30
Running this detection by hand finds 37 affected wrappers across the estate (35 unique top-level + 2 inert nested-monorepo copies). Every scheduled Scorecard run on those repos silently fails with startup_failure because ossf/scorecard-action cannot upload SARIF.
Severity
HIGH — silent CI failure with no logs is exactly the class of bug Hypatia is best positioned to catch automatically.
Prior art
julia-professional-registry#19 (2026-05-27) — first discovery + fix
absolute-zero#68 (2026-05-30, OPEN) — demonstrative fix in second repo
Activity
feat(rules): WF018/WF019/WF020 + SD014 — 4 new CI/CD detection rules (c…
feat(cicd_rules): scorecard_wrapper_missing_job_permissions (#390) (#404
revert(cicd_rules): drop duplicate scorecard rule (#390 already done by
revert(cicd_rules): drop duplicate scorecard rule (#390 dup of #403 W…