Upgrade @actions/core and @actions/github to resolve CodeQL SHA-1 alert#32
Merged
ahernandez411 merged 2 commits intodependabot/npm_and_yarn/multi-939339bafafrom Mar 4, 2026
Merged
Conversation
…A-1 vulnerability Co-authored-by: ahernandez411 <11199284+ahernandez411@users.noreply.github.com>
|
The action's Contributing Guidelines have been met:
|
Copilot
AI
changed the title
[WIP] Bump @octokit/request-error and @actions/github
Upgrade @actions/core and @actions/github to resolve CodeQL SHA-1 alert
Mar 4, 2026
ahernandez411
approved these changes
Mar 4, 2026
1276cb6
into
dependabot/npm_and_yarn/multi-939339bafa
3 checks passed
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.
CodeQL flagged SHA-1 usage in
dist/index.js:16630fromundici@5.28.5, a transitive dependency through@actions/http-client@2.2.3.Changes
^1.10.0→^2.0.3^6.0.0→^8.0.1undici@6.23.0(previously split between 5.28.5 and newer versions)Context
The flagged SHA-1 usage is in WebSocket handshake validation per RFC 6455. The
uidconstant is the protocol-mandated GUID258EAFA5-E914-47DA-95CA-C5AB0DC85B11, not sensitive user data. This is a CodeQL false positive, but upgrading to undici 6.x brings latest security patches and may improve static analysis interpretation.Version 2.0.3 is the latest @actions/core supporting CommonJS (3.x+ requires ESM). Version 8.0.1 is the latest @actions/github supporting CommonJS (9.x+ requires ESM).
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.