Skip to content

Bump esbuild, @actions/core, and undici to fix vulnerabilities - #32

Merged
aneshlya merged 2 commits into
ispc:mainfrom
azwolski:dependabot-fix
Jul 20, 2026
Merged

Bump esbuild, @actions/core, and undici to fix vulnerabilities#32
aneshlya merged 2 commits into
ispc:mainfrom
azwolski:dependabot-fix

Conversation

@azwolski

@azwolski azwolski commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Bumps esbuild (devDependency) 0.27.2 → 0.28.1 — fixes local dev-server path traversal and adds Deno API integrity checks.
  • Bumps @actions/core 2.0.3 → 3.0.1.
  • Pins transitive undici (via @actions/http-client) to 6.27.0, since the @actions/core bump alone left it at 6.24.1 — addresses WebSocket DoS, Set-Cookie header injection, and keep-alive queue poisoning advisories.
  • Regenerates package-lock.json and build/main.cjs.

Closes #28, #29, #30, #31.

Test plan

  • npm audit reports 0 vulnerabilities after the override
  • Verified @actions/core named exports (addPath, setFailed, getInput) still resolve
  • npm run build succeeds, node --check build/main.cjs passes
  • CI run on this PR

🤖 Generated with Claude Code

Upgrades esbuild to 0.28.1 and @actions/core to 3.0.1, and pins
undici (transitive via @actions/http-client) to 6.27.0 via an
override since the core bump alone didn't resolve it past the
vulnerable range. Regenerates package-lock.json and build/main.cjs.

Closes ispc#28, ispc#29, ispc#30, ispc#31.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the action’s Node.js dependency set to address reported vulnerabilities, and regenerates the lockfile and bundled build/main.cjs artifact used at runtime by the GitHub Action.

Changes:

  • Bumped @actions/core to ^3.0.1 and esbuild to ^0.28.1.
  • Added an npm overrides entry to force undici to ^6.27.0, and regenerated package-lock.json.
  • Rebuilt the bundled action entrypoint (build/main.cjs) to reflect the updated dependency tree.

Reviewed changes

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Updates direct deps and adds an overrides rule for undici.
package-lock.json Lockfile regeneration reflecting updated versions and the undici override.
build/main.cjs Regenerated bundled runtime artifact containing updated vendored dependencies.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json Outdated
Per review feedback: a caret range still permits automatic upgrades,
undermining the intent of pinning undici for reproducibility.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 3 changed files in this pull request and generated 1 comment.

Comment thread package.json

@aneshlya aneshlya left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@aneshlya
aneshlya merged commit c8f11c7 into ispc:main Jul 20, 2026
9 of 11 checks passed
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.

3 participants