FALKEN'S MAZE / CHECKS / SUBRESOURCE INTEGRITY
Subresource Integrity
What Joshua checks
Checks that scripts and stylesheets the home page loads from other sites carry an integrity hash. Only counts toward the score when you turn it on for a domain.
Why it matters
Without an integrity hash, anyone who takes over a CDN or third-party host can change the code your visitors run. With one, the browser refuses a file that has changed.
How to fix it
Add integrity="sha384-..." and crossorigin="anonymous" to each tag (the CDN usually gives you both, or use srihash.org), pinned to an exact version. Or host the file on your own domain.
In the Maze Score
- Worth
- 5 points (half for a warning)
- Severity
- Medium
- Runs on
- Pro (Watchtower) and above
Related checks
- Content-Security-PolicyFree
- Clickjacking protectionFree
- Referrer-PolicyFree
- Permissions-PolicyFree
- X-Content-Type-OptionsFree
- Cookie flagsFree
How does your domain do? Scan it free and get a Maze Score in about a minute.