跨源JavaScripts的完整性研究
On the Integrity of Cross-Origin JavaScripts
摘要:
同源策略是Web的基本组成部分。尽管有策略的限制,但允许嵌入第三方JavaScript代码,并且通常使用。这些代码的完整性没有任何保证。为了解决这一缺陷,最近引入了子资源完整性标准等解决方案。在此背景下,本文提出了跨源JavaScript代码的时间完整性的第一个实证研究。根据从流行网站收集的超过35000个脚本的10天投票期的经验结果,(i)时间完整性变化相对常见;(ii)子资源完整性标准的采用仍处于起步阶段;以及(iii)有可能统计预测时间完整性变化是否可能发生。这些结果和随之而来的讨论,本文有助于正在进行的尝试,以更好地了解当前Web的安全和隐私。
英文摘要:
The same-origin policy is a fundamental part of the Web. Despite the restrictions imposed by the policy, embedding of third-party JavaScript code is allowed and commonly used. Nothing is guaranteed about the integrity of such code. To tackle this deficiency, solutions such as the subresource integrity standard have been recently introduced. Given this background, this paper presents the first empirical study on the temporal integrity of cross-origin JavaScript code. According to the empirical results based on a ten day polling period of over 35 thousand scripts collected from popular websites, (i) temporal integrity changes are relatively common; (ii) the adoption of the subresource integrity standard is still in its infancy; and (iii) it is possible to statistically predict whether a temporal integrity change is likely to occur. With these results and the accompanying discussion, the paper contributes to the ongoing attempts to better understand security and privacy in the current Web.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。