English

On the Integrity of Cross-Origin JavaScripts

Cryptography and Security 2018-09-18 v1 Networking and Internet Architecture

Abstract

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.

Keywords

Cite

@article{arxiv.1809.05628,
  title  = {On the Integrity of Cross-Origin JavaScripts},
  author = {Jukka Ruohonen and Joonas Salovaara and Ville Leppänen},
  journal= {arXiv preprint arXiv:1809.05628},
  year   = {2018}
}

Comments

Proceedings of the 33rd IFIP International Conference on ICT Systems Security and Privacy Protection (IFIP SEC 2018), Poznan, Springer, pp. 385--398

R2 v1 2026-06-23T04:07:09.598Z