Full-Stack Next.js & PostgreSQL Production Architecture
Generate production-ready Next.js 15 App Router code with Server Components, Prisma models, Zod validation, and TypeScript types.
“Scan code snippets for OWASP Top 10 vulnerabilities, SQL injection, XSS, insecure deserialization, and generate patched fixes.”
This prompt implements an end-to-end framework specifically designed for Cybersecurity, AppSec & Code Hardening. It enforces role authority, step-by-step structural reasoning, and negative constraints to prevent generic, repetitive AI filler.
Include database queries, token parsing, or input handling logic.
Replace vulnerable functions with parameterized and sanitized implementations.
Express route concatenating req.query.id directly into a raw SQL query string.
Run this prompt with zero rate limits and maximum intelligence using advanced frontier LLMs.
No, this serves as an immediate developer code-review assistant, but formal audits are still necessary for compliance.