Repository navigation
ci: Try warden - #317
Closed
lcian wants to merge 2 commits into
Closed
ci: Try warden#317lcian wants to merge 2 commits into
lcian wants to merge 2 commits into
Conversation
Comment on lines
+21
to
+23
| - uses: actions/checkout@v4 | ||
| - uses: getsentry/warden@v0 | ||
| with: |
There was a problem hiding this comment.
🟠 [EZE-BEU] GitHub Actions not pinned to commit hashes (medium confidence)
Actions use version tags (@v4, @v0) instead of commit hashes. Version tags can be moved to point to different commits, potentially allowing supply chain attacks if the action repository is compromised.
Suggested fix: Pin actions to specific commit hashes for better supply chain security. Look up the current commit for each version tag and use that hash.
Suggested change
| - uses: actions/checkout@v4 | |
| - uses: getsentry/warden@v0 | |
| with: | |
| - uses: actions/checkout@<COMMIT_HASH> # v4 | |
| - uses: getsentry/warden@<COMMIT_HASH> # v0 |
Identified by Warden via security-review · medium, medium confidence
- Switch from default GITHUB_TOKEN to dedicated GitHub App token - Narrow permissions to contents: read - Add find-bugs, security-review, code-review, and code-simplifier skills - Remove WARDEN_SENTRY_DSN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.