You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Subresource-Integrity (SRI) enables developers to make sure the assets they intend to load are indeed the assets they are loading. But there's no current way for developers to be sure that all of their scripts are validated using SRI.
The Integrity-Policy header gives developers the ability to assert that every resource of a given type needs to be integrity-checked. If a resource of that type is attempted to be loaded without integrity metadata, that attempt will fail and trigger a violation report.
The proposal seems reasonably mature now and agreeable, although the larger issue of the total number of policies to configure remains a concern. As such I suggest we mark this as "position: support" one week from now.
Activity
annevk commentedon Apr 8, 2025
Overall this seems like a reasonable problem to solve, but given the proposal is still evolving we haven't yet established a position. cc @sysrqb
[-]require-sri-for CSP directive[/-][+]`Integrity-Policy` header for scripts[/+]yoavweiss commentedon Apr 23, 2025
Updated the title and description to reflect the latest thinking.
yoavweiss commentedon Apr 30, 2025
@annevk - The latest design is in w3c/webappsec-subresource-integrity#133 (and can probably benefit from your review :) )
annevk commentedon May 14, 2025
The proposal seems reasonably mature now and agreeable, although the larger issue of the total number of policies to configure remains a concern. As such I suggest we mark this as "position: support" one week from now.