
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@sidebase/authjs-prisma-adapter
Advanced tools
A next-auth/authjs type-compatible Prisma 6 adapter for the new `prisma-client`-provider
A type-compatible NextAuth.js Prisma adapter for Prisma 6, designed for projects where the Prisma client is not located at @prisma/client.
This solves the problem with the official @next-auth/prisma-adapter, which hardcodes an import from @prisma/client.
In Nuxt or custom setups (e.g. when the client lives at ~/prisma/client), that import path cannot be resolved and breaks builds.
This adapter avoids the dependency on Prisma types and lets you use your own Prisma client instance.
The adapter is primarily meant for use with @sidebase/nuxt-auth module.
npm install @sidebase/authjs-prisma-adapter
# or
pnpm add @sidebase/authjs-prisma-adapter
// server/api/auth/[...].ts
import { PrismaAdapter } from '@sidebase/authjs-prisma-adapter'
import { NuxtAuthHandler } from '#auth'
// Import your Prisma client (can live anywhere in your project)
import { prisma } from '~/prisma/client'
export default NuxtAuthHandler({
adapter: PrismaAdapter(prisma),
// ... other configuration
})
@next-auth/prisma-adapter directly imports from @prisma/client.~/prisma/client).This adapter re-implements the same logic from next-auth@4.21.1, but without importing @prisma/client.
function PrismaAdapter(prisma: PrismaClient): Adapter
prisma: Your own Prisma client instance.Adapter.^6.0.04.21.1MIT
FAQs
A next-auth/authjs type-compatible Prisma 6 adapter for the new `prisma-client`-provider
The npm package @sidebase/authjs-prisma-adapter receives a total of 81 weekly downloads. As such, @sidebase/authjs-prisma-adapter popularity was classified as not popular.
We found that @sidebase/authjs-prisma-adapter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.