Agent keys
Hyperliquid enforces that an agent key can place and cancel orders and cannot withdraw or transfer. An account can approve one unnamed and up to 3 named agents; SPECTRE uses one named agent per allocator, valid for at most 180 days. We never reuse an agent address after it is replaced, because Hyperliquid may prune a deregistered agent's nonce state.
Sandbox
Creator code is treated as hostile. It runs in a separate process with no network, a read-only filesystem, and CPU, memory and wall-clock limits. It cannot reach the signer, other strategies or the host. The escape attempts we test against are published in the repository as tests.
Enclaves
The sandbox and signer run inside Phala Cloud confidential VMs on Intel TDX. Each derives its keys inside the VM, so neither we nor Phala hold them. Each publishes a TDX quote that commits to what it serves; the sandbox's quote commits to the key creators seal their code to, and our API hands out that key only while Phala's verifier accepts the quote. The images are public on Docker Hub and pinned by digest in the attested configuration, so anyone can check what runs.
The enclave is still a trust assumption. You rely on Intel and on Phala. And as the app owner we can deploy a new version that inherits the keys; every such change appears in the attestation history on Phala's Trust Center.
Risk guard
The risk guard sits between the sandbox and the signer, outside the hidden code. It enforces the manifest, each allocator's caps and global limits; runs the drawdown stop; and holds a global kill switch. A stopped strategy closes positions in an orderly way rather than all at once.
Contracts
Elysium contracts change only through a 48-hour timelock. The queue is public on the Transparency page. No external audit has been completed. Our internal review is published in the repository.