# Enforcing Content-Security-Policy — issue & working plan > __Status:__ ✅ __done (in-scope)__ — staged enforcing CSP is __live in prod__ and verified (2026-06-07): enforcing safe directives + report-only strict `script-src`. The only remaining item is the explicitly-deferred fully-strict `script-src`, tracked to #114. > __Tracking issue:__ [#124](https://github.com/jwilleke/yourphr/issues/124) · Related: #105 (H4), #113, #120, #103 (H2), #114. > __Owner:__ living doc — updated with findings as we work through it. > Companion to [architecture-security-review.md](./architecture-security-review.md) and [Standards-Conformance.md](./Standards-Conformance.md). ## Goal Ship an __enforcing__ `Content-Security-Policy` for the YourPHR SPA (served by the Go backend under `/web/`) that blocks injected/XSS scripts and other classic web attacks, __without breaking the app__. The security headers themselves (H4, #105) already ship; this is about flipping the CSP from report-only to enforcing — and doing it for *real* incremental value, not ceremony. ## The core problem (clearly stated) Two things make a *fully strict* `script-src` hard for this app: 1. __The base-href bootstrap must stay inline.__ `index.html` has two inline `