JavaScript Instrumentation in Practice

  • Authors:
  • Haruka Kikuchi;Dachuan Yu;Ajay Chander;Hiroshi Inamura;Igor Serikov

  • Affiliations:
  • NTT DOCOMO, Inc.,;DOCOMO Communications Laboratories USA, Inc.,;DOCOMO Communications Laboratories USA, Inc.,;DOCOMO Communications Laboratories USA, Inc.,;DOCOMO Communications Laboratories USA, Inc.,

  • Venue:
  • APLAS '08 Proceedings of the 6th Asian Symposium on Programming Languages and Systems
  • Year:
  • 2008

Quantified Score

Hi-index 0.02

Visualization

Abstract

JavaScript has been exploited to launch various browser-based attacks. Our previous work proposed a theoretical framework applying policy-based code instrumentation to JavaScript. This paper further reports our experience carrying out the theory in practice. Specifically, we discuss how the instrumentation is performed on various JavaScript and HTML syntactic constructs, present a new policy construction method for facilitating the creation and compilation of security policies, and document various practical difficulties arose during our prototyping. Our prototype currently works with several different web browsers, including Safari Mobile running on iPhones. We report our results based on experiments using representative real-world web applications