Blame-aware Recomposition for Secure Compilation Proofs of Low-Level Compartment Isolation
Basile Schlosser, J\'er\'emy Thibault, Catalin Hritcu
Key points
From the paper's conclusion- We apply this new proof to a compartment isolation mechanism that uses a programmable tag-based reference monitor.
Abstract
The security guarantees of existing formally verified compilers for compartmentalized programs in unsafe languages like C stop at a rather high level, assuming a built-in protection mechanism and a block-based memory model. Verifying a concrete, low-level enforcement mechanism for compartment isolation is still a major challenge for current proof techniques. In particular, Abate et al.'s proof technique fails because one of their proof steps, recomposition, essentially requires hiding all information about the code of each compartment, which is not practically achievable at a low level. We propose an extension of their proof technique to a low-level setting where compartments can fully observe each other's code. To do so, we introduce an overlay semantics that allows us to characterize these observations as a form of undefined behaviour, and we use a novel variant of recomposition that we call blame-aware recomposition, which essentially allows recomposing executions as needed in the original high-level proof technique, even if the low-level context observes the code, because this context is ultimately going to be discarded. We apply this new proof to a compartment isolation mechanism that uses a programmable tag-based reference monitor.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- CapOpt: Capability-Aware Superoptimization for Secure and Provably Faster CodeProceedings of the ACM on Programming Languages · 2026
- Compositional Symbolic Execution \`a la Carte (Extended Version)arXiv · 2026
- Preserving Separation Logic Specifications through CompilationarXiv · 2026
- Proving the Wrong Program: Miscompilations as a Threat to zkVM GuaranteesarXiv · 2026
- Keel: A Verified In-Kernel Proof Checker for Proof Carrying BPFarXiv · 2026
- Verified Implementation of the Next-gen Borrow Checking Algorithm for Rust via Abstract InterpretationarXiv · 2026