Kettle: Attested builds for verifiable software provenance
Pith reviewed 2026-05-12 01:04 UTC · model grok-4.3
The pith
Kettle produces hardware-attested provenance for builds inside confidential VMs so verifiers confirm binaries match claimed inputs by trusting only the TEE vendor.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
Kettle records the source commit, dependency set, toolchain, build environment, and output artifact digests in a provenance document produced inside a measured confidential VM. The SHA-256 digest of that document is committed to the TEE platform's attestation report-data field, so the hardware-signed attestation report is itself the signature on the provenance, with the signing identity chaining to the TEE manufacturer's root of trust rather than to the build infrastructure operator. Because the CVM image is itself reproducible, its launch measurement is public and stable, which lets a build requester pre-attest the CVM before submitting any input and optionally deliver source over a TLS ch
What carries the argument
The provenance document whose digest is placed in the TEE attestation report-data field, with the CVM image being reproducible to enable pre-attestation and confidential input delivery.
If this is right
- Verification requires only one signature check against the vendor root and a small set of digest comparisons, with no need to re-execute the build.
- Builds can run end-to-end confidentially without the host seeing source code in plaintext.
- The build infrastructure, its operators, and the artifact distribution channel are removed from the trust surface a verifier must accept.
- Requesters can pre-attest the CVM image before submitting inputs.
Where Pith is reading between the lines
- Similar provenance mechanisms could apply to other reproducible build pipelines if they gain hardware attestation primitives.
- The model reduces the value of compromising build servers or distribution networks for supply-chain attacks.
- Widespread use would shift verification costs from repeated rebuilds to lightweight signature and digest checks.
Load-bearing premise
The TEE platform must deliver a trustworthy attestation report whose signing identity chains to the manufacturer's root of trust, and the confidential VM image must remain reproducible with a public and stable launch measurement.
What would settle it
An attestation report accepted by verifiers whose report-data digest does not match the actual provenance document, or a publicly distributed CVM image whose launch measurement changes without notice.
Figures
read the original abstract
Kettle is an attested build system that produces cryptographically verifiable provenance for software built inside Trusted Execution Environments (TEEs). A Kettle build records the source commit, dependency set, toolchain, build environment, and output artifact digests in a provenance document produced inside a measured confidential VM. The SHA-256 digest of that document is committed to the TEE platform's attestation report-data field, so the hardware-signed attestation report is itself the signature on the provenance, with the signing identity chaining to the TEE manufacturer's root of trust rather than to the build infrastructure operator. Because the CVM image is itself reproducible, its launch measurement is public and stable, which lets a build requester pre-attest the CVM before submitting any input and optionally deliver source over a TLS channel terminated inside it, so the build runs end-to-end confidentially without the host ever seeing source code in plaintext. Verification reduces to one signature check against the vendor root and a small set of digest comparisons, with no need to re-execute the build. The result removes the build infrastructure, its operators, and the artifact distribution channel from the trust surface a verifier must accept when deciding whether a binary corresponds to its claimed inputs.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. Kettle is an attested build system that produces cryptographically verifiable provenance for software built inside Trusted Execution Environments (TEEs). A Kettle build records the source commit, dependency set, toolchain, build environment, and output artifact digests in a provenance document produced inside a measured confidential VM. The SHA-256 digest of that document is committed to the TEE platform's attestation report-data field, so the hardware-signed attestation report is itself the signature on the provenance, with the signing identity chaining to the TEE manufacturer's root of trust. Because the CVM image is itself reproducible, its launch measurement is public and stable, which lets a build requester pre-attest the CVM before submitting any input and optionally deliver source over a TLS channel terminated inside it. Verification reduces to one signature check against the vendor root and a small set of digest comparisons, with no need to re-execute the build. The result removes the build infrastructure, its operators, and the artifact distribution channel from the trust surface a verifier must accept when deciding whether a binary corresponds to its claimed inputs.
Significance. If the central assumptions hold, Kettle provides a meaningful reduction in the trusted computing base for software provenance by shifting reliance from build operators and infrastructure to hardware attestation roots. This could strengthen supply-chain security for reproducible builds without requiring verifiers to re-execute or trust additional parties, building directly on existing TEE attestation primitives.
major comments (3)
- [Abstract] Abstract: The claim that 'the CVM image is itself reproducible' with a 'public and stable' launch measurement is load-bearing for the pre-attestation step and the removal of build infrastructure from the trust surface. The manuscript provides no description of the CVM image construction process, no enumeration of eliminated sources of non-determinism (timestamps, paths, compiler seeds, etc.), and no evidence or reference demonstrating that the measurement remains invariant across builds.
- [Abstract] Abstract: The architecture assumes that the TEE platform's attestation report provides a trustworthy binding whose signing identity chains to the manufacturer's root of trust, yet the manuscript contains no threat model, no analysis of attestation forgery or CVM isolation failures, and no discussion of how a verifier would handle revocation or platform-specific quirks.
- [Abstract] Abstract: Verification is described as 'one signature check ... and a small set of digest comparisons' with 'no need to re-execute the build,' but the manuscript supplies neither the exact verification algorithm nor any argument that this procedure is sufficient to detect all relevant provenance violations under the stated threat model.
minor comments (2)
- [Abstract] The abstract would benefit from naming the target TEE platform(s) (e.g., AMD SEV-SNP, Intel TDX) and the specific attestation report format used.
- No references to prior work on reproducible builds (e.g., Nix, Bazel, or SLSA) or TEE-based attestation systems appear in the provided text; adding a short related-work paragraph would clarify novelty.
Simulated Author's Rebuttal
We thank the referee for the positive summary and the recommendation for major revision. We address each major comment below and will make the indicated changes to strengthen the manuscript.
read point-by-point responses
-
Referee: [Abstract] Abstract: The claim that 'the CVM image is itself reproducible' with a 'public and stable' launch measurement is load-bearing for the pre-attestation step and the removal of build infrastructure from the trust surface. The manuscript provides no description of the CVM image construction process, no enumeration of eliminated sources of non-determinism (timestamps, paths, compiler seeds, etc.), and no evidence or reference demonstrating that the measurement remains invariant across builds.
Authors: We agree that the abstract claim requires explicit supporting detail. The manuscript currently mentions reproducibility only at a high level. In the revision we will add a dedicated subsection describing the CVM construction process, enumerate the eliminated sources of non-determinism (fixed timestamps, absolute paths, disabled compiler randomization, pinned dependencies), and include both the public build recipe and the resulting stable launch measurement hash as evidence. revision: yes
-
Referee: [Abstract] Abstract: The architecture assumes that the TEE platform's attestation report provides a trustworthy binding whose signing identity chains to the manufacturer's root of trust, yet the manuscript contains no threat model, no analysis of attestation forgery or CVM isolation failures, and no discussion of how a verifier would handle revocation or platform-specific quirks.
Authors: We acknowledge that the current manuscript assumes standard TEE attestation properties without a dedicated analysis. We will expand the existing threat-model section to include explicit discussion of attestation forgery vectors, CVM isolation failure scenarios, revocation handling via vendor certificate mechanisms, and platform-specific considerations for the TEEs under consideration. revision: yes
-
Referee: [Abstract] Abstract: Verification is described as 'one signature check ... and a small set of digest comparisons' with 'no need to re-execute the build,' but the manuscript supplies neither the exact verification algorithm nor any argument that this procedure is sufficient to detect all relevant provenance violations under the stated threat model.
Authors: We agree that a precise verification procedure and sufficiency argument are needed. In the revision we will add pseudocode for the verification algorithm and a short proof sketch showing that the combination of attestation signature verification, report-data binding, and provenance digest checks detects the relevant classes of provenance violation (mismatched inputs, tampered artifacts) under the TEE threat model. revision: yes
Circularity Check
No significant circularity; claims rest on external TEE properties and stated reproducibility assumption
full rationale
The paper presents a system architecture for attested builds without equations, fitted parameters, or mathematical derivations. The central claim that build infrastructure is removed from the trust surface follows from standard hardware attestation chaining to the vendor root plus the explicit assumption that the CVM image is reproducible (yielding a stable launch measurement). This assumption is stated directly rather than derived from prior steps in the paper. No self-citations, self-definitional loops, or renamed known results appear in the abstract or described chain. Verification is reduced to signature validation and digest checks using ordinary cryptographic primitives.
Axiom & Free-Parameter Ledger
axioms (2)
- domain assumption TEE hardware attestation report-data field can be used to bind a provenance document hash to a hardware signature that chains to the manufacturer root of trust
- domain assumption The CVM image is reproducible with a public and stable launch measurement
Reference graph
Works this paper leans on
-
[1]
https://reproducible-builds.org
Reproducible Builds.Reproducible Builds project. https://reproducible-builds.org
-
[2]
C. Lamb and S. Zacchiroli. Reproducible Builds: Increasing the Integrity of Software Supply Chains.IEEE Software, 39(2):62–70, 2022. https://doi.org/10.1109/MS.2021.3073045. Preprint: https://arxiv.org/abs/2104.06020
-
[3]
E. Dolstra, M. de Jonge, and E. Visser. Nix: A Safe and Policy-Free System for Software Deployment. InProceedings of the 18th USENIX Conference on System Administration (LISA ’04), pp. 79–92, 2004
work page 2004
-
[4]
AWS Builder Cen- ter, September 2024
Automata Network.Creating Attestable Builds with AWS Nitro Enclaves. AWS Builder Cen- ter, September 2024. https://builder.aws.com/content/2lZdD8iDfAGbQpWK8g8fGvQ1kp8/ creating-attestable-builds-with-aws-nitro-enclaves
work page 2024
-
[5]
Protocol-aware firmware rehosting for effective fuzzing of embedded network stacks
D. Hugenroth, M. Lins, R. Mayrhofer, and A. R. Beresford. Attestable Builds: Compiling Verifiable Binaries on Untrusted Systems using Trusted Execution Environments. In Proceedings of the 2025 ACM SIGSAC Conference on Computer and Communications Security (CCS ’25), pp. 4514–4528, ACM, 2025. https://doi.org/10.1145/3719027.3765128. Preprint: https://arxiv....
-
[6]
AMD.AMD SEV-SNP: Strengthening VM Isolation with Integrity Protec- tion and More. Document 70366, 2020. https://docs.amd.com/v/u/en-US/ SEV-SNP-strengthening-vm-isolation-with-integrity-protection-and-more
work page 2020
-
[7]
Intel.Intel Trust Domain Extensions (Intel TDX) Module Base Architecture Specification. Document ID 853294, 2025. https://www.intel.com/content/www/us/en/content-details/ 853294/intel-trust-domain-extensions-intel-tdx-module-base-architecture-specification. html. 25
work page 2025
-
[8]
S. Torres-Arias, H. Afzali, T. K. Kuppusamy, R. Curtmola, and J. Cappos. in-toto: Providing farm-to-table guarantees for bytes and bits. InProceedings of the 28th USENIX Security Symposium, pp. 1393–1410, 2019. https://www.usenix.org/conference/usenixsecurity19/ presentation/torres-arias. Specification at https://github.com/in-toto/attestation
work page 2019
-
[9]
Stagex.A container-native, full-source bootstrapped, reproducible toolchain. https://stagex. tools, source at https://codeberg.org/stagex/stagex
-
[10]
https://slsa.dev/spec/v1.2/build-provenance, 2025
SLSA Community.Build: Provenance v1.2. https://slsa.dev/spec/v1.2/build-provenance, 2025
work page 2025
-
[11]
https://github.com/ lunal-dev/kettle
Lunal Dev.Kettle: attested builds for verifiable software provenance. https://github.com/ lunal-dev/kettle. 26
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.