diff --git a/scripts/check-csp-violations.js b/scripts/check-csp-violations.js new file mode 100755 index 00000000..95aa0dba --- /dev/null +++ b/scripts/check-csp-violations.js @@ -0,0 +1,113 @@ +#!/usr/bin/env node + +/** + * CSP Violations Checker + * Enforces Content Security Policy compliance (inst_008) + * + * Checks staged files for: + * - Inline scripts (