Astro build output should use hash-based CSP where the frontend app enables Astro security CSP.
- Validate CSP with
astro buildand preview. - Do not add
unsafe-inlineas the default answer. - External scripts and styles need explicit allow-listing.
- CSP belongs in app config, not scattered page code.