Skip to content
application-security

SRI

Subresource Integrity

Definition

SRI is a browser security feature that allows web pages to specify cryptographic hashes for externally loaded resources like scripts and stylesheets. When a browser fetches a resource with an integrity attribute, it computes the hash and refuses to execute or apply the resource if the hash doesn't match.

SRI prevents CDN-hosted content from being tampered with and protects against supply chain attacks targeting shared libraries.

Can this ship? Are we exposed? Can you prove it?

Every CISO is asking these three questions. We answer them with facts, not guesses, from repository to runtime.