8000 pin dependencies and restrict permissions in workflows by Fix3dP0int · Pull Request #1821 · guanzhi/GmSSL · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

pin dependencies and restrict permissions in workflows #1821

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Fix3dP0int
Copy link

Hi. Here are some fixes/changes in workflows. Lack of explicit permission settings may allow a malicious PR to inject malicious code through write permissions in actions. Adding read-only permissions at the top level will help you avoid forgetting permission configurations when adding other jobs next time. I‘d like to say that it won't add any extra burden and will make things easier for you.

Additionally, I pin the dependencies to specific commit hashes. It considers the vulnerability in tj-actions/changed-files#2464 (CVE-2025-30066). But some developers think that it's burden. It's up to you — I can remove them if you prefer. Dependabot can help you avoid manually updating the hash values.

Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
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.

2 participants
0