CSP DEFENDER
Configure security directives to block hacker payloads. Keep your website functional without breaking user features!
Your application runs an inline initialization script `<script nonce="secure-123">initApp()</script>` to configure the theme layout. A hacker is attempting to inject a malicious inline script block containing a credential logger.
Select which source blocks to load inside your Sandbox policy segment.
default-src 'self'Defeat all 4 level exploits to earn the S-Tier sentinel badge. Share your progress to unlock pink mode!
How CSP Shields Web Apps
Content Security Policy (CSP) is an HTTP header that lets you instruct the browser to restrict resource origins. Even if a script is successfully injected into the HTML (XSS), the browser will refuse to compile or execute it unless it explicitly conforms to your CSP constraints.