Skip to content

security(deps): unstick the fast-uri override off a now-vulnerable pin - #441

Merged
Ducksss merged 1 commit into
devfrom
claude/fast-uri-3-1-5
Aug 6, 2026
Merged

Ducksss merged 1 commit into
devfrom
claude/fast-uri-3-1-5

Conversation

@Ducksss

@Ducksss Ducksss commented Aug 6, 2026 •

Copy link
Copy Markdown
Owner

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.

-      "fast-uri": "3.1.4",
+      "fast-uri": "3.1.5",

The lockfile now resolves a single fast-uri 3.1.5, with zero 3.1.4 left. Churn is 6 lines across package.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 main while dev stayed vulnerable), and it is the same shape here. So I audited the whole block rather than just this entry:

Override Pin Resolved Status
esbuild 0.28.1 0.28.1 clean
fast-uri 3.1.4 → 3.1.5 3.1.5 fixed here
postcss 8.5.18 8.5.18 clean
ws >=8.0.0 <8.21.0 → 8.21.0 8.21.0 clean
vite >=8.0.0 <=8.0.15 → 8.0.16 8.2.0 clean
js-yaml <4.3.0 → 4.3.0 4.3.0 clean
sharp <0.35.3 → 0.35.3 0.35.3 clean
brace-expansion 1.x → 1.1.17, 5.x → 5.0.8 1.1.17 / 5.0.8 / 5.0.9 clean
@babel/core <=7.29.0 → 7.29.7 — clean

Worth 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, lint clean; 381 int tests passing.

Summary by CodeRabbit

  • Chores
    • Updated the bundled fast-uri package version to 3.1.5.

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]>
Copilot AI lite review requested due to automatic review settings August 6, 2026 16:52
@vercel

vercel Bot commented Aug 6, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview Aug 6, 2026 4:56pm
payload-components-97bf Ready Ready Preview Aug 6, 2026 4:56pm

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Aug 6, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: f8431703-f50f-4209-982e-10ca015ff5a4

📥 Commits

Reviewing files that changed from the base of the PR and between 0ff2c62 and b9bd8cb.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (1)
  • package.json

📝 Walkthrough

Walkthrough

The package configuration updates the pnpm override for fast-uri from 3.1.4 to 3.1.5.

Changes

Dependency override update

Layer / File(s) Summary
Update fast-uri override
package.json
The pnpm override now resolves fast-uri to version 3.1.5.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Suggested reviewers: copilot

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the dependency update and testing, but it omits the required Summary, Verification, Registry Checklist, and Notes sections. Use the repository template headings, include the pnpm test:release checkbox, and complete or mark each required checklist section.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the security dependency change and the vulnerable fast-uri pin.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/fast-uri-3-1-5

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.

@Ducksss
Ducksss merged commit b8b1209 into dev Aug 6, 2026
6 of 12 checks passed
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
Ducksss deleted the claude/fast-uri-3-1-5 branch August 9, 2026 11:51
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

2 active deployments
Preview – payload-components — b9bd8cb0 Deployed Aug 6, 2026 by vercel[bot]
Preview – payload-components-97bf — b9bd8cb0 Deployed Aug 6, 2026 by vercel[bot]
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