ci: set GHSA-ch52-4w7c-c8xp aside in pnpm audit, by ID, until 2026-11-03 - #86
Merged
Merged
Conversation
http-cache-semantics <=4.2.0 has no patched release; astro (via starlight) depends on it. astro uses it only to cache remote images during `astro build`, and the site ships as static assets behind a worker that does not import astro, so the path never runs for a visitor. pnpm-workspace.yaml's auditConfig.ignoreGhsas sets that one advisory aside, with its reasoning and dates; a step in the audit job fails once the recheck date passes. The audit level is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
nyuchi-docs-mcp | 844842d | Commit Preview URL Branch Preview URL |
Oct 03 2026, 05:55 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
shamwari-docs-ai | 844842d | Commit Preview URL Branch Preview URL |
Oct 03 2026, 05:55 AM |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
nyuchi-docs | 844842d | Commit Preview URL Branch Preview URL |
Oct 03 2026, 05:55 AM |
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.
Why
The
auditjob fails on GHSA-ch52-4w7c-c8xp (high, http-cache-semantics max-stale handling can disclose cross-user cached responses). Vulnerable<=4.2.0, no patched release; astro 7.3.x (latest stable 7.3.5) depends on^4.2.0. Path:site/nyuchi-docs-search->@astrojs/starlight->astro->http-cache-semantics.Exploitability here
astro imports the package only in
dist/assets/build/remote.js(fromcore/build/static-build->generate), to cache remote images whileastro buildruns. The site is static output served from Workers static assets behindsite/src/worker/gate.ts, which imports onlyjoseand local modules, not astro. The vulnerable path runs only in our own build, never for a visitor.Change
pnpm-workspace.yaml:auditConfig.ignoreGhsas: [GHSA-ch52-4w7c-c8xp], with the reasoning, the date it was added (2026-10-03) and the recheck date (2026-11-03) in comments. pnpm's own per-advisory ignore;--audit-level=highis unchanged, so any other high advisory still fails.build.yml: a step in the audit job fails once 2026-11-03 passes, so the exception cannot outlive its reasoning.Tested locally:
pnpm audit --audit-level=high-> "1 high (1 ignored)", exit 0;pnpm install --frozen-lockfileunaffected.Same treatment as nyuchi/learning#63.
🤖 Generated with Claude Code
https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq