Trusted execution environments (TEEs): boundaries, properties, and fit

A trusted execution environment is useful only when its protected boundary, trusted computing base, and evidence are stated precisely.

Abstract botanical artwork combining painted flowers with fine technical linework.

Direct answer

A trusted execution environment is an isolated execution boundary intended to provide confidentiality and integrity for code and data against actors outside that boundary. In confidential computing, the TEE is hardware-based and attested so another party can evaluate claims about its identity and state.

The properties that define the boundary

The Confidential Computing Consortium centers three properties: data confidentiality, data integrity, and code integrity. Attestability allows a remote party to evaluate evidence about the environment. Code confidentiality may exist in some implementations, but it is not safe to assume it from the term TEE alone.CCC

PropertyQuestion it answersBuyer test
Data confidentialityCan an unauthorized actor outside the TEE read data in use?Attempt access through host, hypervisor, debug, management, and device paths
Data integrityCan that actor silently alter protected runtime data?Review page ownership/integrity controls and exercise tamper/failure behavior
Code integrityCan admitted code be changed without detection?Compare measured launch and runtime claims with approved reference values
AttestabilityCan a relying party evaluate identity and state before trust?Obtain fresh evidence and independently appraise it against explicit policy
CCC

Enclave, confidential VM, and device TEE

TEE designs protect different units. An application enclave can keep the trusted computing base small but may require application changes. A whole-VM TEE can run a conventional guest and application stack with fewer changes, while placing more guest software inside trust. A device TEE, such as a supported confidential GPU, must be securely attached to a CPU TEE and included in the workload’s attestation and keying flow.

FormAdoption benefitTrade-off
Application enclaveNarrow boundary and potentially smaller TCBPorting, constrained runtime, and enclave-specific I/O patterns
Whole confidential VMRuns familiar operating systems and containersGuest kernel and more runtime software enter the TCB
Confidential accelerator/deviceProtects high-throughput compute outside the CPURequires an end-to-end supported host, device path, firmware, driver, and evidence chain

What it protects—and what it does not

  • Potentially protects active code and data from the host OS, hypervisor, other tenants, administrators, and some physical paths—only as stated by the platform threat model.
  • Does not automatically encrypt external storage or network traffic; those controls remain necessary.
  • Does not make vulnerable or malicious code inside the TEE safe.
  • Does not prevent the host from withholding CPU time, memory, network, devices, or power.
  • Does not eliminate every timing, cache, access-pattern, power, fault, or physical side channel.
  • Does not control what an authorized application releases in outputs, logs, or tool calls.
CCC

How to compare TEE platforms

  1. List adversaries and physical assumptions, including whether a cloud or data-center operator is excluded.
  2. Draw exactly which CPU state, memory, devices, firmware, I/O, and management paths are protected.
  3. Inventory the trusted computing base and how it is measured and updated.
  4. Inspect evidence format, endorsement and revocation services, reference values, freshness, and verifier ownership.
  5. Test secret release and denial on measurement, version, debug-state, and device-membership changes.
  6. Review lifecycle constraints: migration, backup, crash handling, observability, patching, and incident response.

Frequently asked questions

Is every secure enclave a confidential-computing TEE?

The Confidential Computing Consortium uses a specific scope: hardware-based, attested TEEs protecting data in use. Products called secure enclaves can have different boundaries or roots of trust, so evaluate their published properties rather than the label.

Is a smaller TEE always more secure?

A smaller trusted computing base can reduce attack surface, but architecture quality, implementation, side-channel assumptions, operational correctness, and application changes also matter.

Can a TEE replace application security?

No. Code running inside the TEE can still have vulnerabilities, authorize the wrong actor, leak through outputs, call unsafe tools, or mishandle secrets.

Sources

  1. CCC
    A Technical Analysis of Confidential ComputingConfidential Computing Consortium

Relevant GPU availability

Verified specifications, confidential-mode support, and public listings for the accelerators this post covers.

Ready to reserve capacity?

Confidential Nodes matches bare-metal confidential GPU nodes to workloads, with verified provider data behind every listing.