Mechanized Noninterference for Gradual Security

Tianyu Chen, Jeremy G. Siek
11/28/2022
1 citation
cs.PL

Official code: Gradual-Typing/LambdaIFCStar (6 stars, Agda, last commit 2026-07-28).

Abstract

This paper presents the first machine-checked proof of noninterference for a language with gradual information-flow control, thereby establishing a rock solid foundation for secure programming languages that give programmers the choice between runtime versus compile-time enforcement. Along the way we uncovered a flaw in one of the noninterference proofs in the literature, and give a counterexample for one of the main lemmas.

Show full abstract

The particular language studied in this paper, $λ_{\mathtt{SEC}}^\star$, is based on the GLIO language of Azevedo de Amorim et al. [2020]. To make the design more accessible to other researchers, this paper contributes the first traditional semantics for the language, that is, we define compilation from $λ_{\mathtt{SEC}}^\star$ to a cast calculus and design a reduction semantics for the latter that includes blame tracking. In addition to the proof of noninterference, we also mechanize proofs of type safety, determinism, and that compilation preserves types.

View on arXivView PDF

Code Implementations(1)

The Agda mechanization of a gradual security-typed programming language with general mutable references.

61Agda, TeXOct 4, 20224 months ago
agdacoercionformalizationgradual-typinginformation-flow+4 more

Similar Papers

Cite this paper

@article{chen2022mechanized,
  title  = {Mechanized Noninterference for Gradual Security},
  author = {Tianyu Chen and Jeremy G. Siek},
  year   = {2022},
  eprint = {2211.15745},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.15745}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.15745.svg)](https://codeofpaper.com/paper/2211.15745)

Discussion