Skip to main content
[megatools]$
← [cd .. / home]
$megatools --csp-builder --client-side

Content Security Policy (CSP) Builder & Analyzer

Construct, analyze, and test hardened Content Security Policy (CSP) headers with cryptographic nonces and security audit.

Cryptographic Nonce Generator (128-bit)Generate random CSP nonce for strict dynamic execution
Directives Configuration Matrix (11 Active)
1 sources
'self'
2 sources
'self''wasm-unsafe-eval'
2 sources
'self''unsafe-inline'
3 sources
'self'data:https:
3 sources
'self'https:data:
2 sources
'self'https:
1 sources
'none'
1 sources
1 sources
1 sources
'none'
1 sources
'self'
1 sources
'self'
empty
Target Integration Format
header Output (283 chars)
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval'; style-src 'self' 'unsafe-inline'; img-src 'self' data: https:; font-src 'self' https: data:; connect-src 'self' https:; object-src 'none'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; upgrade-insecure-requests;
LATENCY:0.0ms|SYNCING...