Open
Conversation
Upgrade @actions/core 1.x → 2.x, @actions/exec 1.x → 2.x, @actions/github 6.x → 9.x, @actions/glob 0.5.x → 0.6.x, and @actions/tool-cache 2.x → 3.x across all sub-packages. These upgrades pull in @actions/http-client 3.x which uses undici ^6.23.0 (resolving to 6.24.1), replacing the vulnerable undici 5.29.0. One code change required: derive WebhookPayload type from actionsGithub.context instead of importing from internal path that @actions/github@9 no longer exports. Resolves alerts: #80-95 (undici) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
Coverage Impact This PR will not change total coverage. 🚦 See full report on Qlty Cloud »🛟 Help
|
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
# Conflicts: # coverage/dist/index.js # package-lock.json
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Summary
Fix undici vulnerabilities (GHSA-v9p9-hfj2-hcw8, GHSA-vrm6-8vpv-qv8q, GHSA-4992-7rv2-5pvq, GHSA-2mjp-6q6p-2qxm) by upgrading
@actions/*packages to versions that useundici@^6.23.0.Dependency upgrades
Code change
coverage/src/action.ts: DeriveWebhookPayloadtype fromactionsGithub.context.payloadinstead of importing from@actions/github/lib/interfaces(path no longer exported in v9)Vulnerability details
Reachability: None of these vulnerabilities are directly reachable — undici is a transitive dependency and the vulnerable APIs (WebSocket, HTTP upgrade) are not used by the GitHub Actions runtime.
Alerts resolved
#80, #81, #82, #83, #84, #85, #86, #87, #88, #89, #90, #91, #92, #93, #94, #95
Risk assessment
@actions/corepublic API (getInput, setOutput, setFailed, info, warning, error, addPath, setSecret, getBooleanInput, getIDToken) is unchanged across v1 → v2@actions/execAPI (exec function) is unchanged across v1 → v2@actions/githubusage is limited tocontext.payloadwhich is stable@actions/tool-cacheAPI (downloadTool, extractZip, extractTar, cacheDir) is unchanged across v2 → v3@actions/globAPI is unchanged across v0.5 → v0.6Test plan
🤖 Generated with Claude Code