JS']JSISOLATE: Lightweight In-Browser Java']JavaScript Isolation

被引:1
|
作者
Zhang, Mingxue [1 ]
Meng, Wei [1 ]
机构
[1] Chinese Univ Hong Kong, Hong Kong, Peoples R China
关键词
!text type='Java']Java[!/text]Script; Script isolation; Web browser;
D O I
10.1145/3468264.3468577
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Modern web applications commonly include third-party scripts from external hosts. While enabling code reuse and enhancing the functionalities, the reliability of client-side JavaScript code can be impaired by the inclusion of other scripts. Since all scripts run in the same execution environment in the browser, executing them all together may cause unexpected effects. For example, global variables with the same name might be defined by multiple scripts, causing the actual value to be unpredictable. In this paper, we design a lightweight browser-based framework, JSISOLATE, that provides an isolated and reliable JavaScript execution environment. JSISOLATE injects scripts into different isolated environments based on their dependency relationship. In this way, it executes scripts with independent functionalities in different contexts, effectively preventing them from interfering with each other. We further evaluated the compatibility and performance overhead of JSISOLATE on Alexa top 1K websites, and showed that it can efficiently isolate scripts while preserving the functionalities.
引用
收藏
页码:193 / 204
页数:12
相关论文
共 50 条
  • [31] KJS']JS: A Complete Formal Semantics of Java']JavaScript
    Park, Daejun
    Stefanescu, Andrei
    Rosu, Grigore
    [J]. ACM SIGPLAN NOTICES, 2015, 50 (06) : 346 - 356
  • [32] JS']JSNOSE: Detecting Java']JavaScript Code Smells
    Fard, Amin Milani
    Mesbah, Ali
    [J]. 2013 IEEE 13TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2013, : 116 - 125
  • [33] DRUIDJS']JS - A Java']JavaScript Library for Dimensionality Reduction
    Cutura, Rene
    Kralj, Christoph
    Sedlmair, Michael
    [J]. 2020 IEEE VISUALIZATION CONFERENCE - SHORT PAPERS (VIS 2020), 2020, : 111 - 115
  • [34] Poster: Supporting Java']JavaScript Experimentation with BUGSJS']JS
    Vancsics, Bela
    Gyimesi, Peter
    Stocco, Andrea
    Mazinanian, Davood
    Beszedes, Arpad
    Ferenc, Rudolf
    Mesbah, Ali
    [J]. 2019 IEEE 12TH CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2019), 2019, : 375 - 378
  • [35] Kekule.js']js: An Open Source Java']JavaScript Chemoinformatics Toolkit
    Jiang, Chen
    Jin, Xi
    Dong, Ying
    Chen, Ming
    [J]. JOURNAL OF CHEMICAL INFORMATION AND MODELING, 2016, 56 (06) : 1132 - 1138
  • [36] ACDC-JS']JS: Explorative Benchmarking of Java']JavaScript Memory Management
    Aigner, Martin
    Miller, Alexander
    Huetter, Thomas
    Payer, Hannes
    Kirsch, Christoph M.
    Preishuber, Mario
    [J]. ACM SIGPLAN NOTICES, 2015, 50 (02) : 67 - 78
  • [37] KCF.js']js: A Java']Javascript Library for Knowledge Cards Fusion
    Wang, Haofen
    Fang, Zhijia
    Ruan, Tong
    [J]. PROCEEDINGS OF THE 25TH INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'16 COMPANION), 2016, : 267 - 270
  • [38] Time-Travel Debugging for Java']JavaScript/Node.js']js
    Barr, Earl T.
    Marron, Mark
    Maurer, Ed
    Moseley, Dan
    Seth, Gaurav
    [J]. FSE'16: PROCEEDINGS OF THE 2016 24TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON FOUNDATIONS OF SOFTWARE ENGINEERING, 2016, : 1003 - 1007
  • [39] Protecting Web Browser Extensions from Java']JavaScript Injection Attacks
    Barua, Anton
    Zulkernine, Mohammad
    Weldemariam, Komminist
    [J]. 2013 18TH INTERNATIONAL CONFERENCE ON ENGINEERING OF COMPLEX COMPUTER SYSTEMS (ICECCS), 2013, : 188 - 197
  • [40] Browser Performance of Java']JavaScript Framework, SAPUI5 & jQuery
    Raigoza, Jaime
    Thakkar, Rushi
    [J]. 2016 INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE & COMPUTATIONAL INTELLIGENCE (CSCI), 2016, : 1420 - 1421