Skip to content

chore: override nanoid@3 to fix Dependabot alert - #471

Merged
dferber90 merged 1 commit into
mainfrom
chore/nanoid-security-override
Aug 12, 2026
Merged

chore: override nanoid@3 to fix Dependabot alert#471
dferber90 merged 1 commit into
mainfrom
chore/nanoid-security-override

Conversation

@dferber90

Copy link
Copy Markdown
Collaborator

Resolves the open high-severity Dependabot alert for nanoid (#981).

hypertune and @vercel/microfrontends resolved to nanoid@3.3.16, which is vulnerable to an infinite loop when a custom generator is called with size zero (patched in 3.3.17). The existing nanoid@>=4 override didn't cover the v3 range, so this adds a matching nanoid@3: ^3.3.18 override. The lockfile now resolves only 3.3.18 and 5.1.16.

Not addressed here: the two image-size alerts (#979, #980). The latest published version is 2.0.2, which is itself in the vulnerable range — there is no patched release yet. It is a transitive dependency of fumadocs-core in apps/docs only, so it is build-time docs tooling and is not shipped in any published packages/* SDK.

🤖 Generated with Claude Code

`hypertune` and `@vercel/microfrontends` resolved to nanoid 3.3.16, which
is vulnerable to an infinite loop when a custom generator is called with
size zero. The existing `nanoid@>=4` override did not cover the v3 range,
so add a matching `nanoid@3: ^3.3.18` override.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flags-playground Ready Ready Preview Aug 12, 2026 8:12am
flags-sdk-dev Ready Ready Preview Aug 12, 2026 8:12am
flags-sdk-snippets Ready Ready Preview Aug 12, 2026 8:12am
flags-sdk-sveltekit-snippets Ready Ready Preview Aug 12, 2026 8:12am
shirt-shop Ready Ready Preview Aug 12, 2026 8:12am
shirt-shop-api Ready Ready Preview Aug 12, 2026 8:12am

@vincent-derks vincent-derks left a comment

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.

Stamp

@dferber90
dferber90 merged commit b64b6bc into main Aug 12, 2026
22 checks passed
@dferber90
dferber90 deleted the chore/nanoid-security-override branch August 12, 2026 08:22
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