Skip to content

Upgrade @actions/core and @actions/github to resolve CodeQL SHA-1 alert#32

Merged
ahernandez411 merged 2 commits intodependabot/npm_and_yarn/multi-939339bafafrom
copilot/sub-pr-27
Mar 4, 2026
Merged

Upgrade @actions/core and @actions/github to resolve CodeQL SHA-1 alert#32
ahernandez411 merged 2 commits intodependabot/npm_and_yarn/multi-939339bafafrom
copilot/sub-pr-27

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

CodeQL flagged SHA-1 usage in dist/index.js:16630 from undici@5.28.5, a transitive dependency through @actions/http-client@2.2.3.

Changes

  • @actions/core: ^1.10.0^2.0.3
  • @actions/github: ^6.0.0^8.0.1
  • Both now resolve to undici@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 uid constant is the protocol-mandated GUID 258EAFA5-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.

…A-1 vulnerability

Co-authored-by: ahernandez411 <11199284+ahernandez411@users.noreply.github.com>
@github-actions
Copy link

github-actions bot commented Mar 4, 2026

The action's Contributing Guidelines have been met:

  • The action's version in the Usage Examples section of README.md has been updated to @v3.2.1
  • The action has been recompiled (if needed) by running the build command from the root of the repository

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 ahernandez411 marked this pull request as ready for review March 4, 2026 22:41
@ahernandez411 ahernandez411 requested a review from a team as a code owner March 4, 2026 22:41
@ahernandez411 ahernandez411 merged commit 1276cb6 into dependabot/npm_and_yarn/multi-939339bafa Mar 4, 2026
3 checks passed
@ahernandez411 ahernandez411 deleted the copilot/sub-pr-27 branch March 4, 2026 22:41
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.

2 participants