Fix all dependabot security vulnerabilities#225
Merged
Conversation
Co-authored-by: lcollins <528874+lcollins@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix Dependabot alerts in the project
Fix all dependabot security vulnerabilities
Mar 5, 2026
There was a problem hiding this comment.
Pull request overview
This PR resolves 9 npm security vulnerabilities (1 high, 8 moderate) — all ReDoS or resource exhaustion issues — by upgrading several @actions/* and @octokit/* packages to their latest major versions. The changes pull in patched versions of undici, @octokit/plugin-paginate-rest, cross-spawn, ajv, and @babel/* (transitively).
Changes:
- Upgraded
@actions/core,@actions/exec,@actions/github,@actions/glob,@actions/io, and@vercel/nccto new major versions, pulling in security-patched transitive dependencies - Added
skipLibCheck: truetotsconfig.jsonand an explicit type annotation insrc/main.tsto maintain TypeScript compatibility with the new@octokitpackages - Rebuilt
dist/bundle and updateddist/licenses.txtto reflect the dependency changes
Reviewed changes
Copilot reviewed 2 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
package.json |
Bumps @actions/* and @vercel/ncc to new major versions |
package-lock.json |
Resolved dependency tree reflecting all upgrades and transitive security fixes |
tsconfig.json |
Adds skipLibCheck: true for compatibility with new @octokit subpath exports |
src/main.ts |
Adds explicit type annotation on check callback parameter to fix type error post-upgrade |
dist/sourcemap-register.js |
Rebuilt bundle reflecting new dependency tree |
dist/licenses.txt |
Updated license attributions to reflect added/removed dependencies |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
9 npm vulnerabilities (1 high, 8 moderate) across
cross-spawn,undici,@babel/helpers/runtime,ajv, and@octokit/plugin-paginate-rest— all ReDoS or resource exhaustion issues.Dependency upgrades
@actions/github^6.0.0^8.0.1undici@^6.23.0and@octokit/plugin-paginate-rest@^14.0.0@actions/core^1.10.1^2.0.3@actions/http-client@3.x→undici@^6.23.0@actions/exec^1.1.1^2.0.0@actions/core@2.x@actions/glob^0.4.0^0.5.1@actions/core@2.xcompatibility@actions/io^1.1.3^2.0.0@actions/exec@2.x@vercel/ncc^0.38.1^0.38.4cross-spawn,ajv, and@babel/*were fixed transitively vianpm audit fix.Source/config changes
tsconfig.json: AddedskipLibCheck: true— newer@octokitpackages use subpath exports (@octokit/core/types) that aren't resolvable undermoduleResolution: node.src/main.ts: Explicit type annotation on thecheckparameter in thefind()callback, which becameanyafter the octokit upgrade:dist/: Rebuilt bundle.💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.