JSFlow
Authors:
Open Access
- 24 March 2014
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 1663-1671
Abstract
JavaScript drives the evolution of the web into a powerful application platform. Increasingly, web applications combine services from different providers. The script inclusion mechanism routinely turns barebone web pages into full-fledged services built up from third-party code. Such code provides a range of facilities from helper utilities (such as jQuery) to readily available services (such as Google Analytics and Tynt). Script inclusion poses a challenge of ensuring that the integrated third-party code respects security and privacy. This paper presents JSFlow, a security-enhanced JavaScript interpreter for fine-grained tracking of information flow. We show how to resolve practical challenges for enforcing information-flow policies for the full JavaScript language, as well as tracking information in the presence of libraries, as provided by browser APIs. The interpreter is itself written in JavaScript, which enables deployment as a browser extension. Our experiments with the extension provide in-depth understanding of information manipulation by third-party scripts such as Google Analytics. We find that different sites intended to provide similar services effectuate rather different security policies for the user's sensitive information: some ensure it does not leave the browser, others share it with the originating server, while yet others freely propagate it to third parties.Keywords
Funding Information
- Seventh Framework Programme
This publication has 26 references indexed in Scilit:
- JSand2012
- FlowFox2012
- You are what you include2012
- Security of Web Mashups: A Survey2012
- Boosting the Permissiveness of Dynamic Information-Flow Tracking by Testing2012
- Information flow analysis for javascript2011
- Vetting browser extensions for security vulnerabilities with VEXCommunications of the ACM, 2011
- Termination-Insensitive Noninterference Leaks More Than Just a Bit2008
- Language-based information-flow securityIEEE Journal on Selected Areas in Communications, 2003
- Undecidability of static analysisACM Letters on Programming Languages and Systems, 1992