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-mariadb

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

Overview

Last scanned
27 Nov 2026
Published
27 Nov 2026
npm package Publisher: ankur-datta-007, aqrln, prismabot, tylerhogarth
47,775 Stars
2,623 Forks
60 Versions
8.7K Downloads
TypeScript Repo language

Scan summary

@prisma/orm-mariadb 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: 60 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: 8,661 downloads.

Versions

60 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-mariadb

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

pnpm add @prisma/orm-mariadb
@prisma/orm-mariadb
├── @prisma/orm-framework       contracts, components
├── @prisma/orm-family-sql      SQL contract and control plane
├── @prisma/orm-target-mariadb  target descriptor + control adapter + driver
├── @prisma/orm-target-mysql    MySQL's target, which MariaDB's extends
├── @prisma/orm-mysql           MySQL's configuration, which MariaDB's builds on
└── @prisma/orm-toolchain       ORM command family for the `prisma` CLI, emitter, config loader

MariaDB support is early. The package covers contracts, migrations and queries on MariaDB 10.11 and later: prisma contract emit, prisma migration plan, prisma db migrate, prisma db verify, prisma db sign, and mariadb({ contract, url }), the query client, which reads and writes through the ORM, the SQL builder and raw SQL as mysql() does on MySQL. The contract is a .prisma schema or a TypeScript contract written with defineContract from @prisma/orm-mariadb/contract-builder.

import mariadb from '@prisma/orm-mariadb/runtime';
import { contractFromJson } from '@prisma/orm-mariadb/static';
import type { Contract } from './prisma/contract.d';
import contractJson from './prisma/contract.json' with { type: 'json' };

const url = process.env['MARIADB_URL'];
if (url === undefined) throw new Error('Set MARIADB_URL');
const db = mariadb({ contract: contractFromJson<Contract>(contractJson), url });
const users = await db.orm.User.include('posts', (posts) => posts.orderBy((p) => p.id.desc()).limit(3)).all();

The URL may use mariadb:// or mysql://. MariaDB loads each include with a query of its own, after the parent rows.

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. npm, pnpm and bun install it automatically; with Yarn, add temporal-polyfill to your dependencies.

Requirements

These hold on MariaDB 10.11 as on MySQL 8.4; each was checked on a live MariaDB 10.11 server.

  • Transactions the ORM owns run at READ COMMITTED. The driver starts each with SET TRANSACTION ISOLATION LEVEL READ COMMITTED. A db.transaction() without an isolation level, and a statement outside a transaction, run at the server's default, REPEATABLE READ on MariaDB 10.11. Prisma sets no session isolation level.
  • Binary logging, when it is on, must be row-based or mixed (binlog_format = ROW or MIXED, MariaDB 10.11's default being MIXED). With binlog_format = STATEMENT, InnoDB refuses a write at READ COMMITTED with error 1665, "Cannot execute statement: impossible to write to binary log", so every ORM write fails.
  • session_track_system_variables must keep character_set_client, as MariaDB 10.11's default does. The driver confirms from it that the connection reads statements as utf8mb4 before it sends values, and refuses them otherwise (RUNTIME.CHARACTER_SET_UNSUPPORTED).
  • The session's sql_mode must not contain NO_BACKSLASH_ESCAPES or ANSI_QUOTES. The driver removes both on every connection; raw SQL, stored procedures and triggers must not set them again. The MySQL driver's environment requirements give the detail, and hold on MariaDB too.

Entrypoints

Namespace Surface
/config defineConfig for prisma.config.ts
/contract-builder defineContract and its helpers, for a contract written in TypeScript
/contract-types the types a generated contract.d.ts imports
/migration, /control migration classes and the control client
/runtime mariadb({ contract, url }), the query client
/static contractFromJson and the statically composed runtime

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-mariadb/target
/adapter, /adapter/* @prisma/orm-target-mariadb/adapter
/driver, /driver/* @prisma/orm-target-mariadb/driver

These forward; they do not copy. @prisma/orm-mariadb/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-mariadb

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

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

Frame 2085668439 (1)
Group 1261154229