Skip to content

fix(deps): override nanoid to 3.3.18 to fix infinite loop DoS - #34

Merged
Dariia merged 1 commit into
mainfrom
fix/nanoid-3.3.18
Aug 25, 2026
Merged

fix(deps): override nanoid to 3.3.18 to fix infinite loop DoS#34
Dariia merged 1 commit into
mainfrom
fix/nanoid-3.3.18

Conversation

@Dariia

@Dariia Dariia commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump the nanoid npm override from 3.3.17 to 3.3.18 so the patched release is used.
  • Fixes the Dependabot alert: custom generators can loop indefinitely when size is 0 (#112).

Test plan

  • Confirm npm ls nanoid resolves to 3.3.18
  • Confirm Dependabot alert #112 is dismissed after merge
  • npm test passes

3.3.17 is still vulnerable; bump the override so custom generators cannot hang when size is 0.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Dariia
Dariia requested a review from a team as a code owner August 25, 2026 09:02
@Dariia
Dariia merged commit c9093f2 into main Aug 25, 2026
1 check passed
@Dariia
Dariia deleted the fix/nanoid-3.3.18 branch August 25, 2026 10:58
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