perpilot:~/docs/security

Security

What protects you, and what does not.

Elysium mainnet, real USDC, contracts not audited. Use only amounts you can afford to lose.

What protects you

  • Only you withdraw. The vault's cash goes only to its owner. Withdrawing and closing your own positions never depend on the agent, the keepers or the hub, and work while opening is paused.
  • The box is on chain. The agent and the rules can only commit the margin, the leverage and the markets you signed.
  • Widening waits. A new engine, new markets or risk settings, other price updaters or higher fees wait the hub's delay in public, so an owner can close and withdraw first. Narrowing (pause, switch a market off) is immediate.
  • Prices are bounded. A price older than the market's maximum age is refused, and the oracle refuses a push that moves a price more than 20% at once.
  • The pool can pay. Profit per position is capped at 900% of its margin, open size is capped per side and against the pool's cash, and pool withdrawals wait while open positions need the liquidity.

What does not protect you

  • Leverage. A position can lose its whole margin, and a fast move can liquidate it before its stop-loss runs.
  • The price source. Prices are pushed by the Perpilot service from Hyperliquid's mark price. If it stops, trading stops; if its key leaked, prices could be pushed wrong within the 20% step. When Elysium's HyperCore read precompile ships, the prices can be read on chain instead.
  • The pool's side. Liquidity providers lose when traders win.
  • One owner key. The hub's owner, the guardian, the price updater and the agent are keys held by the Perpilot service, not a multisig.

Not done yet

An audit, a multisig owner with separate keys, a longer delay, an on-chain price source, and a legal review. Open size starts small on purpose: $25,000 per side on BTC and ETH, $5,000 on the others, and never more than the pool holds.