Security
The honest trust boundary.
Inference runs inside hardware-isolated GPU enclaves, and every response comes with a signed receipt. This page says exactly where the boundary is, including what sits outside it.
Customer code is plaintext in two places: our gateway, and the model’s runtime inside a GPU enclave. The hardware stops the cloud host and Phala staff from reading the enclave’s memory.
Our gateway runs on standard cloud hosting for now, so it isn’t hardware-isolated. It never logs or stores content, and its source is public, but our hosting provider and operators could in principle access its memory. We’re moving it into a Phala Confidential VM. Once it’s there, the trust center will show the live hardware attestation.
The developer’s machine and the Claude Code client sit outside our boundary. Claude Code sends some non-essential traffic to Anthropic unless CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 is set, which our CLI sets. Its WebFetch domain check still calls api.anthropic.com. If your egress rules block that host, set "skipWebFetchPreflight": true in your Claude Code settings.
Sealcode can see
- Which member and key made each request, and when
- Model alias, token counts, latency and status
- The Phala receipt ID for each response
- Your organisation’s members, roles, budgets and billing details
- Prompts and code in transit through our gateway, which runs on standard cloud hosting until it moves into a Confidential VM. It never logs or stores them, but it isn’t hardware-isolated yet
Sealcode can’t see
- Your prompts, code or completions after a request: they are never logged or stored
- Inside the model’s GPU enclave, where inference runs, even with root access to the host
- Anything Claude Code does on your laptop that isn’t sent as a request
The request path
- 01Claude Code sends the request to api.sealcode.aiOver TLS to our gateway, which runs on standard cloud hosting until it moves into a Phala Confidential VM.
- 02The gateway authenticates your keyKeys are stored only as HMAC-SHA256 hashes with a secret pepper. A revoked key stops working within five seconds.
- 03Limits and budgets are checkedPer-key rate limits and org and seat budgets. A hard stop returns a readable error in Claude Code.
- 04The request is pinned to a TEE routeThe gateway rewrites the model alias and adds provider {"aci_verified": true, "zdr": true}, discarding any routing the client sent. There is no fallback to an ordinary GPU.
- 05Phala’s attested gateway forwards it to the model’s GPU enclaveInference runs inside confidential computing hardware with zero data retention.
- 06The response streams back unchangedApart from the model name, bytes pass through as the upstream sent them. Errors are passed through too, so Claude Code’s automatic recovery keeps working.
- 07Metadata is recordedTime, key, model, token counts, latency, status and the receipt ID. Never the content.
Controls
No content persistence
Request and response bodies are never logged, stored, cached to disk or sent to third parties, including error trackers. Services log through an allowlist-only logger that rejects free text, and a test scans the whole gateway suite’s output for prompt text.
Enclave-only upstream
Every upstream call requires aci_verified routing, and zero data retention where a route exists. In production the upstream address is compiled into the image, so it can’t be redirected by configuration.
Published code
The gateway’s source and lockfiles are public. Once it runs in a Confidential VM, its attestation hash will let you check the running build against them.
Secrets kept out of the code
Upstream credentials, the database password, the key pepper and encryption keys are secret variables on our host, never in the repository. They become Phala sealed variables when the gateway moves into the enclave.
Tenant isolation
Every dashboard query is scoped to your organisation in SQL, with tests that point every data function at another organisation’s IDs.
Admin protection
Two-factor sign-in is mandatory for owners and admins. Sign-in links are single use, expire in 15 minutes and survive email link scanners.
Report a vulnerability
Go deeper