Content Security Policy missing
The browser is not told which script sources to trust, so any injected script will run.
- Content-Security-Policy
- (not set)
default-src 'self'; script-src 'self'; object-src 'none'; base-uri 'self'; frame-ancestors 'none', then add only the origins the app needs. Use nonces or hashes instead of 'unsafe-inline'.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