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 条
  • [1] JSISOLATE: Lightweight in-browser JavaScript isolation
    Zhang, Mingxue
    Meng, Wei
    [J]. ESEC/FSE 2021 - Proceedings of the 29th ACM Joint Meeting European Software Engineering Conference and Symposium on the Foundations of Software Engineering, 2021, : 193 - 204
  • [2] pileup. js']js: a Java']JavaScript library for interactive and in-browser visualization of genomic data
    Vanderkam, Dan
    Aksoy, B. Arman
    Hodes, Isaac
    Perrone, Jaclyn
    Hammerbacher, Jeff
    [J]. BIOINFORMATICS, 2016, 32 (15) : 2378 - 2379
  • [3] VisibleV8: In-browser Monitoring of Java']JavaScript in the Wild
    Jueckstock, Jordan
    Kapravelos, Alexandros
    [J]. IMC'19: PROCEEDINGS OF THE 2019 ACM INTERNET MEASUREMENT CONFERENCE, 2019, : 393 - 405
  • [4] JS']JSgraph: Enabling Reconstruction of Web Attacks via Efficient Tracking of Live In-Browser Java']JavaScript Executions
    Li, Bo
    Vadrevu, Phani
    Lee, Kyu Hyung
    Perdisci, Roberto
    [J]. 25TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2018), 2018,
  • [5] Typed JS']JS: A Lightweight Typed Java']JavaScript Engine for Mobile Devices
    Choi, Ryan H.
    Choi, Youngil
    [J]. MOBILE COMPUTING, APPLICATIONS, AND SERVICES (MOBICASE 2015), 2015, 162 : 107 - 121
  • [6] js']jsPsych: A Java']JavaScript library for creating behavioral experiments in a Web browser
    de Leeuw, Joshua R.
    [J]. BEHAVIOR RESEARCH METHODS, 2015, 47 (01) : 1 - 12
  • [7] SecureJS']JS Compiler: Portable Memory Isolation in Java']JavaScript
    Ko, Yoonseok
    Rezk, Tamara
    Serrano, Manuel
    [J]. 36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021, 2021, : 1265 - 1274
  • [8] Java']JavaScript instrumentation for browser security
    Yu, Dachuan
    Chander, Ajay
    Islam, Nayeem
    Serikov, Igor
    [J]. ACM SIGPLAN NOTICES, 2007, 42 (01) : 237 - 249
  • [9] Java']JavaScript Instrumentation for Browser Security
    Yu, Dachuan
    Chander, Ajay
    Islam, Nayeem
    Serikov, Igor
    [J]. CONFERENCE RECORD OF POPL 2007: THE 34TH ACM SIGPLAN SIGACT SYMPOSIUM ON PRINCIPLES OF PROGAMMING LANGUAGES, 2007, : 237 - 249
  • [10] MPIjs']js: An MPI Package In Java']Javascript For Browser-based Distributed Computing Environments
    Yung, Chung
    Pan, Lucas
    [J]. PROCEEDINGS OF THE 2017 INTERNATIONAL CONFERENCE ON INFORMATION TECHNOLOGY (ICIT 2017), 2017, : 81 - 85