Skip to content

Improve workflow security#61

Open
busma13 wants to merge 4 commits into
mainfrom
improve-security
Open

Improve workflow security#61
busma13 wants to merge 4 commits into
mainfrom
improve-security

Conversation

@busma13
Copy link
Copy Markdown
Contributor

@busma13 busma13 commented May 28, 2026

Ref: terascope/teraslice#4461

  • Always pin all action and reusable workflow versions with a commit hash and check for impostor commits
  • Always set permissions at the workflow level to disable all permissions by default. Then, grant only the specific permissions needed at the job level.
  • sanitize user input - check for env variables that could be controller by user
  • eliminate all static credentials from your workflows
  • Eliminate secrets: inherit while reusing workflows
  • Mask all sensitive information that is not a GitHub secret by using ::add-mask::{value}
  • actions/checkout should be used with persist-credentials: false

@busma13 busma13 self-assigned this May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant