From b3c51537d5be3a9523170df85423a19393b7b833 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 2e6ccde..93e5341 100644 --- a/src/index.html +++ b/src/index.html @@ -4,6 +4,7 @@ + CODE CRISPIES - Learn HTML & CSS Interactively | Free Coding Practice