Java']JavaScript&Me, A Tool to Support Research into Code Transformation and Browser Security

被引:0
|
作者
Lima, Susana [1 ,2 ]
Morla, Ricardo [3 ,4 ]
Routar, Joao [2 ]
机构
[1] Univ Porto, Porto, Portugal
[2] Jscrambler, Porto, Portugal
[3] Univ Porto, ECE Dept, Porto, Portugal
[4] Univ Porto, INESC TEC, Porto, Portugal
关键词
!text type='Java']Java[!/text]Script; Code Collection; Code Processing; Code Transformations;
D O I
10.1145/3511808.3557620
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Doing research into code variations and their applications to browser security is challenging. One of the most important aspects of this research is to choose a relevant dataset on which machine learning algorithms can be applied to yield useful results. Although JavaScript code is widely available on various sources, such as package managers, code hosting platforms, and websites, collecting a large corpus of JavaScript and curating it is not a simple task. We present a novel open-source tool that helps with this task by allowing the automatic and systematic collection, processing, and transformation of JavaScript code. These three steps are performed by independent modules, and each one can be extended to incorporate new features, such as additional code sources, or transformation tools, adding to the flexibility of our tool and expanding its usability. Additionally, we use our tool to create a corpus of around 270k JavaScript files, including regular, minified, and obfuscated code, on which we perform a brief analysis. The conclusions from this analysis show the importance of properly curating a dataset before using it in research tasks, such as machine learning classifiers, reinforcing the relevance of our tool.
引用
收藏
页码:4224 / 4228
页数:5
相关论文
共 13 条
  • [1] Java']JavaScript instrumentation for browser security
    Yu, Dachuan
    Chander, Ajay
    Islam, Nayeem
    Serikov, Igor
    [J]. ACM SIGPLAN NOTICES, 2007, 42 (01) : 237 - 249
  • [2] 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
  • [3] CSS Browser Selector Plus: A Java']JavaScript Library to Support Cross-browser Responsive Design
    Johansen, Richard Duchatsch
    Pagani Britto, Talita C.
    Cusin, Cesar Augusto
    [J]. PROCEEDINGS OF THE 22ND INTERNATIONAL CONFERENCE ON WORLD WIDE WEB (WWW'13 COMPANION), 2013, : 27 - 29
  • [4] Script InSight: Using Models to Explore Java']JavaScript Code from the Browser View
    Li, Peng
    Wohlstadter, Eric
    [J]. WEB ENGINEERING, PROCEEDINGS, 2009, 5648 : 260 - 274
  • [5] CONSCRIPT: Specifying and Enforcing Fine-Grained Security Policies for Java']JavaScript in the Browser
    Meyerovich, Leo A.
    Livshits, Benjamin
    [J]. 2010 IEEE SYMPOSIUM ON SECURITY AND PRIVACY, 2010, : SSS - +
  • [6] Enhancing Java']Java ME Security Support with Resource Usage Monitoring
    Castrucci, Alessandro
    Martinelli, Fabio
    Mori, Paolo
    Roperti, Francesco
    [J]. INFORMATION AND COMMUNICATIONS SECURITY, PROCEEDINGS, 2008, 5308 : 256 - 266
  • [7] Enhancing Java']Java ME Security Support with Resource Usage Monitoring
    Martinelli, Fabio
    Massacci, Fabio
    Mori, Paolo
    Schaefer, Christian
    Walter, Thomas
    [J]. ERCIM NEWS, 2008, (75): : 47 - 48
  • [8] ESC/Java']Java2 as a tool to ensure security in the source code of Java']Java applications
    Schubert, Aleksy
    Chrzaszcz, Jacek
    [J]. SOFTWARE ENGINEERING TECHNIQUES: DESIGN FOR QUALITY, 2006, 227 : 337 - +
  • [9] Security Vulnerabilities in Java']Javascript Hotpatching in iOS with a Commercial and Open-Source Tool
    Ford, Sarah
    Olmsted, Aspen
    [J]. 2017 INTERNATIONAL CONFERENCE ON INFORMATION SOCIETY (I-SOCIETY 2017), 2017, : 108 - 110
  • [10] A methodology and tool support for generating scheduled native code for real-time Java']Java applications
    Kloukinas, C
    Nakhli, C
    Yovine, S
    [J]. EMBEDDED SOFTWARE, PROCEEDINGS, 2003, 2855 : 274 - 289