From 433379155baee20dd6240a1358a1e9b052f2481c Mon Sep 17 00:00:00 2001 From: Michael Czechowski Date: Sat, 28 Mar 2026 17:01:32 +0100 Subject: [PATCH] fix(security): add Content-Security-Policy meta tag Restricts script sources to self and known CDNs, connect sources to self and Supabase, blocks unauthorized resource loading. Allows unsafe-inline for styles (CodeMirror requirement) and blob: for sandboxed preview iframes. Addresses SEC-5 (HIGH) from security audit. --- src/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.html b/src/index.html index d159357..f49de28 100644 --- a/src/index.html +++ b/src/index.html @@ -4,6 +4,7 @@ + CODE CRISPIES - Learn HTML & CSS Interactively | Free Coding Practice