Skip to content

fix: resolve dependabot security alerts for @octokit packages#12

Closed
PrashantRaj18198 wants to merge 2 commits into
mainfrom
fix/dependabot-20251013
Closed

fix: resolve dependabot security alerts for @octokit packages#12
PrashantRaj18198 wants to merge 2 commits into
mainfrom
fix/dependabot-20251013

Conversation

@PrashantRaj18198
Copy link
Copy Markdown

@PrashantRaj18198 PrashantRaj18198 commented Oct 13, 2025

This PR resolves 3 moderate severity dependabot security alerts related to ReDoS vulnerabilities in @octokit packages:

Fixed Vulnerabilities

Changes

  • Added yarn resolutions in package.json to force patched versions
  • Updated yarn.lock to remove vulnerable transitive dependencies
  • Rebuilt dist files with updated dependencies

All three ReDoS vulnerabilities are now resolved. The alerts will be automatically closed by GitHub once this PR is merged.

Tests

https://github.com/WarpBuilds/build-push-action/actions/runs/18462380323/job/52596592169

- Add yarn resolutions to force patched versions of vulnerable packages
- @octokit/request-error: upgraded to ^5.1.1 (fixes CVE-2025-25289)
- @octokit/plugin-paginate-rest: upgraded to ^9.2.2 (fixes CVE-2025-25288)
- @octokit/request: upgraded to ^8.4.1 (fixes CVE-2025-25290)
- Rebuild dist files with updated dependencies

All three ReDoS vulnerabilities are now resolved.
- Added @octokit/core: ^5.2.2 to resolutions to ensure compatibility
- This fixes the 'Cannot find module is-plain-object' error
- All @octokit packages now use compatible versions
- Reduced bundle size from 2838kB to 2497kB
@PrashantRaj18198
Copy link
Copy Markdown
Author

Closing since only syncs are required on forked repos.

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.

1 participant