Fix 7 Dependabot security vulnerabilities in website npm dependencies#1601
Merged
Fix 7 Dependabot security vulnerabilities in website npm dependencies#1601
Conversation
Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
- Add yarn resolutions for minimatch (3.1.5) and serialize-javascript (7.0.4) - Add npm overrides for minimatch (3.1.5) and serialize-javascript (7.0.4) - ajv updated to 6.14.0 (^6.x) and 8.18.0 (^8.x) via yarn re-resolution - Fixes: GHSA-2g4f-4pwh-qvx6 (ajv ReDoS), GHSA-3ppc-4f35-3m26, GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74 (minimatch ReDoS), GHSA-5c6j-r48x-rmvq (serialize-javascript RCE) Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix 7 open Dependabot security issues
Fix 7 Dependabot security vulnerabilities in website npm dependencies
Mar 4, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the website/ Node dependency graph to address Dependabot-reported vulnerabilities by pinning patched transitive versions and refreshing the Yarn v1 lockfile.
Changes:
- Add Yarn
resolutionsand npmoverridesinwebsite/package.jsonto pinminimatch@3.1.5andserialize-javascript@7.0.4. - Regenerate
website/yarn.lockto pick up patched transitive versions (includingajv6.14.0 and 8.18.0).
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| website/package.json | Adds dependency pins via Yarn resolutions and npm overrides for vulnerable transitive packages. |
| website/yarn.lock | Lockfile refresh intended to reflect the new pins and updated transitive resolutions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
@copilot I don't think we need to support yarn v1. Can we remove "resolutions" from package.json? |
Per review feedback, the resolutions field is unnecessary since yarn v1 is not used. The npm overrides field handles dependency pinning. Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
Contributor
Author
TalZaccai
approved these changes
Mar 4, 2026
vazois
approved these changes
Mar 4, 2026
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.
Resolves all open Dependabot security alerts targeting transitive dependencies in
website/.Vulnerabilities fixed
Changes
website/package.json: Added npmoverridesto pinminimatch@3.1.5andserialize-javascript@7.0.4website/yarn.lock: Regenerated — ajv bumps (6.14.0, 8.18.0) resolved naturally since these are the latest versions in their respective semver rangesWhy no explicit ajv override
Both 6.14.0 (final 6.x "legacy" tag) and 8.18.0 ("latest" tag) are terminal releases in their lines, so pinning via lockfile is sufficient.
npm auditreports 0 vulnerabilities. Website builds cleanly.🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.