Guide
Is confidential computing enough to protect AI workloads from breaches?
Updated
Short answer
No. Confidential computing protects data in use from the host, the hypervisor and the cloud operator. It doesn't protect against a vulnerability in the software running inside the enclave, weak management interfaces around it, or what your own coding agents send out. Treat it as one layer, and add patching, authenticated management interfaces, scoped credentials and a check on each action your agents take.
What confidential computing does#
A trusted execution environment (TEE) keeps memory encrypted while a workload runs, so the cloud operator, the hypervisor and other tenants can't read it. Remote attestation lets you check that the code you expected was loaded on genuine hardware.
That's a real gain, and a narrow one. It answers "can the host see my data?" It doesn't answer "can someone reach the code that handles my data?"
What the November 2026 incidents showed#
NEAR AI was breached through a remote code execution flaw in SGLang. The Hacker News reported that the TEE "does not protect against a vulnerability in the software running inside the environment."
The damage also reached things outside the enclave. About 100 users' account details were downloaded. The attacker reached 18 AI agents on an older deployment that didn't run inside the TEE, and two customers' API keys were exposed in logs.
Phala's preliminary incident report describes a different path. An attacker chained a legacy internet-facing service with management interfaces that trusted loopback access, created unauthorized confidential VMs and obtained application credentials. Phala says to treat request contents sent between Oct 21 and Nov 8 as exposed.
In both cases the way in was software and the management layer around the enclave. Neither report describes breaking the memory encryption itself.
What a TEE does and doesn't stop#
- Stops: a curious or compromised host, a cloud admin reading memory, other tenants on the same hardware.
- Doesn't stop: a bug in the inference engine, the model server or a library. A systematization-of-knowledge paper says it plainly: a TEE can't protect the data it holds if the code inside is vulnerable.
- Doesn't stop: weak authentication on management interfaces, stolen application credentials, or secrets written to logs.
- Doesn't prove: that the app is safe. Attestation tells you what was loaded, not whether that code has flaws or whether the environment around it is locked down.
- Isn't absolute: France's ANSSI says the technology has vulnerabilities and limitations but still gives significant defence in depth, and that it isn't secure enough against a hostile administrator running targeted, active attacks.
Two places your data can leak#
"Confidential AI" is about the vendor's servers. Your data has a second exit: your own developers' machines.
On the vendor side, ask what runs inside the TEE, who patches it, how the management plane authenticates callers, and whether secrets can land in logs. On your side, ask what your coding agents send out. An agent holding a developer's credentials can push code, keys and prompts to places no enclave covers.
Confidential computing does nothing for that second exit. By the time data reaches anyone's hardware, it has already left your machine.
A checklist for a confidential AI vendor#
- Get the architecture in writing: which components run inside the TEE and which don't (older deployments, admin tools, logging).
- Ask how the inference engine and its dependencies get patched, how fast, and how the vendor discloses flaws to customers.
- Ask how every management interface authenticates callers. "It's only reachable on localhost" isn't authentication.
- Confirm secrets never reach logs, and that API keys are scoped and rotatable.
- Don't send anything to a confidential endpoint that you couldn't afford to rotate or revoke. Assume prompts can leak.
- Have a breach plan ready: written scope, credential rotation and a way to pause the integration. See AI vendor breach of customer data.
Covering your own side#
Harden Agentic Integrity Foundation (AIF) runs on the developer laptop, outside the agent, at the agent's pre-execution hook. Each command, file edit and push is checked against the session's intent before it runs, and decisions are made locally in milliseconds. If a secret is headed for a network call, AIF acts before it leaves the machine, and if the check can't run, the action doesn't run.
It's one layer. It doesn't secure a vendor's inference servers, and it doesn't replace least privilege, scoped credentials or egress policy. For the mechanism, see what a pre-execution check should do and stopping agents exfiltrating code or secrets.
FAQ
Related questions
Does a TEE protect against remote code execution?
Not by itself. If the software inside the TEE has an RCE flaw, an attacker who exploits it runs code inside the protected environment and can see what that software sees. The Hacker News made the same point in its report on the NEAR AI SGLang incident.
Is attestation proof that an AI service is secure?
No. Attestation shows what code was loaded on genuine hardware. It doesn't show that the code is free of bugs, that management interfaces authenticate callers, or that secrets stay out of logs.
Should I stop using confidential AI services?
No. They remove a real risk: the host reading your data. Don't treat them as the only control. Ask vendors what runs inside the TEE, how it's patched, and how the management plane is protected.
What protects data before it reaches a vendor?
Controls on your own side: scoped credentials, egress limits, and a check on each action a coding agent takes before it runs. Harden AIF does that check locally at the agent's pre-execution hook, starting watch-only.
Sources
- SGLang RCE Exploit Breaches NEAR AI, Steals Data From 18 Agents and About 100 Users
- Phala November Preliminary Incident Report
- Abstraction of Trusted Execution Environments as the Missing Layer for Broad Confidential Computing Adoption: A Systematization of Knowledge
- ANSSI technical position paper: Confidential Computing