Skip to content

[Snyk] Security upgrade uuid from 11.1.0 to 14.0.0#1438

Merged
namastex888 merged 2 commits into
mainfrom
snyk-fix-a8af459b7f000db1102775ffddc57b0d
Apr 28, 2026
Merged

[Snyk] Security upgrade uuid from 11.1.0 to 14.0.0#1438
namastex888 merged 2 commits into
mainfrom
snyk-fix-a8af459b7f000db1102775ffddc57b0d

Conversation

@namastex888
Copy link
Copy Markdown
Contributor

snyk-top-banner

Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.

Snyk changed the following file(s):

  • package.json

Vulnerabilities that will be fixed with an upgrade:

Issue Score
medium severity Improper Validation of Specified Index, Position, or Offset in Input
SNYK-JS-UUID-16133035
  708  

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.

For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic


Learn how to fix vulnerabilities with free interactive lessons:

🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-UUID-16133035
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 28, 2026

Important

Review skipped

Ignore keyword(s) in the title.

⛔ Ignored keywords (3)
  • WIP
  • DO NOT MERGE
  • wip

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a8f62234-c216-417f-8ee9-517933d7cacb

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch snyk-fix-a8af459b7f000db1102775ffddc57b0d

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-UUID-16133035
@namastex888 namastex888 merged commit e8c583d into main Apr 28, 2026
7 checks passed
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request attempts to upgrade the uuid dependency from version 11.1.0 to 14.0.0. Feedback points out that version 14.0.0 is not a known stable release on the public npm registry, which could lead to installation failures or pose a security risk such as a dependency confusion attack. It is recommended to revert this change and maintain the current patched version.

Comment thread package.json
"react-dom": "^19.2.4",
"systeminformation": "^5.31.5",
"uuid": "^11.1.0",
"uuid": "^14.0.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

security-critical critical

The proposed upgrade to uuid@^14.0.0 is highly suspicious and potentially dangerous. The current version ^11.1.0 is already patched against the vulnerability SNYK-JS-UUID-16133035 (which was resolved in version 11.0.0). Furthermore, version 14.0.0 is not a known stable release on the public npm registry, where the latest version is 11.1.0. This change could lead to installation failures or represent a security risk such as a dependency confusion attack. It is recommended to reject this upgrade and maintain the current patched version.

Suggested change
"uuid": "^14.0.0",
"uuid": "^11.1.0",

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: cb4ef33d48

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json
"react-dom": "^19.2.4",
"systeminformation": "^5.31.5",
"uuid": "^11.1.0",
"uuid": "^14.0.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Regenerate lockfile after upgrading uuid

This change only updates package.json, but bun.lock still pins uuid to 11.1.0 (see bun.lock entries at lines 22 and 1047), so the resolved dependency in this repo is not actually upgraded. In environments that rely on the committed lockfile (for reproducible/frozen or offline installs), the security fix will not be applied and dependency state will be inconsistent until the lockfile is regenerated and committed.

Useful? React with 👍 / 👎.

namastex888 added a commit that referenced this pull request Apr 28, 2026
Snyk security upgrade (uuid 11.1.0 → 14.0.0, #1438) and atomic-PID serve fix
(#1430) landed on main while dev was running release prep on PR 1431. Merge
main into dev to clear the package.json conflict on the dev→main release PR.

Resolution:
- Keep dev's pinned dependency style (no `^`) from PR #1429 ("pin every runtime dep")
- Take main's uuid 14.0.0 security upgrade (pinned, no `^`)
- bun.lock regenerated against the new version

uuid usage in dev (`import { v4 as uuidv4 }` in src/lib/team-chat.ts +
src/lib/mailbox.ts) uses the stable v4 API — no migration needed for v14.

Authorized by user (felipe@namastex.io) for direct push to dev to resolve
PR 1431 conflict.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

2 participants