Field Notes
A small, source-linked blog

2026-09-25 · AI-assisted

Combining TEEs and MPC: Security Trade-Offs and Architecture

Combining Trusted Execution Environments with Multi-Party Computation introduces complex threat models, host-side rollback vulnerabilities, and centralized trust clashes.

According to a Trail of Bits Blog post, developers frequently explore combining Trusted Execution Environments (TEEs) with Multi-Party Computation (MPC). While this combination offers potential defense-in-depth benefits for distributed cryptographic systems, it also introduces complex threat models and operational challenges.

What Changed: The TEE and MPC Intersection

The source states that TEEs provide hardware-based security via memory encryption (confidentiality), tamper protection (integrity), and cryptographic remote attestation. Meanwhile, MPC distributes trust across multiple independent parties.

According to the source, combining these technologies allows developers to potentially elevate semi-honest MPC protocols—which assume participants follow the rules—to malicious security guarantees. If TEE attestation proves that all participants are running an uncompromised protocol implementation, it can eliminate implementation flaws like malformed messages or protocol deviations.

How It Works: The Host Attack Surface

The source explains that while TEEs protect the guest environment, the underlying host system controls storage and I/O. This separation introduces specific vulnerabilities.

A malicious host can execute filesystem state rollbacks. For example, if a threshold signer deletes a used pre-signature after processing it, a host state rollback can reset the filesystem. This forces the signer to reuse a nonce share, which can leak its private key share.

To mitigate these risks, the source notes that developers must terminate peer-to-peer communications directly inside enclaves using TLS and write constant-time code to prevent timing side channels. Furthermore, proper TEE attestation verification requires checking the signature, validating the manufacturer's certificate chain, and confirming measurements against binary transparency logs.

Why Developers Might Care

Developers building threshold signature schemes or distributed cryptographic systems can use TEE attestation to enforce correct protocol execution. According to the source, this strategy helps mitigate common implementation bugs, such as ambiguous hash functions or missing Fiat-Shamir parameters, by adding a hardware-enforced layer of verification.

Limitations and Trust Clashes

The source highlights several severe limitations when combining TEEs and MPC:

Sources