Subresource Integrity (SRI)
SRI allows browsers to verify that external resources haven't been tampered with.
Results in 1–3 minutes · Free · No signup required
Want the result for your own site? Free SRI Checker — paste your domain, get the report.
Why It Matters
If a CDN is compromised, attackers could inject malicious code into your site. SRI ensures scripts and stylesheets match expected cryptographic hashes.
How We Check
We check external script and stylesheet tags for integrity attributes with valid cryptographic hashes.
How to Fix
Add integrity attributes to external resources: <script src='...' integrity='sha384-...' crossorigin='anonymous'>. Use srihash.org to generate hashes.
Frequently Asked Questions
What is Subresource Integrity (SRI)?
SRI allows browsers to verify that external resources haven't been tampered with.
Why does Subresource Integrity (SRI) matter for website security?
If a CDN is compromised, attackers could inject malicious code into your site. SRI ensures scripts and stylesheets match expected cryptographic hashes.
How do I fix Subresource Integrity (SRI) issues?
Add integrity attributes to external resources: <script src='...' integrity='sha384-...' crossorigin='anonymous'>. Use srihash.org to generate hashes.
Related Security Checks
Related Tool
SRI Checker
Run all 4 related checks with our free sri checker
Check Your Website Now
Run a free security scan to check for Subresource Integrity (SRI) issues and 62+ other security vulnerabilities.
Scan Your Website Free