Commit 602053c
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
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
| 42 | + | |
0 commit comments