Attestable Builds: Compiling Verifiable Binaries on Untrusted Systems using Trusted Execution Environments

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Hugenroth, Daniel, Lins, Mario, Mayrhofer, René, Beresford, Alastair
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917038130200576
author Hugenroth, Daniel
Lins, Mario
Mayrhofer, René
Beresford, Alastair
author_facet Hugenroth, Daniel
Lins, Mario
Mayrhofer, René
Beresford, Alastair
contents In this paper we present attestable builds, a new paradigm to provide strong source-to-binary correspondence in software artifacts. We tackle the challenge of opaque build pipelines that disconnect the trust between source code, which can be understood and audited, and the final binary artifact which is difficult to inspect. Our system uses modern trusted execution environments (TEEs) and sandboxed build containers to provide strong guarantees that a given artifact was correctly built from a specific source code snapshot. As such it complements existing approaches like reproducible builds which typically require time-intensive modifications to existing build configurations and dependencies, and require independent parties to continuously build and verify artifacts. In comparison, an attestable build requires only minimal changes to an existing project, and offers nearly instantaneous verification of the correspondence between a given binary and the source code and build pipeline used to construct it. We evaluate it by building open-source software libraries - focusing on projects which are important to the trust chain and have proven difficult to be built deterministically. The overhead (42 seconds start-up latency and 14% increase in build duration) is small in comparison to the overall build time. Importantly, our prototype can build complex projects such as LLVM Clang without requiring any modifications to their source code and build scripts. Finally, we formally model and verify the attestable build design to demonstrate its security against well-resourced adversaries.
format Preprint
id arxiv_https___arxiv_org_abs_2505_02521
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Attestable Builds: Compiling Verifiable Binaries on Untrusted Systems using Trusted Execution Environments
Hugenroth, Daniel
Lins, Mario
Mayrhofer, René
Beresford, Alastair
Cryptography and Security
In this paper we present attestable builds, a new paradigm to provide strong source-to-binary correspondence in software artifacts. We tackle the challenge of opaque build pipelines that disconnect the trust between source code, which can be understood and audited, and the final binary artifact which is difficult to inspect. Our system uses modern trusted execution environments (TEEs) and sandboxed build containers to provide strong guarantees that a given artifact was correctly built from a specific source code snapshot. As such it complements existing approaches like reproducible builds which typically require time-intensive modifications to existing build configurations and dependencies, and require independent parties to continuously build and verify artifacts. In comparison, an attestable build requires only minimal changes to an existing project, and offers nearly instantaneous verification of the correspondence between a given binary and the source code and build pipeline used to construct it. We evaluate it by building open-source software libraries - focusing on projects which are important to the trust chain and have proven difficult to be built deterministically. The overhead (42 seconds start-up latency and 14% increase in build duration) is small in comparison to the overall build time. Importantly, our prototype can build complex projects such as LLVM Clang without requiring any modifications to their source code and build scripts. Finally, we formally model and verify the attestable build design to demonstrate its security against well-resourced adversaries.
title Attestable Builds: Compiling Verifiable Binaries on Untrusted Systems using Trusted Execution Environments
topic Cryptography and Security
url https://arxiv.org/abs/2505.02521