GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — fix(deps): bump deepmerge-ts from 7.1.5 to 8.0.1 by lazerg · Pull Request #30054 · prisma/orm Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yml Review profile: ASSERTIVE Plan: Pro Plus Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
Included review availability: Your plan includes up to 10 reviews per rolling hour; 9 remain after this review. 📝 WalkthroughWalkthrough
ChangesDependency security update
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized dependency update removes the reported vulnerability and has passed the stated tests, builds, type checks, audit, and frozen-lockfile installation; no actionable merge-blocking risk remains. Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The PR Code Security run failed before any job started: that workflow hands |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Merging this PR will improve performance by 22.36%
|
| Benchmark | BASE |
HEAD |
Efficiency | |
|---|---|---|---|---|
| ⚡ | getBinaryTargetForCurrentPlatform |
2.1 ms | 1.7 ms | +22.36% |
Tip
Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.
Comparing lazerg:fix/issue-30052-deepmerge-ts-8 (10689fd) with v7 (05ce490)
30 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩
Sorry, something went wrong.
There was an error while loading. Please reload this page.
* fix(deps): force deepmerge-ts to 8.x to patch CVE-2026-40345 @prisma/config pins deepmerge-ts at exactly 7.1.5, which is vulnerable to GHSA-ggr8-5vv4-36mx (stack exhaustion when merging recursive object graphs). It reaches the production tree through @prisma/client's optional dependency on the prisma CLI, so both supply-chain gates fail on every PR: `pnpm audit --prod` (1 high) and the Trivy scan of the api image (1 HIGH, fix available). Dependabot cannot resolve it -- it reports `security_update_not_possible` because the exact pin caps the resolvable version at 7.1.5 -- and no published @prisma/config carries the bump yet, so a workspace override is the only path. The upstream fix is still open: prisma/orm#30054 The override is unscoped rather than parent-scoped, per the primary rule in pnpm-workspace.yaml: @prisma/config is the only consumer in the tree, and an unscoped override already breaks the exact pin. * docs(deps): link upstream tracking issue in deepmerge-ts override The override comment only pointed at the community PR. Add the upstream issue that tracks the bump (prisma/orm#30052) so the reason the override exists is readable from the issue alone, without inferring it from a PR diff.
… reason Nothing audited the dependency tree in either repo. Both were at zero advisories on 2026-08-09 and nothing has watched since, which is how a high-severity one appeared on 2026-08-16 and sat unnoticed until it was tripped over by accident. The gate fails two ways. An advisory not recorded in audit-allowlist.json fails the build. So does a recorded entry that no longer matches any advisory — so when upstream ships a fix, CI breaks and says to delete the entry, instead of leaving a stale "we looked at this once" note in the repo. Both proven: emptying the allowlist fails with the advisory named, and a phantom entry fails as obsolete. One entry, deepmerge-ts GHSA-ggr8-5vv4-36mx (CVE-2026-40345), accepted with the analysis recorded in the allowlist. In short: the only path is prisma -> @prisma/config -> deepmerge-ts, and @prisma/config calls deepmerge in exactly one place, loadConfigTsOrJs(), merging prisma.config.ts layers through c12. This repo has no prisma.config.* file and that input is never request-influenced, while the CVSS 8.2 assumes an app feeding attacker-controlled JSON to the public API. No fix exists to take: every stable prisma from 6.19.3 to 7.9.1, and the 7.10.0 dev prereleases, pin "deepmerge-ts": "7.1.5" exactly. deepmerge-ts 8.0.0 shipped 2026-08-16. `npm audit fix --force` proposes prisma 6.12.0, a major downgrade. An override would force past an exact pin across a major, which is not something this project does. prisma/orm#30054 has the bump and is mergeable; the entry names it, and the stale check is what makes sure we act on it. Plain .mjs with no dependencies, byte-identical in both repos. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01XYeFzET7gtfvEKMs47kshi
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Yes, you are right ( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.