Skip to content
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

fix: replace the version by hash value and add permissions #3223

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

Conversation

Fix3dP0int
Copy link

Summary

This PR fixes the token permissions and unpinned dependency according OpenSSF scorecard. The versions v1 to v3 of the action upload-artifact is depecated, which had been replaced in my PR. And scorecard reports many vulnerabilities such as GHSA-67hx-6x53-jw92. Does this project still be maintained? If so, please let me know and I would appreciately help fix these vulnerabilities.

I'd like to suggest some improvements based on the OpenSSF Scorecard best practices:

Branch Protection & Code Review: Enabling branch protection rules and code reviews can minimize the risk of introducing vulnerabilities. Refer to your repository settings for configuration options.
Static Application Security Testing (SAST): Implementing SAST tools can help detect vulnerabilities early in the development lifecycle.
Dependency Update Tool: Utilizing a dependency update tool ensures your project uses the latest secure library versions.
Security Policy: Defining a comprehensive security policy (SECURITY.md) with vulnerability reporting guidelines, coding standards, and response procedures is recommended.
For more information on specific checks, see the OpenSSF Scorecard documentation: Link to Documentation

Explain the motivation for making this change. What existing problem does the pull request solve?

Test plan (required)

It's just a fix in workflow and some suggestions for security.

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