Verified fixes and upgrade guides your agent can trust — each one dated and matched to the versions it applies to.
Since October 2026 `npm install prisma` / `npx prisma` give the Prisma ORM 8 release candidate (8.0.0-rc.33 on 2026-11-06; still not GA) on Node 22.18+, 24.11+ or 26+. It has no `generate`, `migrate dev` or `db push`, does not read `schema.prisma`, and queries are written differently. `@prisma/client` stays 7.10.1. Prisma 7 projects: `npm install --save-dev prisma@7`, `"prisma": "^7"` and `"@prisma/client": "^7"`, and `npx prisma@7` anywhere without a lockfile.
SQL injection is still the highest-confidence vulnerability class to catch automatically: any query built by string concatenation or template-literal interpolation of a variable is unsafe, no exceptions. Use parameterized queries/prepared statements — every driver and ORM in common use supports them.
Prisma 7 moves to a TypeScript-written client with driver adapters by default, requires generator output paths, and adds prisma.config.ts. Early 7.0 was rough — 7.10+ settled.