Portal Community

What Is a TEE?

Hardware Isolation

The TEE's computation and memory are encrypted and isolated from the host OS, hypervisor, and even cloud provider. Code and data inside the TEE are not visible externally — including to the infrastructure team.

Attestation

Any party can verify the code running inside the TEE by requesting a cryptographically signed attestation report — proving that specific code (measured by hash) is running in a genuine TEE.

Egress Restriction

Data leaving the TEE must be explicitly authorized. The security model assumes that any data exiting the boundary may be observed by the host — so sensitive computation results must not leave in plaintext.

No Ad-Hoc Access

Traditional debugging (SSH, debugger attach, memory dump) is impossible inside a TEE. Observability must be designed into the system before deployment — reactive debugging tools are not available.

TEE Observability Risk Model

Signal TypeRisk of Crossing BoundaryAllowed?
Aggregated metrics (count, sum, avg)Low — no individual data pointsYes — with review
Sanitized structured logs (no payload data)Low — operational context onlyYes — with sanitization policy
Raw workflow payload data in logsHigh — may contain confidential computation input/outputNo
Distributed trace spans with span attributesMedium — attributes may reveal computation detailsTrace IDs only (not spans)
Exception stack tracesHigh — may reveal internal state or data valuesNo — only error codes
Attestation report (TEE identity)None — cryptographic proof onlyYes
TEE Observability Must Be Designed Before Deployment

Unlike standard deployments where you can add logging after the fact, TEE observability must be part of the initial design. Once BizFirstGO is running in a TEE, you cannot add new telemetry emission points without modifying and re-attesting the code. Define your observability contract (what signals, what data) before the first TEE deployment.