fix(deps): bump postcss to 8.5.24 (GHSA-r28c-9q8g-f849, unreported by dependabot) - #54
fix(deps): bump postcss to 8.5.24 (GHSA-r28c-9q8g-f849, unreported by dependabot)#54yakimoto wants to merge 1 commit into
Conversation
|
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_bab7e0d2-a297-4932-bc35-827922b35bf9) |
|
Important Review skippedReview was skipped due to path filters ⛔ Files ignored due to path filters (1)
CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
Comment |
Clears a HIGH that Dependabot is not reporting. Lockfile only — 7 lines.
The advisory
GHSA-r28c-9q8g-f849 — PostCSS: Path Traversal in Previous Source Map Auto-Loading (
sourceMappingURL) leads to Arbitrary.mapFile Disclosure. HIGH, range<= 8.5.17, first patched 8.5.18, published 2026-07-24.It is in the GitHub Advisory Database — I read it straight from the API:
But this repo's Dependabot alert list has only
brace-expansionandesbuild. The push that created this branch said so itself:Two, not three. So this one was reachable only by running the audit — which is how I found it, while measuring the baseline for #53.
I checked whether the silence just meant "no postcss here." It doesn't. Reading
origin/mainrefs rather than working trees:postcssonorigin/mainsdk-typescript/pnpm-lock.yaml)Both repos that actually carry a vulnerable
postcsshave no alert; the two clean repos correctly have none. That's a detection gap, not absence — filed separately as wave-av/claude-workstation#564. sdks needs the same bump and does not have it yet.Scope
Dev-only.
postcssis a peer of the build toolchain and never enters the published dependency graph of@wave-av/sdk:The exploit path is a malicious
sourceMappingURLcomment in CSS the toolchain processes. This SDK ships no CSS, so the practical exposure is low — but it's a HIGH in the build path, the fix is seven lines, and there's no reason to carry it.Landing on
8.5.24(current latest) rather than the minimum8.5.18, sincenpm updateresolves within the declared range and the intermediate releases are patch-level.Verification
CI can't run — Actions are refusing every job org-wide on an account-level billing lock (
plan=free,locked=yes, re-confirmed live today). All local, Node 22.14.0:Advisory delta, dev scope included, against
main@e3864a7:mainThe remaining high is
brace-expansion, which #53 clears. With both landed the repo is down to one dev-onlyesbuildlow.Measurement caveat: this workstation exports
NODE_ENV=production, which makesnpm auditinheritomit=devand hide dev-scope entries entirely — including both of these. Every figure above was taken withNODE_ENV=developmentset explicitly.Merge-order note
#53 also rewrites
package-lock.json. The two are independent and both are based onmain@e3864a7, but they will conflict textually. Whichever lands second should re-run its ownnpm updatecommand rather than hand-merging the lockfile — a hand-merged lockfile is how you get a tree that installs but matches neither intent.Note
Low Risk
Dev-only lockfile bumps with no runtime or published-package graph changes; practical exploit risk is low for an SDK that does not ship CSS through PostCSS.
Overview
Lockfile-only dependency refresh to address GHSA-r28c-9q8g-f849 (HIGH: path traversal / arbitrary
.mapdisclosure via PostCSS source-map auto-loading). Dependabot did not surface this alert for this repo.Resolved versions:
postcss8.5.15 → 8.5.24 andnanoid3.3.12 → 3.3.16 (pulled in by PostCSS’s updatednanoidrange). Both sit in the dev graph via tsup / vite / postcss-load-config and are not part of the published@wave-av/sdkruntime bundle.Reviewed by Cursor Bugbot for commit b28037e. Configure here.
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is enabled.Summary by cubic
Updates dev
postcssto 8.5.24 to patch GHSA-r28c-9q8g-f849 (source map path traversal). Lockfile-only; also bumpsnanoidto 3.3.16 forpostcss, affecting only the build chain viatsupandvite.Written for commit b28037e. Summary will update on new commits.