Fix Dependabot npm security alerts: minimatch ReDoS, serialize-javascript RCE, cookie, webpack SSRF#230
Open
Fix Dependabot npm security alerts: minimatch ReDoS, serialize-javascript RCE, cookie, webpack SSRF#230
Conversation
…avascript RCE, cookie out-of-bounds, webpack SSRF Co-authored-by: mimiflynn <414934+mimiflynn@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix security issues on the security page
Fix Dependabot npm security alerts: minimatch ReDoS, serialize-javascript RCE, cookie, webpack SSRF
Mar 5, 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.
Addresses multiple open Dependabot security alerts in transitive npm dependencies by adding targeted
overridesinpackage.jsonand regeneratingpackage-lock.json. Reduces vulnerability count from 38 → 15.Fixed
minimatch(3.x)minimatch(9.x, via jest/glob@10)minimatch(10.x, via rimraf/glob@13)serialize-javascriptcookiewebpackOverrides strategy
Minimatch spans three incompatible major versions across the dependency tree. A flat override would break packages like
test-excludethat callminimatch()as a function (API removed in v9+). The fix uses version-scoped glob overrides to target only the affected subtrees:Remaining (15 alerts — cannot fix without breaking gatsby)
@parcel/reporter-dev-server@2.8.3— exact-pinned bygatsby-parcel-configimmutable@3.7.6— required as~3.7.6by@ardatan/relay-compilertmp@0.0.33(inexternal-editor) — required as^0.0.33, incompatible with patched 0.2.x APIWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/morganstanley/makerspace/dependabot/alerts/usr/bin/gh gh api /repos/morganstanley/makerspace/dependabot/alerts --jq .[] | {number: .number, state: .state, severity: .security_advisory.severity, package: .dependency.package.name, ecosystem: .dependency.package.ecosystem, summary: .security_advisory.summary, fix_available: .auto_dismissed_at, fixed_in: (.security_vulnera(http block)/usr/bin/gh gh api /repos/morganstanley/makerspace/dependabot/alerts(http block)If you need me to access, download, or install something from one of these locations, you can either:
🔒 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.