Skip to main content
SecScannerSecScanner
Security ChecksFree ToolsPricingBlog
Get Started
Sign InGet Started
All Security Checks
ContentHigh PriorityPro

Subresource Integrity (SRI)

SRI allows browsers to verify that external resources haven't been tampered with.

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.

Related Security Checks

Headers

Content Security Policy (CSP)

Content

Vulnerable JS Libraries

Check Your Website Now

Run a free security scan to check for Subresource Integrity (SRI) issues and 58+ other security vulnerabilities.

Scan Your Website Free

Product

  • Security Checks
  • Free Tools
  • SSL Checker
  • Vulnerability Scanner
  • Email Security
  • Pricing
  • Compliance
  • Security Reports

Popular Checks

  • CSP Check
  • HSTS Check
  • TLS Version Check
  • SSL Expiry Check
  • SPF/DKIM/DMARC Check
  • Cookie Security Check
  • JS Vulnerability Scan
  • OCSP Stapling Check

Resources

  • Blog
  • Glossary
  • Contact

Legal

  • Terms of Use
  • Privacy Policy
  • Refund Policy
  • Cookie Policy

© 2025-2026 SecScanner. All rights reserved.