Skip to content

fix(ci): use the canonical Scorecard wrapper instead of a local copy#703

Merged
hyperpolymath merged 1 commit into
mainfrom
fix/scorecard-canonical-wrapper
Jul 21, 2026
Merged

fix(ci): use the canonical Scorecard wrapper instead of a local copy#703
hyperpolymath merged 1 commit into
mainfrom
fix/scorecard-canonical-wrapper

fix(ci): use the canonical Scorecard wrapper instead of a local copy

c04482e
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Semgrep OSS failed Jul 21, 2026 in 4s

1 new alert including 1 error

New alerts in code changed by this pull request

  • 1 error

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 20 in .github/workflows/scorecard.yml

See this annotation in the file changed.

Code scanning / Semgrep OSS

Semgrep Finding: yaml.github-actions.security.secrets-inherit.secrets-inherit Error

This workflow uses secrets: inherit to pass all of the calling workflow's secrets to a reusable workflow. This violates the principle of least privilege because the called workflow receives access to every secret in the repository, not just the ones it needs. If the called workflow is compromised or sourced from a third party, an attacker gains access to all repository secrets. Instead, explicitly pass only the secrets that the called workflow requires using the secrets: map, e.g. secrets: { MY_SECRET: ${ secrets.MY_SECRET } }.