Hard-gate bun audit in CI; pin patched postcss + mdast-util-to-hast#59
Merged
lwwmanning merged 1 commit intomainfrom May 4, 2026
Merged
Hard-gate bun audit in CI; pin patched postcss + mdast-util-to-hast#59lwwmanning merged 1 commit intomainfrom
lwwmanning merged 1 commit intomainfrom
Conversation
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> Signed-off-by: Will Manning <will@willmanning.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Adds a hard
bun auditgate to CI plus adependency-review-actionPR-only job, and resolves the two transitive advisories that have a published fix:Triage (3 advisories at branch time):
postcss <8.5.10, XSS in CSS stringify)8.5.10mdast-util-to-hast <13.2.1, XSS via class attr)^13.2.1uuid <14.0.0, buffer bounds in v3/v5/v6 withbuf)next@16.2.4pins8.4.31;@tailwindcss/postcss@4.2.3pulls^8.5.6).overrides.postcss = "8.5.10"dedupes to the patched version.^13.0.0.overrides.mdast-util-to-hast = "^13.2.1"lifts every resolution to the patched version.resend@6.12.2 → svix@1.90.0 → uuid@^10.0.0. svix's stated range^10.0.0doesn't admit a 14.x override without risking parent CJS imports. Vortex's exposure is theoretical (the/api/subscribeendpoint uses Resend's send-email, not svix's webhook-signing path; the vulnerable v3/v5/v6-with-bufcode isn't called). Documented inCLAUDE.mdwith a removal trigger; CI is gated with--ignore=GHSA-w5hq-g745-h8pq.ci.yml changes
Dependency auditstep at the end of thecijob:bun audit --ignore=GHSA-w5hq-g745-h8pqwith nocontinue-on-error.dependency-reviewjob (PR-only) usingactions/dependency-review-action@v4.9.0withfail-on-severity: highandcomment-summary-in-pr: on-failure. Stayscontinue-on-error: trueuntil a baseline of acceptable license/severity findings is established — different gate frombun audit.Other
CLAUDE.mdsection "Audit advisories" with one entry per GHSA + removal trigger..claudeto.gitignore(matches the sibling Bun + Biome sites' convention; was previously letting harness-generated.claude/settings.local.jsonleak intobiome checkoutput).Verification
Test plan
bun auditstep exits 0 in the green rundependency-reviewjob runs (PR-only) and posts no comment (no high-severity findings expected)/blog/<slug>MDX still renders correctly (Shiki syntax highlighting works), confirming themdast-util-to-hastbump is API-compatibleRemoval triggers (future cleanup)
overrides.postcssafternext+@tailwindcss/postcssship releases that pull their transitive postcss to ≥ 8.5.10.overrides.mdast-util-to-hastafter parents (most likely shiki) ship releases that pull a patched version directly.--ignore=GHSA-w5hq-g745-h8pqafter svix (or resend) ships a release that bumps uuid to ≥ 14.0.0.🤖 Generated with Claude Code