GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(deps): bump deepmerge-ts and mariadb past audited vulnerabilities by tensordreams · Pull Request #30189 · prisma/orm

Conversation

@tensordreams

@tensordreams tensordreams commented Sep 1, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

pnpm audit --prod (the "Run pnpm audit (production dependencies only)" step of the Lint job) fails on every PR to this branch with four advisories:

  • deepmerge-ts < 8.0.0 — stack exhaustion on recursive object graphs (GHSA-ggr8-5vv4-36mx), high
  • mariadb >= 3.4.0 < 3.4.6 — cleartext password leak to a MitM despite ssl: true (GHSA-cqhc-2h57-wpxf, high), cleartext transmission of sensitive information (GHSA-42r5-vhpq-m858, moderate), and possible SQL injection in Buffer parameter escaping under multibyte client charsets (GHSA-g5xc-5w98-jfvm, moderate)

This PR bumps:

  • deepmerge-ts 7.1.5 → 8.0.2 in packages/config. The v8 breaking changes are Map deep-merging and a deepmergeInto mutation fix; @prisma/config uses neither — it only calls the basic deepmerge export on plain config objects (loadConfigFromFile.ts). v8 still ships dual CJS/ESM.
  • mariadb 3.4.5 → 3.5.3 in packages/adapter-mariadb. The advisories say "patched >= 3.4.6", but npm has no 3.4.6 — the 3.4.x line ends at 3.4.5; 3.5.3 is the current release satisfying the range.

Lockfile updated with the repo-pinned pnpm 11.13.1.

Testing performed

  • pnpm audit --prod against the updated lockfile: "No known vulnerabilities found".
  • pnpm --filter @prisma/config test: 4 files, 142 passed, 2 skipped — includes the config-merge tests that exercise deepmerge.
  • pnpm --filter @prisma/adapter-mariadb test: 45 passed.

Notes for the reviewer

  • After this merges, the Lint job on this branch should go fully green again (its other failure mode, prettier-check, is unaffected here).
  • Related branch-health PRs: ci: update github.repository checks for the rename to prisma/orm #30180 (rename guards), test(e2e): run prisma init from the local tarball in the corepack test #30183 (corepack e2e test).

Summary by CodeRabbit

  • Chores
    • Updated the MariaDB integration dependency to a newer version.
    • Updated the configuration merge dependency to a newer version.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@tensordreams
chore(deps): bump deepmerge-ts and mariadb past audited vulnerabilities
a69c38f
pnpm audit --prod fails on every PR with four advisories:

- deepmerge-ts < 8.0.0: stack exhaustion on recursive object graphs
  (GHSA-ggr8-5vv4-36mx)
- mariadb >= 3.4.0 < 3.4.6: cleartext password leak to a MitM despite
  ssl: true (GHSA-cqhc-2h57-wpxf), cleartext transmission of sensitive
  information (GHSA-42r5-vhpq-m858), and possible SQL injection under
  multibyte client charsets (GHSA-g5xc-5w98-jfvm)

Bump deepmerge-ts 7.1.5 -> 8.0.2 and mariadb 3.4.5 -> 3.5.3. The
mariadb 3.4.x line has no 3.4.6 release on npm; 3.5.3 is the current
release that satisfies >= 3.4.6.

deepmerge-ts 8 changes Map merging and deepmergeInto mutation. Neither
matters here: @prisma/config only calls the basic deepmerge export on
plain config objects.

Signed-off-by: Oleksii Orlenko <[email protected]>
@coderabbitai

coderabbitai Bot commented Sep 1, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yml

Review profile: ASSERTIVE

Plan: Team

Run ID: c9a7ed49-c1dd-4047-88bf-1a03c4e546f4

📥 Commits

Reviewing files that changed from the base of the PR and between 9028ed8 and a69c38f.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • packages/adapter-mariadb/package.json
  • packages/config/package.json

Included review availability: Your plan provides up to 10 included reviews per hour; 8 remain after this review.


📝 Walkthrough

Walkthrough

Two package manifests update the mariadb and deepmerge-ts dependency versions. No public declarations change.

Changes

Dependency updates

Layer / File(s) Summary
Update package dependencies
packages/adapter-mariadb/package.json, packages/config/package.json
Updates mariadb from 3.4.5 to 3.5.3 and deepmerge-ts from 7.1.5 to 8.0.2.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to a69c3

This PR updates two vulnerable dependencies and the lockfile without any supplied merge-blocking concerns; no actionable risk remains beyond normal checks and review.

Suggested reviewers: aqrln, stevenmcclankerton

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the dependency updates and their purpose: resolving audited vulnerabilities in deepmerge-ts and mariadb.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch v7-audit-deepmerge-mariadb

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
packages/client/runtime/index-browser.js 2.29 KB (0%)
packages/client/runtime/index-browser.d.ts 3.37 KB (0%)
packages/cli/build/index.js 110 B (0%)
packages/client/prisma-client-0.0.0.tgz 25.59 MB (+0.01% 🔺)
packages/cli/prisma-0.0.0.tgz 13.52 MB (0%)
packages/bundle-size/da-workers-libsql/output.tgz 1.28 MB (0%)
packages/bundle-size/da-workers-neon/output.tgz 1.35 MB (0%)
packages/bundle-size/da-workers-pg/output.tgz 1.34 MB (0%)
packages/bundle-size/da-workers-planetscale/output.tgz 1.28 MB (0%)
packages/bundle-size/da-workers-d1/output.tgz 1.26 MB (0%)
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

aqrln
aqrln approved these changes Sep 1, 2026
View reviewed changes
@aqrln
aqrln merged commit 93118fd into v7 Sep 1, 2026
499 of 502 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@aqrln
aqrln deleted the v7-audit-deepmerge-mariadb branch September 1, 2026 10:00
This was referenced Sep 8, 2026
fix(deps): bump deepmerge-ts from 7.1.5 to 8.0.1 #30054
Closed
Bump deepmerge-ts to >= 8.0.0 in @prisma/config (CVE-2026-40345) #30052
Open
This was referenced Sep 9, 2026
Security: Prisma → deepmerge-ts 暫定audit例外を upstream 修正後に削除する azumag/JSMKC#3114
Closed
security: distinguish forward deepmerge remediation azumag/JSMKC#3231
Merged
security: surface next-major Prisma remediation evidence azumag/JSMKC#3258
Merged
security: surface published Prisma remediation candidates azumag/JSMKC#3271
Merged
azumag added a commit to azumag/JSMKC that referenced this pull request Sep 13, 2026
@azumag
security: attest merged Prisma fix PR in upstream evidence (#3344)
ea6a2e2
Record prisma/orm#30189 as advisory historical evidence alongside the tracking issue while preserving the existing #3114 remediation policy.
@wmadden-electric wmadden-electric mentioned this pull request Sep 16, 2026
chore(deps): bump mysql2 and fast-uri past audited vulnerabilities #30314
Merged
@qodo-code-review qodo-code-review Bot mentioned this pull request Sep 24, 2026
chore(deps): override mysql2 and deepmerge-ts to patched versions MGM-Laboratory/mgm-website#102
Merged
@bielxdh3 bielxdh3 mentioned this pull request Oct 6, 2026
BielOS: recovery hardening and native Linux operations bielxdh3/Virki#21
Merged
@prisma-asks prisma-asks Bot mentioned this pull request Oct 7, 2026
Prisma 7.10.0 pins deepmerge-ts 7.1.5 and mysql2 3.15.3, which carry high-severity npm audit advisories #30295
Open
OIRNOIR pushed a commit to OIRNOIR/YouTube-Helper-Server that referenced this pull request Oct 23, 2026
Renovate Bot git.oirnoir.dev Instance
Update dependency @prisma/client to v7.10.1 (#59)
277dc75
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@prisma/client](https://www.prisma.io) ([source](https://github.com/prisma/orm/tree/HEAD/packages/client)) | imports | patch | [`7.10.0` -> `7.10.1`](https://renovatebot.com/diffs/npm/@prisma%2fclient/7.10.0/7.10.1) |

---

### Release Notes

<details>
<summary>prisma/orm (@&#8203;prisma/client)</summary>

### [`v7.10.1`](https://github.com/prisma/orm/releases/tag/7.10.1)

[Compare Source](prisma/orm@7.10.0...7.10.1)

Prisma ORM 7.10.1 is a patch release. It fixes a bug where a nested interactive transaction could make later, unrelated transactions run inside the wrong transaction. It also updates dependencies that had security advisories.

##### Fixes

##### Prisma Client: nested `$transaction` no longer changes the options object you pass in

If you passed the same options object to a nested `tx.$transaction(...)` and later to a top-level `prisma.$transaction(...)`, the nested call wrote the outer transaction's id into that object. Every later top-level transaction that used the object was then treated as nested inside that old transaction:

- if the old transaction had committed, the new one failed with `P2028`;
- if the old transaction was still open, the new one silently ran as a savepoint inside another request's transaction.

```ts
const TX_OPTIONS = { timeout: 30_000, maxWait: 10_000 }

await prisma.$transaction(async (tx) => {
  await tx.$transaction(async (inner) => { /* ... */ }, TX_OPTIONS)
})

// Before 7.10.1, this call could fail with P2028 or join another transaction.
await prisma.$transaction(async (tx) => { /* ... */ }, TX_OPTIONS)
```

Prisma Client no longer modifies the options object. ([#&#8203;30368](prisma/orm#30368), thanks [@&#8203;lazerg](https://github.com/lazerg))

##### Prisma Migrate: refuse a shadow database that is the main database

Prisma Migrate now refuses to run with error `P3025` when the shadow database URL points at the same database as the main database URL. Before, `prisma migrate diff --from-migrations` with that setup dropped the real schema, rebuilt it from the migrations, and reported an empty diff. ([prisma/prisma-engines#5851](prisma/prisma-engines#5851))

##### MariaDB adapter: updated to `mariadb` 3.5.4

`@prisma/adapter-mariadb` now depends on `mariadb` 3.5.4, which fixes several security advisories in 3.5.3. The adapter no longer rewrites IPv6 hosts in connection strings, because `mariadb` 3.5.4 accepts them as written. IPv6 connection strings keep working without changes. ([#&#8203;30668](prisma/orm#30668))

##### Dependency updates

Dependencies with security advisories were updated: `mysql2`, `fast-uri`, `deepmerge-ts`, `mariadb` and `source-map-js`. ([#&#8203;30314](prisma/orm#30314), [#&#8203;30189](prisma/orm#30189), [#&#8203;30668](prisma/orm#30668))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjguMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE2OC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.oirnoir.dev/OIRNOIR/YouTube-Helper-Server/pulls/59
OIRNOIR pushed a commit to OIRNOIR/YouTube-Helper-Server that referenced this pull request Oct 23, 2026
Renovate Bot git.oirnoir.dev Instance
Update dependency @prisma/adapter-pg to v7.10.1 (#58)
bbb778b
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@prisma/adapter-pg](https://github.com/prisma/orm) ([source](https://github.com/prisma/orm/tree/HEAD/packages/adapter-pg)) | imports | patch | [`7.10.0` -> `7.10.1`](https://renovatebot.com/diffs/npm/@prisma%2fadapter-pg/7.10.0/7.10.1) |

---

### Release Notes

<details>
<summary>prisma/orm (@&#8203;prisma/adapter-pg)</summary>

### [`v7.10.1`](https://github.com/prisma/orm/releases/tag/7.10.1)

[Compare Source](prisma/orm@7.10.0...7.10.1)

Prisma ORM 7.10.1 is a patch release. It fixes a bug where a nested interactive transaction could make later, unrelated transactions run inside the wrong transaction. It also updates dependencies that had security advisories.

##### Fixes

##### Prisma Client: nested `$transaction` no longer changes the options object you pass in

If you passed the same options object to a nested `tx.$transaction(...)` and later to a top-level `prisma.$transaction(...)`, the nested call wrote the outer transaction's id into that object. Every later top-level transaction that used the object was then treated as nested inside that old transaction:

- if the old transaction had committed, the new one failed with `P2028`;
- if the old transaction was still open, the new one silently ran as a savepoint inside another request's transaction.

```ts
const TX_OPTIONS = { timeout: 30_000, maxWait: 10_000 }

await prisma.$transaction(async (tx) => {
  await tx.$transaction(async (inner) => { /* ... */ }, TX_OPTIONS)
})

// Before 7.10.1, this call could fail with P2028 or join another transaction.
await prisma.$transaction(async (tx) => { /* ... */ }, TX_OPTIONS)
```

Prisma Client no longer modifies the options object. ([#&#8203;30368](prisma/orm#30368), thanks [@&#8203;lazerg](https://github.com/lazerg))

##### Prisma Migrate: refuse a shadow database that is the main database

Prisma Migrate now refuses to run with error `P3025` when the shadow database URL points at the same database as the main database URL. Before, `prisma migrate diff --from-migrations` with that setup dropped the real schema, rebuilt it from the migrations, and reported an empty diff. ([prisma/prisma-engines#5851](prisma/prisma-engines#5851))

##### MariaDB adapter: updated to `mariadb` 3.5.4

`@prisma/adapter-mariadb` now depends on `mariadb` 3.5.4, which fixes several security advisories in 3.5.3. The adapter no longer rewrites IPv6 hosts in connection strings, because `mariadb` 3.5.4 accepts them as written. IPv6 connection strings keep working without changes. ([#&#8203;30668](prisma/orm#30668))

##### Dependency updates

Dependencies with security advisories were updated: `mysql2`, `fast-uri`, `deepmerge-ts`, `mariadb` and `source-map-js`. ([#&#8203;30314](prisma/orm#30314), [#&#8203;30189](prisma/orm#30189), [#&#8203;30668](prisma/orm#30668))

</details>

---

### Configuration

📅 **Schedule**: (UTC)

- Branch creation
  - At any time (no schedule defined)
- Automerge
  - At any time (no schedule defined)

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4xNjguMiIsInVwZGF0ZWRJblZlciI6IjQ0LjE2OC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: https://git.oirnoir.dev/OIRNOIR/YouTube-Helper-Server/pulls/58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@aqrln aqrln aqrln approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@tensordreams @aqrln
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.