Content Security Policy is permissive
A policy is enforced, but script-src allows 'unsafe-inline'.
- Content-Security-Policy
- default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src https://fonts.gstatic.com; img-src 'self' data:; connect-src 'self'; frame-ancestors 'none'; base-uri 'self'; form-action 'self'; object-src 'none'
Why it matters ↓Why it matters ↑
CSP limits which scripts can run. For dApps it is the main browser-side defence against an injected script draining connected wallets.
How we check: Reads the Content-Security-Policy header and flags policies that still allow inline or arbitrary-origin scripts.
https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP