Score an accountOpen the app
Product +
TrialsTrial scorerFunded desksThe fundPayoutsRules
Resources +
DocumentationContractsSDK and scorerAPI and MCPDev logskill.mdFees

Security model

This chapter says who enforces what. It is the honest map of the system.

Enforced by Hyperliquid

  • An API wallet signs only trading actions. withdraw3, usdSend, spotSend, usdClassTransfer, approveAgent and approveBuilderFee are user-signed: the user of a desk's account is the desk contract.
  • The one transfer an API wallet can sign, agentSendAsset, must keep the same source and destination address: it moves value between the desk's own perp and spot balances, never to another account. The desk counts its spot USDC in its equity, and anything bought on spot outside USDC counts as zero, so it trips the floor.
  • Approving a new API wallet under an existing name deregisters the old one.
  • CoreWriter actions sent by a contract act for that contract's own HyperCore account. Orders and vault transfers from CoreWriter execute a few seconds after the HyperEVM block.

Enforced by the Athlos contracts

  • Who can open desks (keeper), and that the book's USDC goes only to desks or home to the fund.
  • The desk rules and what a breach does: replace the API wallet and send closing orders.
  • The payout split (80 / 20), once per UTC day, only from a flat desk, only profit above the allocation.
  • The fund's value comes only from the book's alias through the Inbox.
  • Trial fees wait in escrow and go back to the trader if no verdict arrives in time.
  • Owner exits never touch backers' capital, trial escrow, stakes or unclaimed rewards.
  • After seven days without a keeper ping, anyone can wind the desks down and send capital home.

Done by the keeper

  • Calling poke() quickly. Between two checks, a gap or slippage can take a desk below its floor before it is closed; the loss beyond the floor is the fund's.
  • Scoring trials and posting verdicts. The verdict is reproducible from public data with the published scorer and its report hash is on chain; the unrealized swings between public samples come from the keeper's own samples.
  • Opening desks after a pass, bridging capital between Elysium and HyperEVM, relaying the fund value every hour.
  • Watching what the contracts cannot see on chain: resting orders in other markets, vault deposits and sub-accounts created by an API wallet. Each of these lowers the desk's account value, which trips a floor; the recovery calls above bring the capital back.

Known exposures

  • Trading against yourself. A trader can lose a desk's money to their own account by trading against it in a thin book, perp or spot. In deep books the floors stop it near 10% of the allocation; in a thin book a single block of self-trading can take more before the next check, within Hyperliquid's own price bands. The allowed list, the keeper's watch of every desk, the trial before any desk and modest allocation sizes are what bound it today.
  • Bridge timing. Elysium to HyperEVM takes about a day; the idle reserve covers redemptions meanwhile.
  • Software. The contracts are tested with unit, fuzz and fork tests and have not been audited by a third party.