chore: resolve Dependabot security alerts - 2026-08-07 - #875
Merged
Conversation
Bump transitive nanoid 3.3.16 -> 3.3.18 (postcss 8.5.20 -> 8.5.25) to resolve GHSA-2v37-7h3g-55p8 (infinite-loop DoS, high). Stays within the 3.x CJS line via `npm update nanoid`; lockfile-only change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> 🤖 Generated with Claude Code
The existing override pinned brace-expansion to 5.0.8, which is inside the vulnerable range (>=4.0.0 <5.0.9) for GHSA-rgw5-rvv9-x895. Bumping to 5.0.9 clears both the brace-expansion HIGH advisory and the minimatch HIGH advisory (vulnerable only via brace-expansion). npm audit now reports 0 vulnerabilities. 5.0.9 keeps a CJS require export, so minimatch@3.1.5's require continues to work. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Summary
3.3.16→3.3.18(viapostcss8.5.20→8.5.25, undervite/vitest) to resolve GHSA-2v37-7h3g-55p8 — "custom generators can loop indefinitely when size is zero" (infinite-loop DoS, high). Vulnerable<3.3.17, patched3.3.17; landed on3.3.18within the 3.x CJS line.npm update nanoid— lockfile-only change, nopackage.jsonedits and no override needed.Audit delta
nanoid(high).brace-expansion(high),minimatch(high).Coordinated PRs
chore(deps-dev): Bump @types/node from 24.12.0 to 26.1.2) is open but unrelated to nanoid; left untouched.Verification
npm run check(biome) — passed, no fixes appliednpm run typecheck(tsc --noEmit) — passednpm run build(tsc) — passednpm test(vitest run --coverage) — 14 passed / 3 filespre-commit(lint-staged + vitest run) — passed on commitnpm audit: nanoid advisory no longer present after fixCo-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
🤖 Generated with Claude Code