WICG / Realms-Initialization-Control

Introduce security controls to same origin realms in web applications
MIT License
12 stars 0 forks source link

Explain how RIC should interact with integrity protections #31

Open simon-friedberger opened 2 weeks ago

simon-friedberger commented 2 weeks ago

Assuming that a website is adding SRI to all its JS files to make sure only the right JS runs, RIC should not be able to circumvent that and suddenly add another script.

(I considered merging this into #16 but decided it deserves its own issue.)

weizman commented 2 weeks ago

Scenario:

Just to clarify - do you mean ric.js should obey SRI, or should only scripts it brings and executes (such as code.js) obey SRI?

weizman commented 2 weeks ago

This issue will be affected by #10