Refinement types for secure implementations
Open accessThe DOI matches its Crossref record; 78 of the 78 references it cites were found in a registry or an index.
Abstract
We present the design and implementation of a typechecker for verifying security properties of the source code of cryptographic protocols and access control mechanisms. The underlying type theory is a λ-calculus equipped with refinement types for expressing pre- and post-conditions within first-order logic. We derive formal cryptographic primitives and represent active adversaries within the type theory. Well-typed programs enjoy assertion-based security properties, with respect to a realistic threat model including key compromise. The implementation amounts to an enhanced typechecker for the general-purpose functional language F # ; typechecking generates verification conditions that are passed to an SMT solver. We describe a series of checked examples. This is the first tool to verify authentication properties of cryptographic protocols by typechecking their source code.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Lecture Notes in Computer Science 1205
(1999) · Industrial Robot: An International Journal · doi:10.1108/ir.1999.04926fae.001 · Cited by 38,662
de Moura, L., & Bjørner, N. (2008) · Lecture Notes in Computer Science · doi:10.1007/978-3-540-78800-3_24 · Cited by 6,595
On the security of public key protocols
Dolev, D., & Yao, A. (1983) · IEEE Transactions on Information Theory · doi:10.1109/tit.1983.1056650 · Cited by 5,833
Random oracles are practical: a paradigm for designing efficient protocols
Bellare, M., & Rogaway, P. (1993) · Proceedings of the 1st ACM conference on Computer and communications security - CCS '93 · doi:10.1145/168588.168596 · Cited by 4,712 · cited 1×
“Following Bhargavan et al. [2007], we start with plain F# functions that create instances of each role of the protocol (such as client or server).”
BackgroundUsing encryption for authentication in large networks of computers
Needham, R. M., & Schroeder, M. D. (1978) · Communications of the ACM · doi:10.1145/359657.359659 · Cited by 2,362 · cited 1×
“The goal is to verify that these properties hold in spite of an active opponent able to send, receive, and apply cryptography to messages on network channels [Needham and Schroeder, 1978].”
BackgroundMartin-Löf, P. (1984) · Bibliopolis eBooks · Cited by 1,590
Extended static checking for Java
Flanagan, C., Leino, K. R. M., Lillibridge, M., Nelson, G., Saxe, J. B., & Stata, R. (2002) · Proceedings of the ACM SIGPLAN 2002 conference on Programming language design and implementation · doi:10.1145/512529.512558 · Cited by 1,340 · cited 3×
“Our approach of annotating programs with pre-and post-conditions has similarities with extended static checkers used for program verification, such as ESC/Java [Flana-gan et al., 2002], Spec# [Barnett et al., 2005], and ES-C/Haskell [Xu, 2006].”
MethodImplementing Mathematics with The Nuprl Proof Development System
Constable, R. L., Allen, S. F., Bromley, H. M., Cleaveland, W. R., Cremer, J. F., Harper, R. W., Howe, D. J., Knoblock, T. B., Mendler, N. P., Panangaden, P., et al. (1986) · Cited by 1,279
Isabelle: A Generic Theorem Prover
Paulson, L. C., & Nipkow, T. (1994) · Cited by 1,196
A calculus for cryptographic protocols: the spi calculus
Abadi, M., & Gordon, A. D. (1997) · Proceedings of the 4th ACM conference on Computer and communications security · doi:10.1145/266420.266432 · Cited by 1,154
Self-citation
Cited by
Modeling and Verifying Security Protocols with the Applied Pi Calculus and ProVerif
Blanchet, B. (2016) · Foundations and Trends® in Privacy and Security · doi:10.1561/3300000004 · Cited by 321
Implementing TLS with Verified Cryptographic Security
Bhargavan, K., Fournet, C., Kohlweiss, M., Pironti, A., & Strub, P. (2013) · 2013 IEEE Symposium on Security and Privacy · doi:10.1109/sp.2013.37 · Cited by 178
“Safety and Perfect Secrecy in F7 (Review) Fournet et al. [27] formalize a probabilistic variant of F7 and develop a framework for the modular cryptographic verification of protocols coded in F#. (K¨usters et al. [41] adopt a similar approach for programs in Java.)”
Self-citationSoK: Computer-Aided Cryptography
Barbosa, M., Barthe, G., Bhargavan, K., Blanchet, B., Cremers, C., Liao, K., & Parno, B. (2021) · 2021 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp40001.2021.00008 · Cited by 143
“3 [3] (around one hour), Signal [47] (a few minutes to more than a day depending on the security property), and Noise Tool RF Auto Comp CS Link TCB AutoG&P [55] self, SMT CertiCrypt [56] Coq CryptHOL [57] Isabelle CryptoVerif [58] self EasyCrypt [59] self, SMT F7 [17] self, SMT F∗ [60] self, SMT FCF [61] Coq ZooCrypt…”
BackgroundSelf-citation
Metadata
- Authors
- Bengtson, J., Bhargavan, K., Fournet, C., Gordon, A. D., & Maffeis, S.
- Venue
- ACM Transactions on Programming Languages and Systems
- Published
- 2011-01
- Volume
- 33
- Issue
- 2
- Pages
- 1-45
- ISSN
- 0164-0925 (ISSN-L)
- 1558-4593
- OpenAlex
- W2036961426
- Cited by
- 224
- References
- 78
- FWCI
- 21.58
- Type
- journal article
- Language
- en
- Open access
- bronze
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.