Confidential computing on Kubernetes has a granularity problem. Current Confidential Containers (CoCo) deployments attest the virtual machine, not the workload inside it, and they incur prohibitive per-VM resource overhead for the privilege. A preprint from researchers at OPPO and Phala proposes a different trade: share a single Intel TDX confidential VM across multiple pods, but bind each pod’s identity directly into hardware-signed attestation quotes.
The Granularity Problem
As of 2026, Confidential Containers, the CNCF-incubating project built on Kata Containers, works by launching each pod inside its own microVM with confidential-computing flags set. The VM’s measured boot chain proves the guest OS booted correctly. What it does not prove is which container image is running, which pod spec was admitted, or what workload identity the pod claims. The attestation boundary stops at the guest OS stack: a verifier can confirm that a trusted kernel booted, but not that the specific pod it approved, with its exact images and environment variables, is the one executing. The paper’s threat model explicitly assumes the adversary controls the Kubernetes control plane, which is the layer that decides what runs inside that VM.
On the resource side, the prohibitive per-VM resource overhead of each Kata microVM makes density the binding constraint for multi-tenant clusters running confidential LLM inference or regulated data processing.
As of 2026, managed cloud offerings from Azure, GKE, and AWS have stable interfaces for confidential containers, but they inherit the same one-pod-per-VM model. Standard runc containers remain unprotected even when SEV-SNP or TDX hardware is available on the node.
Two-Layer Attestation in dstack-capsule
The dstack-capsule paper splits attestation into two layers that run on a single shared TDX confidential VM.
Static layer. The guest kernel, initrd, and dm-verity-protected OS image are measured during boot into the TDX runtime measurement registers, and dstack-agent extends RTMR[3] with its configuration and its Ed25519 public key. The privilege fuse freezes RTMR[3] at the transition to runtime mode, and once frozen the register cannot change for the lifetime of the VM.
Dynamic layer. On every attestation request, each pod’s identity is packed into the TDX Quote’s 64-byte report_data field, signed by the CPU. The field carries a SHA-256 digest binding the pod_uid, a pod_spec_hash, a workload_id, and caller-supplied user_report_data. A relying party can verify not just that a confidential VM is running, but that a specific pod with a specific spec digest is running inside it.
The key difference from CoCo’s approach: because TDX quotes are per-request and per-pod, multiple pods can coexist in the same VM without diluting the attestation signal. Each pod gets its own hardware-backed proof of identity, and a co-resident pod cannot forge that proof because it cannot write to another pod’s report_data field.
The Privilege Fuse
dstack-capsule introduces a mechanism the authors call the privilege fuse: an irreversible, atomic state transition that moves a Kubernetes node from a privileged setup phase to a locked-down runtime phase. The implementation uses a compare-and-swap operation plus a persistent marker file that survives VM restarts.
Before the fuse is blown, the node admits privileged DaemonSets (the CSI driver, Sysbox, the VPC controller, DNS), each matched to a dstack.org/workload-id annotation. After the fuse is blown, every new pod requesting hostNetwork, hostPID, hostIPC, hostPath, or the privileged security context flag is rejected, and RTMR[3] is frozen. There is no unfuse operation.
Where that rejection happens is the interesting design decision. It is not a Kubernetes API-server admission controller, which would sit inside the control plane the paper’s adversary controls. The modified kubelet exposes Authorizer hook points and delegates each admission decision to dstack-agent over gRPC before container creation, so the check runs inside the confidential VM, on the measurement chain the hardware signed. That admission check is the only cluster decision the design moves inside the measured boundary; the scheduler and the rest of the control plane stay outside it, treated as adversarial. The paper specifies the rejection list as a fixed set rather than a per-cluster policy, which would remove the misconfigured-policy failure class from this layer. What remains is the setup phase: whatever is admitted before the fuse keeps its privileges until the VM is reprovisioned, so the fuse has to be triggered at exactly the right moment.
This is a design pattern worth naming because it solves a real operational problem. Confidential VMs need a setup phase where the node joins the cluster, pulls images, and configures networking. Without a fuse-like mechanism, that setup phase is a permanent privilege window. With it, the window closes once and cannot be reopened without reprovisioning the entire VM.
The operational cost is real. The paper states that any change to privileged components (the agent, the kubelet hooks, the system DaemonSets) requires a CVM restart to remeasure and re-fuse, and recommends blue-green node pools for zero-downtime updates. Node lifecycle is effectively immutable after fuse-blow, and a misconfigured fuse locks you out of node maintenance without reprovisioning.
The Multi-Layer Sandbox
dstack-capsule does not rely on attestation alone. The implementation, built on Kubernetes 1.32 with Intel TDX and Sysbox, stacks five isolation layers to contain the blast radius of a compromised pod:
- Storage: Per-pod ZFS datasets with AES-256-GCM encryption, each keyed from the workload-specific key hierarchy
- Runtime: Sysbox user namespaces mapping container root to an unprivileged host UID, for isolation without per-pod VMs
- Admission: Post-fuse rejection of
hostNetwork,hostPID,hostIPC,hostPath, and privileged contexts, enforced at the modified kubelet before container creation - API: Kubelet default-deny for exec, attach, logs, and port-forward, with per-workload opt-in annotations
- Network: WireGuard VPC with spec-declared whitelists, where the whitelist is folded into the attested pod spec digest
The choice of Sysbox over Kata is what enables the shared-VM model. Sysbox provides user-namespace-based isolation at container granularity without launching a separate VM per pod, which is why the memory footprint stays closer to a standard Kubernetes deployment than to CoCo’s dedicated VM per pod. The implementation is compact, roughly 7,700 lines of Rust and 660 of Go by the authors’ count, which at least keeps the audit surface small once the code is released.
dstack the Framework, dstack-capsule the Extension
It is worth separating two things that share a name, because the announcement that accompanied the preprint blurs them. dstack is a shipping open-source confidential-computing runtime maintained by Phala, and it keeps its audit surface public: source, image state, KMS behavior, gateway paths, and policy state are available for review. Its model is deliberately coarse: you bring a compose file as-is, dstack runs the app inside a confidential VM, per-app keys are released only after attestation passes, and public traffic enters through a dstack-gateway CVM that routes over WireGuard. The whole VM is the attestation unit. It accepts hardware attestation from Intel TDX, AMD SEV-SNP, TPM, AWS Nitro NSM, and NVIDIA Hopper and Blackwell confidential GPUs on the same proof path.
dstack-capsule is the research extension described in the OPPO and Phala paper, not a released product. It keeps the full-VM TDX boundary but subdivides it: multiple pods share one confidential VM, and each pod carries its own hardware-signed identity through report_data. The distinction matters for anyone reading the announcement. The framework you can deploy today attests at VM granularity, and it measures more than CoCo’s guest-OS boot chain: dstack binds the compose file, OS image, hardware report, and KMS policy to one app identity, so the workload’s declared configuration is inside the proof. The unit is still the VM, not the pod. Pod granularity is the part that is still a paper, and the table below compares that paper, not the shipping runtime.
CoCo vs. dstack-capsule
| Dimension | Confidential Containers (CoCo) | dstack-capsule |
|---|---|---|
| Isolation unit | One pod per Kata microVM | Multiple pods per TDX VM with Sysbox |
| Memory per pod | Dedicated VM per pod with prohibitive overhead | Shared VM pool, no per-pod VM overhead |
| Attestation target | Guest OS boot measurements | Pod UID + spec hash + workload ID in TDX Quote |
| Attestation granularity | VM-level | Pod-level |
| Maturity | CNCF incubating; Azure, GKE, AWS offerings | arXiv preprint, research prototype |
| Hardware | AMD SEV-SNP, Intel TDX | Intel TDX only |
The density advantage is straightforward: dstack-capsule’s shared-VM model should accommodate more pods per node than CoCo because each pod is a Sysbox container, not a full VM. In the preprint’s scaling test, a single 64 GB confidential VM reached 86 pods before hitting the kubelet’s pod-count limit rather than a memory wall, with the VM using 1.1 GB of its 64 GB at that point; CoCo’s per-VM model exhausts the same hardware at roughly 30 pods. Those runs used idle busybox workloads, so the multiplier for memory-hungry production services is untested.
The verifier side of this comparison is moving too. A 2026 preprint from Ericsson Research, Aalto University, and Ghent University researchers proposes TrustMee, which ships each attester platform’s verification logic alongside its evidence as a sandboxed WebAssembly component, so a verifier can appraise new evidence formats without adding native parsing code to its trusted base. Its Confidential Containers component matters here: it appraises the Kata agent policy bound to the confidential VM and exposes the permitted container images, execution commands, and debug settings as claims, where “Trustee today exposes only the opaque policy digest” (Trustee is the Confidential Containers project’s attestation service). That is still not pod-level attestation, because the Kata policy constrains what a VM may run without binding a specific pod’s identity into a CPU-signed quote. It does show the granularity gap being worked from the verifier side while dstack-capsule takes the attester-side route.
Confidential LLM Inference Needs the GPU Attested Too
The paper’s recurring example is confidential LLM inference, but the pod-level scheme attests CPU state. report_data lives in a TDX Quote signed by the CPU, and RTMR[3] covers the guest boot chain. Neither says anything about what runs on an attached accelerator. Model weights and activations that touch GPU memory sit outside that boundary unless the GPU is itself a TEE.
The authors name this gap themselves: their future-work list includes GPU TEE integration, on the logic that “Extending Pod-level attestation to include GPU measurement registers would enable confidential ML training workloads.” NVIDIA Confidential Computing on Hopper and Blackwell provides TEE-isolated GPU execution with its own measurement path, which a relying party has to verify alongside the CPU quote. The shipping dstack framework already moves private inference onto Hopper or Blackwell confidential GPUs without changing how the app proves itself; the capsule paper does not extend pod-level identity into that GPU evidence. A deployment that wants per-pod proof and confidential GPU compute therefore has to stitch two attestation chains together and trust the binding between them. For inference on a shared accelerator that binding is exactly where a careful review belongs, because a pod-level CPU proof tells you nothing about which pod’s tensors a co-resident workload can read off the card.
There is also a separate question the hardware quote does not answer: attesting where a model ran is not the same as attesting which model ran. A valid TDX quote proves a specific pod spec executed in a genuine TEE, not that the bytes it served match the model you approved. Bit-exact inference verification attacks the second problem, and a regulated confidential-inference stack arguably needs both.
What This Means for Multi-Tenant Clusters
The second-order effect of pod-level attestation lands on secrets injection and compromised-node containment.
In current CoCo deployments, secrets are typically delivered to the VM during boot, before the workload starts. The attestation verifies the VM booted correctly, then the secrets are released. But if attestation only covers the VM and not the pod, a compromised control plane could land a different pod on that hardware and the VM-level attestation would still pass. The secrets would be available to the wrong workload.
dstack-capsule’s model binds the pod spec hash into the CPU-signed quote. A relying party (a KMS running in an independent TEE) can verify that the exact pod spec it approved is the one requesting the secret. A co-resident pod with a different spec hash cannot impersonate the attested pod because it cannot produce a valid TDX quote with the target’s pod_uid and pod_spec_hash.
The threat model assumes simultaneous collusion between the cloud platform operator (who controls the hypervisor, host OS, and Kubernetes control plane) and the pod developer (who may try to extract user data or escalate privileges). Trust is placed in the Intel TDX hardware and microcode, the dm-verity-protected OS image, and the independently-attested KMS. If any of those layers breaks, the model breaks with it.
For platform teams evaluating confidential Kubernetes, the question is not whether dstack-capsule is production-ready today (it is not). The question is whether pod-level attestation becomes a requirement as regulated workloads move onto shared infrastructure. If it does, the two-layer architecture, with static platform measurements and dynamic pod identity, is a plausible design for getting there without the density tax of one VM per pod.
Join the discussion
Share a useful perspective or ask a question about this article.