Skip to content

Commit 602053c

Browse files
os-zhuangclaude
andauthored
fix(security): pin @better-auth/scim to 1.7.0-rc.1 — clears GHSA-j8v8-g9cx-5qf4 (high) (#2710)
pnpm audit --audit-level=high (the CI 'Validate Package Dependencies' gate) flags @better-auth/scim: account/provider takeover (GHSA-j8v8-g9cx-5qf4, high). plugin-auth depends on ^1.6.23 — the package's 'latest' dist-tag — but the advisory is patched ONLY in >=1.7.0-beta.4, and there is no stable patched release yet (latest = 1.6.23, newest overall = 1.7.0-rc.1). Pin to the newest pre-release (1.7.0-rc.1) via a pnpm-workspace override, the same mechanism already used for the esbuild / form-data / undici advisories. plugin-auth builds and its full suite (230 tests) passes against rc.1, so the SCIM API is compatible. Revert to a stable ^1.7.x line the moment one ships. This unblocks the audit gate for every open framework PR (main is on the same vulnerable 1.6.23 and now fails the gate too, post-disclosure). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 01917c2 commit 602053c

2 files changed

Lines changed: 14 additions & 7 deletions

File tree

pnpm-lock.yaml

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,15 @@ onlyBuiltDependencies:
2828
# dropped requestTls in SOCKS5 ProxyAgent. Pulled 7.27.2 through
2929
# @vscode/vsce > cheerio (declares undici ^7.19.0); force the patched
3030
# 7.28.0 line (stays in the 7.x major cheerio supports). CI audit gate.
31+
# - @better-auth/scim: GHSA-j8v8-g9cx-5qf4 (high) — account/provider
32+
# takeover. `plugin-auth` depends on ^1.6.23 (the `latest` dist-tag), but
33+
# the advisory is patched only in >=1.7.0-beta.4 — there is NO stable
34+
# patched release yet. Pin to the newest pre-release (1.7.0-rc.1) to clear
35+
# the CI audit gate; revert to a stable `^1.7.x` line the moment one ships.
3136
overrides:
3237
esbuild: '>=0.28.1'
3338
'minimatch@<10.2.3': '10.2.3'
3439
'tar@>=2.0.0 <7.5.11': '^7.5.11'
3540
'form-data@<4.0.6': '>=4.0.6'
3641
'undici@>=7.23.0 <7.28.0': '^7.28.0'
42+
'@better-auth/scim@<1.7.0-rc.1': '1.7.0-rc.1'

0 commit comments

Comments
 (0)