Why AI-generated apps ship without a Content Security Policy
Content Security Policy headers are one of the most effective mitigations against cross-site scripting, yet AI assistants almost never add them. This guide explains CSP basics and shows a starter policy for Next.js and Express apps.