Back to Search Start Over

Checking cryptographic API usage with composable annotations (short paper)

Authors :
L. Thomas van Binsbergen
Duncan Mitchell
Johannes Kinder
Blake Loring
Source :
PEPM
Publication Year :
2017
Publisher :
ACM, 2017.

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 λJS and implement a runtime checked type extension using code instrumentation for full JavaScript.

Details

Database :
OpenAIRE
Journal :
Proceedings of the ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation
Accession number :
edsair.doi.dedup.....94aa5645b7dffa58861ad4a7fcbb7aac