pith. sign in

arxiv: 1302.3178 · v1 · pith:JEL3IJYOnew · submitted 2013-02-13 · 💻 cs.PL

Information Flow Analysis for a Dynamically Typed Functional Language with Staged Metaprogramming

classification 💻 cs.PL
keywords languageanalysisflowinformationfirstfunctionalmetaprogrammingsecurity
0
0 comments X
read the original abstract

Web applications written in JavaScript are regularly used for dealing with sensitive or personal data. Consequently, reasoning about their security properties has become an important problem, which is made very difficult by the highly dynamic nature of the language, particularly its support for runtime code generation. As a first step towards dealing with this, we propose to investigate security analyses for languages with more principled forms of dynamic code generation. To this end, we present a static information flow analysis for a dynamically typed functional language with prototype-based inheritance and staged metaprogramming. We prove its soundness, implement it and test it on various examples designed to show its relevance to proving security properties, such as noninterference, in JavaScript. To our knowledge, this is the first fully static information flow analysis for a language with staged metaprogramming, and the first formal soundness proof of a CFA-based information flow analysis for a functional programming language.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.