-
Notifications
You must be signed in to change notification settings - Fork 0
ci: bump github/codeql-action from 3 to 4 in the actions group #45
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
base: linux
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ jobs: | |
|
|
||
| # Initializes the CodeQL tools for scanning. | ||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v3 | ||
| uses: github/codeql-action/init@v4 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: Floating semver tags used instead of pinned SHA digests All four action references ( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: Security-critical actions pinned to mutable floating tags instead of immutable commit SHAs All three steps use floating major-version tags ( |
||
| with: | ||
| config-file: ./.github/codeql/codeql-config.yml | ||
|
|
||
|
|
@@ -32,7 +32,7 @@ jobs: | |
| # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
| # If this step fails, then you should remove it and run the build manually (see below). | ||
| - name: Autobuild | ||
| uses: github/codeql-action/autobuild@v3 | ||
| uses: github/codeql-action/autobuild@v4 | ||
|
|
||
| # ℹ️ Command-line programs to run using the OS shell. | ||
| # 📚 https://git.io/JvXDl | ||
|
|
@@ -46,4 +46,4 @@ jobs: | |
| # make release | ||
|
|
||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@v3 | ||
| uses: github/codeql-action/analyze@v4 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pre-existing: CodeQL actions pinned to a mutable tag (
@v4) rather than an immutable SHALines 25, 35, and 49 all reference
github/codeql-action/{init,autobuild,analyze}@v4, a mutable tag. A supply-chain attacker who force-pushes thev4tag to a malicious commit would silently replace this security scanner with arbitrary code running withsecurity-events: writeaccess — the exact permission needed to tamper with SARIF results. SHA pinning (e.g.@<full-sha>) is the standard mitigation. The v3 references also used a mutable tag, so this pattern predates the diff.