Subresource Integrity
A browser check, set with an integrity attribute on a script or stylesheet tag, that refuses the file when its bytes do not match the expected hash. A file loaded from another origin also needs the crossorigin attribute and a CORS response.
What Subresource Integrity does not show
Covered in CrawlCheck's guide to rolling out a Content Security Policy from report-only to enforced. It protects one fixed version of a file; it cannot be used for a file that is meant to change, and it does not check the scripts that file goes on to load.
Related terms in Security and privacy
Where an agent, a tool or a page can be turned against its operator, and the controls that limit the damage without proving safety.
Cookie prefix · Partitioned cookie · SameSite · Public suffix · Schemeful same-site · Integrity metadata · CSP report-only · CSP hash · strict-dynamic · form-action · upgrade-insecure-requests · base-uri · object-src · Referrer leakage · Dangling CNAME · Subdomain takeover · SPF lookup limit · TLS downgrade · Certificate Transparency · X-Frame-Options · frame-ancestors · Referrer-Policy · Permissions-Policy · Encrypted Client Hello · lookalike domain · homoglyph · incident switch · high-risk field · Indirect prompt injection · Direct prompt injection · Jailbreak · Data exfiltration · Sensitive information disclosure · Secret leakage · Insecure output handling · Excessive agency · Least privilege · Trust boundary · Input validation · Output validation · Allowlist · Denylist · SSRF · RCE · Credential scope · OAuth scope · API key · Bearer token · mTLS · Rate-limit policy · Audit log · PII · Data minimization · Purpose limitation · Retention period · Data residency · Tenant isolation · Threat model · DMARC · DMARC alignment · SPF · DKIM · MTA-STS · TLS-RPT · CAA record · DNSSEC · hard bounce
Questions about Subresource Integrity
What is Subresource Integrity?
A browser check, set with an integrity attribute on a script or stylesheet tag, that refuses the file when its bytes do not match the expected hash. A file loaded from another origin also needs the crossorigin attribute and a CORS response.
What does Subresource Integrity not show or guarantee?
A browser check, set with an integrity attribute on a script or stylesheet tag, that refuses the file when its bytes do not match the expected hash. Covered in CrawlCheck's guide to rolling out a Content Security Policy from report-only to enforced. It protects one fixed version of a file; it cannot be used for a file that is meant to change, and it does not check the scripts that file goes on to load.
Which area of the glossary does Subresource Integrity belong to?
Security and privacy: Where an agent, a tool or a page can be turned against its operator, and the controls that limit the damage without proving safety.
← Schemeful same-site · Integrity metadata →
See it in the full glossary · 792 terms across 19 areas.
Free browser extension
See this on any site you visit, in one click.
CrawlCheck for Chrome grades every site you visit A–F and shows, from your own browser, what search engines and AI assistants are actually served. Free, no account.