Skip to content

Security: upgrade dependencies to resolve high-severity vulnerabilities#21

Merged
512Andrew merged 2 commits intomainfrom
copilot/implement-security-updates
Mar 20, 2026
Merged

Security: upgrade dependencies to resolve high-severity vulnerabilities#21
512Andrew merged 2 commits intomainfrom
copilot/implement-security-updates

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 20, 2026

Implements all security and maintenance dependency upgrades recommended by open Snyk/Dependabot PRs (#14#20). The most critical are two high-severity DoS vulnerabilities in next (SNYK-JS-NEXT-15104645, SNYK-JS-NEXT-15105315).

Dependency upgrades

Package From To Severity
next 16.0.10 16.1.5 🔴 HIGH — Allocation of Resources Without Limits or Throttling
react 19.2.0 19.2.1 maintenance
react-dom 19.2.0 19.2.1 maintenance
three 0.181.2 0.182.0 maintenance
@react-three/fiber 9.4.0 9.4.2 maintenance

Transitive vulnerabilities

npm audit fix resolved 3 additional transitive vulnerabilities in ajv (ReDoS), flatted (DoS + prototype pollution), and minimatch (ReDoS). Final audit: 0 vulnerabilities.


💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 20, 2026

Deploy Preview for melodious-squirrel-f66679 failed. Why did it fail? →

Name Link
🔨 Latest commit ee85589
🔍 Latest deploy log https://app.netlify.com/projects/melodious-squirrel-f66679/deploys/69bce77035ecb30008936b33

Co-authored-by: 512Andrew <203588790+512Andrew@users.noreply.github.com>
Copilot AI changed the title [WIP] Update open PRs to comply with security advice Security: upgrade dependencies to resolve high-severity vulnerabilities Mar 20, 2026
Copilot AI requested a review from 512Andrew March 20, 2026 06:22
@512Andrew 512Andrew marked this pull request as ready for review March 20, 2026 08:12
Copilot AI review requested due to automatic review settings March 20, 2026 08:12
@512Andrew 512Andrew merged commit ada7b6c into main Mar 20, 2026
3 of 7 checks passed
@512Andrew 512Andrew deleted the copilot/implement-security-updates branch March 20, 2026 08:13
@512Andrew
Copy link
Copy Markdown
Owner

Thank you for handling that for me. I have had to back burner this project for a while and it needed a polish.

Copy link
Copy Markdown

Copilot AI left a comment

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 upgrades core frontend dependencies (notably Next.js) to address reported high-severity security vulnerabilities and updates the lockfile to reflect the new resolved dependency graph.

Changes:

  • Bump runtime dependencies: next, react, react-dom, three, @react-three/fiber.
  • Update package-lock.json with new resolved versions, including transitive dependency updates from npm audit fix.

Reviewed changes

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

File Description
package.json Updates direct dependency version ranges/pins for security + maintenance upgrades.
package-lock.json Updates resolved dependency tree, including Next.js/SWC artifacts and audited transitive packages.

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

"react-dom": "19.2.0",
"three": "^0.181.2"
"@react-three/fiber": "^9.4.2",
"next": "^16.1.5",
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

Using caret ranges here allows npm install to resolve newer minor versions than the ones listed in the PR (e.g., ^16.1.5 can pull 16.2.x, which in this lockfile also changes the Node engine requirement). If you want this PR to be a controlled security bump, consider pinning to the exact versions (or ~ ranges) so installs remain reproducible across environments.

Suggested change
"next": "^16.1.5",
"next": "16.1.5",

Copilot uses AI. Check for mistakes.
@512Andrew
Copy link
Copy Markdown
Owner

@copilot apply changes based on the comments in this thread
Please and thank you!!

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