kleros / vea

Vea bridge
https://vea.ninja
MIT License
10 stars 6 forks source link

[StepSecurity] ci: Harden GitHub Actions #190

Closed step-security-bot closed 1 year ago

step-security-bot commented 1 year ago

Summary

This pull request is created by Secure Repo at the request of @jaybuidl. Please merge the Pull Request to incorporate the requested changes. Please tag @jaybuidl on your message if you have any questions related to the PR. You can also engage with the StepSecurity team by tagging @step-security-bot.

Security Fixes

Least Privileged GitHub Actions Token Permissions

The GITHUB_TOKEN is an automatically generated secret to make authenticated calls to the GitHub API. GitHub recommends setting minimum token permissions for the GITHUB_TOKEN.

GitHub Action tags and Docker tags are mutatble. This poses a security risk. GitHub's Security Hardening guide recommends pinning actions to full length commit.

Harden-Runner is an open-source security agent for the GitHub-hosted runner to prevent software supply chain attacks. It prevents exfiltration of credentials, detects tampering of source code during build, and enables running jobs without sudo access.

Harden runner usage You can find link to view insights and policy recommendation in the build log Please refer to [documentation](https://docs.stepsecurity.io/harden-runner/getting-started#why-monitor-cicd-runtime) to find more details.

Feedback

For bug reports, feature requests, and general feedback; please create an issue in step-security/secure-repo. To create such PRs, please visit https://app.stepsecurity.io/securerepo.

Signed-off-by: StepSecurity Bot bot@stepsecurity.io

netlify[bot] commented 1 year ago

Deploy Preview for veascan ready!

Name Link
Latest commit 6575c2c2b709e2a979dc9c3cbfbbbce6d5a2d75c
Latest deploy log https://app.netlify.com/sites/veascan/deploys/646d0779d708ae00078dd7c7
Deploy Preview https://deploy-preview-190--veascan.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.