Repository navigation
security(deps): unstick the fast-uri override off a now-vulnerable pin - #441
Merged
Merged
Conversation
A new high advisory covers fast-uri < 3.1.5, and the override pinned exactly 3.1.4 — so the pin that once fixed this package is now what holds it on a vulnerable version. Repin to 3.1.5. This is the recurring failure mode with every exact-version override here: it is correct on the day it lands and silently goes stale as the advisory widens. The lockfile now resolves a single fast-uri 3.1.5 with no 3.1.4 left. Audited the rest of the block at the same time — esbuild, postcss, ws, vite, js-yaml, sharp, brace-expansion, and @babel/core all resolve at or above their pins with no open advisory against them. Verified: format:check, tsc, lint clean; 381 int tests passing. Co-Authored-By: Claude Opus 5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe package configuration updates the pnpm override for ChangesDependency override update
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Ducksss
added a commit
that referenced
this pull request
Aug 6, 2026
…visories, SEO docs Promotes dev to main. Tree is identical to origin/dev; the two parents record that this supersedes both sides, which clears the squash-divergence conflicts a direct dev->main PR reports. Refreshed to include #441, which repins the fast-uri override off a now-vulnerable exact version. With it, this promote closes every open advisory rather than leaving a known high behind.
Ducksss
added a commit
that referenced
this pull request
Aug 9, 2026
…ble pins (#444) * security(deps): unstick the js-yaml and postcss overrides off vulnerable pins Both pins had gone stale the same way fast-uri did in #441: the override version that was patched when it was written now sits inside the advisory's widened range, so the pin was holding the tree ON a known vulnerable version rather than off one. js-yaml pin 4.3.0 GHSA-5p4m-2wfm-xmqj (high) >= 4.0.0, < 4.3.1 postcss pin 8.5.18 GHSA-fxqj-rqcc-2cmp (medium) <= 8.5.22 Bumps js-yaml to 4.3.1 and postcss to 8.5.23, and widens the js-yaml range key from <4.3.0 to <4.3.1 so the override still covers everything the advisory does. Both surfaced on main the moment #437 promoted, because Dependabot only reports against the default branch. They will not close until this reaches main in turn. Verified: lint, format:check, source:build, tsc --noEmit clean, and 381 int tests passing. Co-Authored-By: Claude Opus 5 <[email protected]> * security(deps): bump the postcss devDependency alongside the override #443 caught something this branch missed. postcss is declared TWICE — as a direct devDependency and as a pnpm override — and the original commit only moved the override. Dependabot raised GHSA-fxqj-rqcc-2cmp against both manifest paths for exactly that reason: one alert on pnpm-lock.yaml (the resolution) and a second on package.json (the declared devDependency range). The override already forced the tree to 8.5.23, so nothing was actually resolving vulnerable — but the declaration was still an exact pin on 8.5.18, and the package.json alert tracks the declaration. Also merges origin/dev, which has moved to 1.3.0 (#442, #447, #448, #449) since this branch was cut. Verified against current dev: lint, format:check, source:build, tsc --noEmit, test:registry all clean, and 505 int tests passing. pnpm install --frozen-lockfile passes, so the lockfile and manifest agree the way CI checks them. Co-Authored-By: Claude Opus 5 <[email protected]> --------- Co-authored-by: Claude Opus 5 <[email protected]>
This branch was successfully deployed
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.
Found while reviewing the promote (#437). A new high advisory covers
fast-uri < 3.1.5, and the override pinned exactly 3.1.4 — so the pin that once fixed this package is now the thing holding it on a vulnerable version. Merging the promote without this would have shipped a known-open high to production.The lockfile now resolves a single
fast-uri 3.1.5, with zero3.1.4left. Churn is 6 lines acrosspackage.json+pnpm-lock.yaml.This keeps happening
Every exact-version override in this block is correct the day it lands and silently goes stale as its advisory widens. It caused the postcss split (#371 fixed on
mainwhiledevstayed vulnerable), and it is the same shape here. So I audited the whole block rather than just this entry:esbuildfast-uripostcssws>=8.0.0 <8.21.0→ 8.21.0vite>=8.0.0 <=8.0.15→ 8.0.16js-yaml<4.3.0→ 4.3.0sharp<0.35.3→ 0.35.3brace-expansion@babel/core<=7.29.0→ 7.29.7Worth noting the range-style pins (
js-yaml@<4.3.0,sharp@<0.35.3) do not have this failure mode — they say "anything below X gets X", so a widening advisory still matches. The bare exact pins (esbuild,fast-uri,postcss) are the ones that go stale. Converting those three to range form would stop this recurring.Verified:
format:check,tsc,lintclean; 381 int tests passing.Summary by CodeRabbit
fast-uripackage version to 3.1.5.