arXiv:2609.35552cs.CRSep 2026

Manuscript Offprint

arXiv:2609.35552

INTCC: A Framework for Interactive Confidential Computing

Qingzhe Bing, Kaiyuan Zhang, Yinqian Zhang

Abstract

Confidential computing leverages Trusted Execution Environments (TEEs) to ensure the confidentiality and integrity of data in use. However, TEEs rely on remote attestation to guarantee the integrity of their initial memory state. This model is fundamentally at odds with interactive development workflows. In scenarios like LLM fine-tuning and exploratory data analysis, data processors need human-in-the-loop capabilities, including dynamic code injection, intermediate state inspection, and hyperparameter tuning, all of which inherently violate the static, one-time integrity guarantees of traditional remote attestation.

To reconcile this tension, we propose the interactive confidential computing paradigm, a system architecture enabling untrusted data processors to execute dynamic, non-deterministic operations within TEEs without compromising data confidentiality. Driven by the insight that inherently unmeasurable human interaction must be excluded from the Trusted Computing Base (TCB), we logically partition the TEE into an interactive controller and a verifiable runtime. To realize this paradigm, we present INTCC, a framework featuring three key mechanisms: (1) a proxy-based dispatch system to preserve the native development experience; (2) a fine-grained information flow control mechanism based on a security lattice to prevent data leakage; and (3) a privacy-preserving verifiable execution mechanism to guarantee the runtime compliance of dynamic workflows. We implement INTCC on AMD SEV-SNP using Confidential Containers and evaluate it across diverse real-world workloads. Our experiments demonstrate that INTCC effectively balances security and interactivity, incurring a practical overhead of less than 5% for LLM fine-tuning and under 17% for data analysis relative to baseline execution.

CCS Concepts: • Security and privacy → Domain-specific security and privacy architectures.

Keywords: Confidential Computing; Trusted Execution Environments; LLM Fine-Tuning; Data Analysis

1 Introduction

The confidential computing paradigm is reshaping cloud security by ensuring that data remains protected during processing [8]. At its core, this paradigm relies on hardware-based Trusted Execution Environments (TEEs) to establish secure execution contexts through strict memory isolation and transparent hardware-level encryption. Modern TEEs provide protection at various granularities, ranging from process-level enclaves (e.g., Intel SGX [28]) to full-system Confidential Virtual Machines (CVMs) (e.g., AMD SEV-SNP [2] and Intel TDX [29]). By shielding the execution state from the underlying untrusted host operating system or hypervisor, these technologies promise to protect sensitive assets from cloud providers, effectively enabling the secure deployment of cloud-native workloads [13, 40].

However, a fundamental paradox lies at the heart of confidential computing: the rigid, static security model of TEEs is inherently incompatible with the dynamic nature of modern interactive workloads. TEEs rely on remote attestation to guarantee the integrity of their initial memory state [7]. This mechanism binds the trust of the system to a static measurement of the code and data loaded at boot time. This model is fundamentally at odds with interactive workflows. In scenarios like Large Language Model (LLM) fine-tuning [35, 42, 58] or Exploratory Data Analysis (EDA), data processors require human-in-the-loop capabilities, including dynamic code injection, intermediate state inspection, and hyperparameter tuning. These operations are inherently dynamic and cannot be anticipated at launch time, placing them beyond the coverage of traditional remote attestation.

This conflict is explicitly acknowledged by leading industry frameworks. For instance, the Confidential Containers (CoCo) architecture [13] warns that enabling interactive features like kubectl exec fundamentally disrupts the static chain of trust established by remote attestation; consequently, such tools are strictly disabled in production profiles [12]. Red Hat practitioners similarly highlight this dilemma, noting that while diagnosing production issues is crucial, enabling standard debugging “risks exposing sensitive data to the entities we aim to exclude from the trust model, undermining the core principles of confidential computing” [18]. Furthermore, the Confidential Computing Consortium warns that unrestricted debugging interfaces render it “almost impossible to ensure the protection of the confidentiality and integrity of the workload” [14].

Crucially, while existing industry guidelines primarily focus on mitigating threats from untrusted cloud providers,

∗^{*}Both authors contributed equally to this research.

interactive workloads exacerbate the inherent mutual distrust between data owners and data processors. On one hand, data owners cannot safely provision interactive access: once post-launch operations are permitted, a data processor could pivot from a benign tenant executing a pre-measured workload into an active adversary injecting malicious logic to exfiltrate private assets. On the other hand, data processors are reluctant to trust data owners or external auditors. Because interactive workflows embed proprietary algorithms, hyperparameters, and custom logic, processors are fundamentally unwilling to expose their source code or plaintext execution traces for compliance auditing. This dichotomy leaves a critical research gap: how can we enable untrusted data processors to execute non-deterministic, human-in-the-loop workflows on sensitive data, while guaranteeing verifiable runtime compliance for the data owner without compromising the processor's intellectual property?

To address this problem, we present interactive confidential computing, a paradigm that enables untrusted entities to perform dynamic, non-deterministic operations within TEE-protected boundaries while still providing guarantees for data confidentiality and verifiable runtime compliance. The key insight is that because human interaction is inherently arbitrary and unmeasurable, they must be excluded from the Trusted Computing Base (TCB). The underlying architecture for interactivity must therefore be a logical partition: the unmeasurable interactive logic is stripped from the TCB and isolated into an Interactive Controller, while measurable sensitive operations are confined within a Verifiable Runtime. Crucially, the fundamental contract bridging these two partitions is a prescribed security policy. Under this paradigm, data processors can utilize familiar ecosystems (e.g., PyTorch [41]) seamlessly; however, all cross-boundary interactions and operations on sensitive assets are strictly mediated by the Verifiable Runtime to ensure absolute compliance with the agreed-upon security policy.

To realize this partitioned architecture, we propose the INTCC framework to address the critical challenges of maintaining confidentiality and ensuring integrity under dynamic interaction. First, to guarantee performance while preserving the native development experience, we design a proxy-based dispatch system. This system maintains lightweight shadow objects in the controller that reference concrete data within the runtime, enabling data processors to operate on remote assets using standard APIs without incurring the prohibitive overhead of cross-domain serialization. Second, simply separating the domains is insufficient if the interactive controller can infer sensitive data. We solve this by designing a fine-grained information flow control mechanism [15, 45] based on a security lattice that enforces relaxed noninterference, ensuring that only data adhering to declassification policies can cross the security boundary. Third, to establish runtime compliance for dynamically determined execution paths without exposing the data processor's proprietary code to data owners or auditors, we introduce a privacy-preserving verifiable execution mechanism. This mechanism generates canonical audit evidence for dynamic operations, commits to the execution trace, and proves in zero-knowledge that the committed trace satisfies predefined policies.

We instantiate INTCC on AMD SEV-SNP [2] based Kata Containers [54] and evaluate it across real-world interactive workloads, including LLM fine-tuning and data analysis. The results demonstrate that INTCC supports these workflows with practical overhead relative to the baseline, while effectively mitigating data leakage risks [19, 21, 59].

In summary, the contributions are as follows:

• We introduce the interactive confidential computing paradigm to reconcile the fundamental tension between the static integrity guarantees of TEE remote attestation and the inherent dynamism of interactive development.

• We architect the INTCC framework to operationalize this paradigm. INTCC integrates three core mechanisms: (1) a proxy-based dispatch system to preserve native usability and performance; (2) a fine-grained information flow control mechanism to strictly enforce data confidentiality; and (3) a privacy-preserving verifiable execution mechanism to guarantee runtime compliance.

• We implement INTCC on AMD SEV-SNP and evaluate it against real-world workloads. Our results demonstrate that INTCC effectively thwarts data exfiltration while incurring highly practical overhead (e.g., < 5% for LLM fine-tuning and < 17% for data analysis).

References (20)