Visible to the public Checking Cryptographic API Usage with Composable Annotations (Short Paper)

TitleChecking Cryptographic API Usage with Composable Annotations (Short Paper)
Publication TypeConference Paper
Year of Publication2018
AuthorsMitchell, Duncan, van Binsbergen, L. Thomas, Loring, Blake, Kinder, Johannes
Conference NameProceedings of the ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-5587-2
Keywordscomposability, compositionality, Computing Theory, JavaScript, pubcrawl, type systems
Abstract

Developers of applications relying on cryptographic libraries can easily make mistakes in their use. Popular dynamic languages such as JavaScript make testing or verifying such applications particularly challenging. In this paper, we present our ongoing work toward a methodology for automatically checking security properties in JavaScript code. Our main idea is to attach security annotations to values that encode properties of interest. We illustrate our idea using examples and, as an initial step in our line of work, we present a formalization of security annotations in a statically typed lambda calculus. As next steps, we will translate our annotations to a dynamically typed formalization of JavaScript such as $lambda$JS and implement a runtime checked type extension using code instrumentation for full JavaScript.

URLhttps://dl.acm.org/citation.cfm?doid=3162071
DOI10.1145/3162071
Citation Keymitchell_checking_2018