Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@prisma/orm-mysql

Latest version: v8.0.0-rc.25-dev.14

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: aqrln, prismabot, rtbenfield, wmadden-prisma
47,775 Stars
2,623 Forks
93 Versions
15.0K Downloads
TypeScript Repo language

Scan summary

@prisma/orm-mysql was last scanned on 27 Nov 2026 at version 8.0.0-rc.25-dev.14. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 93 versions; the latest 5 were published within 2 days (26 and 27 Nov 2026).
  • Findings: No rules fired in version 8.0.0-rc.25-dev.14.
  • Downloads: 14,964 downloads.

Versions

93 versions published
Versions and the rules that fired in each
VersionPublishedStatus
8.0.0-rc.25-dev.14 LATEST 27 Nov 2026 No rules fired
8.0.0-rc.25-dev.13 27 Nov 2026 No rules fired
8.0.0-rc.25-dev.12 26 Nov 2026 No rules fired
8.0.0-rc.25-dev.11 26 Nov 2026 Not shown
8.0.0-rc.25-dev.10 26 Nov 2026 Not shown

No rules fired in 8.0.0-rc.25-dev.14

Findings

Findings for v8.0.0-rc.25-dev.14. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 8.0.0-rc.25-dev.14; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@prisma/orm-mysql

The one package a MySQL application installs. It wires the framework, the SQL family, and the MySQL target together, and brings the rest of the stack along as exact-pinned dependencies:

pnpm add @prisma/orm-mysql
@prisma/orm-mysql
├── @prisma/orm-framework    contracts, components
├── @prisma/orm-family-sql   SQL contract and control plane
├── @prisma/orm-target-mysql target descriptor + adapter + driver
└── @prisma/orm-toolchain    ORM command family for the `prisma` CLI, emitter, config loader

MySQL support is early. It supports MySQL 8.4 and later. The package covers contracts and migrations (prisma contract emit, prisma migration plan, prisma db migrate, prisma db verify and prisma db sign) and queries: mysql({ contract, url }) from /runtime runs ORM and SQL builder reads and writes, raw SQL and transactions. MySQL has no RETURNING, so an ORM write that returns rows reads them back by key with a SELECT in the same transaction. The mariadb package writes each value into the statement with its own escaping, so Prisma's code never puts a value into SQL. Row locks such as FOR UPDATE, LATERAL joins, RETURNING and skipping rows that collide with a unique constraint are refused as not supported on MySQL, and so is an update or delete whose filter, or a value it sets, reads the table it writes, which MySQL refuses. A SQL builder update reaches this through either; the ORM only through a filter. In the ORM, that is updateAll, deleteAll, updateAndCount and deleteAndCount on a variant stored in its own table or filtered through a relation from a model to itself, and an update or delete filtered through such a relation whose filter names a unique key. An update or delete whose filter names no unique key reads the row first and writes it by key, so it runs. Instead, read the keys of the rows, and any values the write takes from the table, with a query first, then update or delete those rows by key with those values (for a variant, one row at a time with update or delete). The filter is checked only when that query runs, so a row another transaction changes in between is still written. MariaDB runs these writes. The ORM cannot yet update a field stored only on a variant's own table, on any database: update, updateAll and updateAndCount refuse it with ORM.FIELD_UNKNOWN (a variant's create does set such fields).

temporal-polyfill is a required peer dependency. The control plane, such as the prisma commands, loads it as a fallback Temporal when the runtime has none, and a project that already installs it for its own code has one copy. npm, pnpm and bun install it automatically; with Yarn, add temporal-polyfill to your dependencies.

Entrypoints

Namespace Surface
/config defineConfig for prisma.config.ts
/contract-types the types a generated contract.d.ts imports
/contract-builder defineContract and MySQL contract authoring
/migration, /control migration planning and the control client
/runtime mysql({ contract, url }), the query client
/static contractFromJson and the statically composed runtime
/init the init contribution prisma orm init --target @prisma/orm-mysql writes a project from

A generated contract.d.ts imports every framework, family and target type it names from /contract-types, and a generated migration.ts imports from /migration: the modules this package's defineConfig sets as contract.typesModule and migrations.module. The facade also forwards the namespaces of the packages it is built from, so an application never has to depend on a package it did not install:

Namespace Forwards
/contract, /contract/* @prisma/orm-framework/contract
/components, /components/* @prisma/orm-framework/components
/family-contract, /family-contract/* @prisma/orm-family-sql/contract
/target/* @prisma/orm-target-mysql/target
/adapter, /adapter/* @prisma/orm-target-mysql/adapter

These forward; they do not copy. @prisma/orm-mysql/contract/types and @prisma/orm-framework/contract/types are the same module, so shared registries and instanceof checks hold across the boundary.

The CLI

This package ships no bin. The ORM commands run inside the unified prisma CLI, which mounts the command family published at @prisma/orm-toolchain/cli.

Responsibilities

Composition only. Every behavior it exposes lives in the platform packages; this package chooses the default combination of them and gives it one name.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @prisma/orm-mysql

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229