Subresource Integrity
A browser security mechanism that allows websites to attach cryptographic hashes to external resources. After loading a resource, the browser verifies that the content matches the declared hash before executing or applying it. If the content does not match, the browser refuses to load it, thereby protecting against tampered or maliciously injected third-party scripts and stylesheets.
Timeline (last 90 days)
SRI offers limited support for dynamically generated or frequently updated scripts (such as A/B testing and ad-serving scripts), because every content change requires updating the hash value.
Combining script inventory auditing, SRI and CSP can form a defense-in-depth system for third-party scripts.
All Facts (2)
SRI offers limited support for dynamically generated or frequently updated scripts (such as A/B testing and ad-serving scripts), because every content change requires updating the hash value.
50%UnverifiedCombining script inventory auditing, SRI and CSP can form a defense-in-depth system for third-party scripts.
50%