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/adapter-mssql

Latest version: v7.11.0-dev.8

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: ankur-datta-007, aqrln, prismabot, tylerhogarth
47,810 Stars
2,633 Forks
28 Versions
502.7K Downloads
TypeScript Repo language

Scan summary

@prisma/adapter-mssql was last scanned on 30 Nov 2026 at version 7.11.0-dev.8. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 28 versions; the latest 5 were published within 7 days (24–30 Nov 2026).
  • Findings: No rules fired in version 7.11.0-dev.8.
  • Downloads: 502,670 downloads.

Versions

28 versions published
Versions and the rules that fired in each
VersionPublishedStatus
7.11.0-dev.8 LATEST 30 Nov 2026 No rules fired
7.11.0-dev.7 30 Nov 2026 No rules fired
7.11.0-dev.6 30 Nov 2026 No rules fired
7.11.0-dev.5 30 Nov 2026 Not shown
7.11.0-dev.4 24 Nov 2026 Not shown

No rules fired in 7.11.0-dev.8

Findings

Findings for v7.11.0-dev.8. 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 7.11.0-dev.8; other versions have their own rules, not their own score.

README

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

@prisma/adapter-mssql

This package contains the driver adapter for Prisma ORM that enables usage of the mssql database driver for Microsoft SQL Server.

The mssql driver is one of the most popular drivers in the JavaScript ecosystem for Microsoft SQL Server databases. It can be used with any SQL Server database that's accessed via TCP, including Azure SQL Database.

Usage

This section explains how you can use it with Prisma ORM and the @prisma/adapter-mssql driver adapter. Be sure that the DATABASE_URL environment variable is set to your SQL Server connection string (e.g. loaded using dotenv from a .env file).

1. Install the dependencies

Install the Prisma ORM's driver adapter:

npm install @prisma/adapter-mssql
2. Instantiate Prisma Client using the driver adapter

Finally, when you instantiate Prisma Client, you need to pass an instance of Prisma ORM's driver adapter to the PrismaClient constructor:

import { PrismaMssql } from '@prisma/adapter-mssql'
import { PrismaClient } from '@prisma/client'

const config = {
  server: 'localhost',
  port: 1433,
  database: 'mydb',
  user: 'sa',
  password: 'mypassword',
  options: {
    encrypt: true, // Use this if you're on Windows Azure
    trustServerCertificate: true, // Use this if you're using self-signed certificates
  },
}

const adapter = new PrismaMssql(config)
const prisma = new PrismaClient({ adapter })

You can also instantiate the adapter with a JDBC connection string:

import { PrismaMssql } from '@prisma/adapter-mssql'
import { PrismaClient } from '@prisma/client'

const adapter = new PrismaMssql('sqlserver://localhost:1433;database=testdb;user=sa;password=mypassword;encrypt=true')
const prisma = new PrismaClient({ adapter })
3. Entra ID Authentication (formerly Azure Active Directory)

Entra ID authentication is supported by the mssql driver used by this adapter.

For options using the config object, see the options documentation for the Tedious driver.

For example, using the config object to configure DefaultAzureCredential:

import { PrismaMssql } from '@prisma/adapter-mssql'
import { PrismaClient } from '@prisma/client'

const config = {
  server: 'localhost',
  port: 1433,
  database: 'mydb',
  authentication: {
    type: 'azure-active-directory-default',
  },
  options: {
    encrypt: true,
  },
}

const adapter = new PrismaMssql(config)
const prisma = new PrismaClient({ adapter })

Connection string parsing also supports authentication options, as per below:

  • to use DefaultAzureCredential, set:
    • authentication=DefaultAzureCredential in your connection string
  • to use an Entra username/password, set:
    • authentication=ActiveDirectoryPassword
    • userName=<value>
    • password=<value>
    • clientId=<value>
  • to use an Entra managed identity, set:
    • authentication=ActiveDirectoryManagedIdentity
    • clientId=<value> (optional)
  • to use a Service Principal with clientId and secret, set:
    • authentication=ActiveDirectoryServicePrincipal
    • userName=<client id>
    • password=<client secret>

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/adapter-mssql

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 (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

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

Frame 2085668439 (1)
Group 1261154229