Security model
The parts, the keys, what each can do, and where privacy can leak.
The parts
| Part | Where | Holds |
|---|---|---|
| Vault | Contract on Elysium | Most reserve USDC |
| FeeRouter | Contract on Elysium | Fees |
| Timelock | Contract on Elysium | Ownership of the vault and the FeeRouter |
| Buffer | Account on Hyperliquid | 20% to 30% of reserves |
| Engine | Enclave | The reserve ledger, protection orders, and three keys |
| Relayer | Ordinary server | A gas wallet. No authority over funds |
| Public API | Ordinary server | Aggregate figures only |
The keys and what each can do
Operator key (enclave). Posts heartbeats. Moves USDC from the vault along one allowlisted bridge route to the buffer, up to a cap per epoch. It cannot send vault funds anywhere else.
Voucher key (enclave). Signs withdrawal vouchers. The vault pays a voucher once; a nullifier stops it being used twice.
Buffer key (enclave). Controls the buffer account on Hyperliquid. It can send the buffer anywhere. This is the largest single trust point.
Owner (timelock). Changes fees, caps and the allowlisted route, and upgrades contracts, after a 48-hour delay.
Guardian. Pauses deposits at once. Freezes every power the enclave has at once: no vouchers, no bridging, no heartbeats. Can cancel an operation waiting in the timelock. It cannot move funds, and only the timelock can undo a freeze.
Relayer key. Pays gas. A stolen relayer key costs its gas balance.
The limits on the enclave
- The bridge route is fixed in the vault: Relay’s deposit contract on Elysium. The operator key cannot name another contract.
- The amounts bridged, paid out by voucher, and collected as fees are each capped per epoch on chain.
- A voucher is valid for one withdrawal, one amount and one recipient, and only after a heartbeat that already shows the money gone from the reserve.
- In an escape, no reserve can claim more than it deposited, whatever the last state root says.
- The guardian can freeze the enclave’s powers at once.
- If the enclave stops posting heartbeats for 7 days, the escape hatch opens and depositors withdraw directly.
None of these stops a compromised enclave from draining the buffer, or from signing vouchers against the vault up to the cap per epoch. The vault checks that bridged funds go to Relay’s contract; it cannot check the Hyperliquid address named inside the bridge request. These limits slow an attacker and give depositors an exit.
Attestation
When the engine runs in a Phala Cloud confidential VM, the Transparency page shows its remote attestation: a signed statement of exactly which code is running, from the hardware.
Attestation shows which code runs. The report names the engine’s image by its digest, and that image is public on Docker Hub. The source repository is not public yet, so what you can inspect today is the built image. Attestation does not show that the code is free of bugs, and it does not protect against a flaw in the hardware.
The engine derives its keys inside the enclave, from a key service that releases them only to this app. The quote commits to the engine’s public keys, so you can check that the vault’s operator and voucher signer, shown on the explorer, are the keys this enclave holds.
Check it yourself
The Transparency page shows the result of our own check and links to the evidence. To repeat it without trusting us:
- Fetch the engine’s quote and event log from the “Raw quote” link on the Transparency page, and its public keys from the same address with
/v1/infoin place of/v1/attestation. - Verify the quote’s signature chain. Phala’s public verifier does it (
POST https://cloud-api.phala.com/api/v1/attestations/verifywith the quote), and so do the open toolsdcap-qvlanddstack-verifier. - Compute sha256 over the engine’s box public key, then its operator, voucher signer and buffer addresses in lower case. The quote’s report data must begin with that hash. This ties the keys to the enclave.
- Read the vault’s
operatorandvoucherSigneron the explorer. They must be the same addresses. - Compute sha256 of the
appComposetext in the attestation. It must equal thecompose-hashentry in the event log. That text names the engine’s image by digest.
What we can still do
We deploy the engine, and we can deploy a new version of it. A new version keeps the same keys, because the keys belong to the app and not to one build. An update that was malicious, or wrong, could read them. Every update changes the measurement in the attestation. If the image digest in the report changes and we have not said why, treat it as a warning.
The engine’s logs and error reports are visible to us. It removes every address from them before they leave the enclave. The figures it reports to our API are totals: reserves owed, defences fired, amounts sent.
Hosting mode
The engine can run in two modes, and the Transparency page states which one is live.
- Phala Cloud enclave. While the attested code runs, we cannot read protection orders or the reserve ledger, and we cannot extract the keys. See “What we can still do” above.
- Interim host. The same container on an ordinary server. There is no enclave. In this mode we, the operator, can read protection orders and hold the keys in server memory. Treat every privacy statement on this site as not yet true while this mode is live.
What is public and what is not
Public on Elysium: every deposit (address, size, time, commitment), every withdrawal (recipient, amount, time), heartbeats, total liabilities, contract balances.
Public on Hyperliquid: the buffer address and every transfer out of it. Once a defence fires, anyone can see that your account received a top-up from the buffer.
Known only to the enclave: which reserve protects which account, each reserve’s balance, and the terms of each order.
Never collected: names, email addresses, IP-linked profiles. The public API serves aggregates only.
Ways the link can leak
- You link the wallets yourself. A deposit wallet that has traded funds with your trading account connects them for anyone.
- Timing. A deposit followed minutes later by an unusual change on one account can be matched by a patient observer.
- Withdrawing to a linked address.
- A defence. After one fires, the top-up is visible. That is the design: the reserve stays hidden until the moment it is needed.
Audit
There has been no external audit. The contracts have unit, fuzz and invariant tests, static analysis, and an internal review written as a hostile reader. That is less than an audit.