Skip to content

chore: force patched fast-uri, svgo, sharp via pnpm overrides - #353

Merged
allxsmith merged 1 commit into
mainfrom
chore/audit-high-advisories
Jul 22, 2026
Merged

allxsmith merged 1 commit into
mainfrom
chore/audit-high-advisories

Conversation

@allxsmith

Copy link
Copy Markdown
Owner

Summary

pnpm audit --audit-level=high went red on main yesterday (first failing run: 4b58739; last green: 189135a) when four high advisories were published against existing transitive deps — this is currently failing every open PR's CI (#347, #352, …). Nothing in the tree changed; the advisories are new.

Fix follows the repo's existing override precedents (serialize-javascript, brace-expansion):

Package Advisory Path in Override
fast-uri 2× high host-confusion incl. GHSA-v2hh-gcrm-f6hx ajv via commitlint / webpack / storybook >=3.1.4 <4
svgo high — removeScripts leaves executable content Docusaurus image tooling >=3.3.4 <4
sharp high — inherited libvips CVEs wrangler > miniflare (CI-only deploy; native build already blocked in allowBuilds) >=0.35.0

fast-uri@3.1.4 was published 2026-07-19, inside the 3-day minimumReleaseAge cooldown, so it's also added to minimumReleaseAgeExclude — the path the file itself documents for urgent patches. The exclusion is safe to drop after 2026-07-22 (noted in the comment).

Verification

  • Local pnpm install re-resolved cleanly (+7/−7 packages), lockfile passes the supply-chain policy check.
  • Local pnpm audit --audit-level=high now exits 0 — remaining findings are 1 low + 3 moderate, below the CI gate.
  • CI on this PR runs the full build/test/docs matrix against the re-resolved tree.

After this merges, the other open PRs need a rebase or a CI re-run to go green.

pnpm audit --audit-level=high went red on main (last green 189135a) when
four high advisories were published against existing transitive deps:

- fast-uri >=3.0.0 <3.1.4 — two host-confusion advisories incl.
  GHSA-v2hh-gcrm-f6hx (via ajv across commitlint/webpack/storybook).
  3.1.4 was published 2026-07-19, inside the 3-day cooldown, so fast-uri
  is also added to minimumReleaseAgeExclude (the documented urgent-patch
  path); the exclusion can be dropped after 2026-07-22.
- svgo >=3.0.0 <3.3.4 — removeScripts leaves executable content (via
  Docusaurus image tooling).
- sharp <0.35.0 — inherited libvips CVEs (via wrangler>miniflare,
  CI-only deploy tooling whose native build is already blocked in
  allowBuilds).

Same mechanism as the serialize-javascript and brace-expansion
precedents. Remaining findings are 1 low + 3 moderate, below the CI
gate.
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@allxsmith, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 47 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: c91d508a-6a78-4d5d-a55a-1349d1e6f21b

📥 Commits

Reviewing files that changed from the base of the PR and between 4b58739 and a744ec5.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml, !pnpm-lock.yaml
📒 Files selected for processing (1)
  • pnpm-workspace.yaml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/audit-high-advisories

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.

@github-actions

Copy link
Copy Markdown
Contributor

Preview Deployment

Preview URL: https://148bf69b.bestax.pages.dev

@allxsmith
allxsmith merged commit 913a1ba into main Jul 22, 2026
13 checks passed
@allxsmith
allxsmith deleted the chore/audit-high-advisories branch July 22, 2026 01:47
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 5.8.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 3.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bestax-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@bestax-release-bot

Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant