Skip to content

feat: Add security-gates and update README - #1310

Closed
emrecanvurallll wants to merge 2 commits into
mainfrom
add-security-gates-latest
Closed

emrecanvurallll wants to merge 2 commits into
mainfrom
add-security-gates-latest

Add security-gates workflow and update README

1436547
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Semgrep OSS failed Aug 10, 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 24 in .github/workflows/security-gates.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 } }.