(14)Trust

Security and trust

A post-quantum claim is only as strong as the weakest key that can move funds or change code. This page lists every key in Orle Agent that can do anything, what each one can and cannot do, and the limits Orle Agent states openly.

Chain Robinhood Chain · 4663Code 77da16aOrle Agent Swap 6d5a05cPad 61d8485

14.1In short#

  • No secp256k1 key in Orle Agent can take funds held in a vault or in the shielded pool. They move only with WOTS one-time signatures, checked on chain. The only exposure is money in flight, each deposit while it moves into the pool and the unused balance of each payment channel, from which only that channel's receiver can be paid, a payment wallet's balance of at most 5 USDG when an agent uses one, and guardians an owner makes ordinary wallets, so guardians should be vaults too.
  • Since version 5 a vault's owner may give an agent a key of its own. It is a one-time hash-based key too, and the vault holds every spend it signs to the owner's policy, on chain.
  • Through the Claude connector, Orle Agent's gateway keeps the agent key's seed of each connected vault. What it can spend is what that vault's policy and allowlist allow, until the key ends or the owner stops it; it never holds the owner's seed.
  • Through Orle Agent Bot, the same gateway runs in Orle Agent Cloud, inside a TDX enclave, and keeps each connected vault's agent key seed there, sealed with the enclave's key. Its compose, Orle Agent's code, can change only after 72 hours of public notice on its app contract.
  • The code of the vaults and of the pool can change only through UpgradeOwner: a WOTS-keyed contract whose every call waits 72 hours in public before anyone may run it.
  • The launchpad contracts are not upgradeable. Their owner, still an ordinary account, can only collect the protocol's fees.
  • Orle Agent Swap's contracts are not upgradeable and have no owner, except Buyback, whose owner only names the keeper that trades its funds into Orle token for the burn address.
  • Orle Agent AI is a service, not a contract: it is paid only by vouchers an agent signed, and an agent trusts it with what it paid, that the task runs, and the credit it keeps.
  • There has been no external audit yet. The pool's limits are deliberately small.

14.2Every key with a power#

Keys that hold funds or change code: WOTS#

KeyCanCannot
A vault’s keySign one spend of its vault, then it is replacedSign again once rotated
A creator vault’s keyChange its pools’ rules in traders’ favour; set creator-split shares; run airdrop roundsMove a rule against traders
Shield approval and leaf keysApprove one batch state; move one leaf to the destination it signsAnything else
Upgrade owner key (0x5553…6E5e)Schedule any call, run 72 hours later by anyone. What it owns is the two beacons: it can upgrade them, hand them to another owner, or give them up for goodAct without 72 hours of public notice, or after the 14-day grace period
A vault’s guardians, when they are vaults (optional)Together, at the owner’s threshold, replace the vault’s key after the owner’s delay of 36 hours to 14 daysTake a vault whose owner spends during the delay
A vault's agent key (version 5, optional) Vault.sol:169-181Sign the actions the owner’s policy allows, up to its limit per spend and its daily budget, to recipients, channels, pools and Morpho vaults on the owner’s allowlists, until it ends (at most 90 days)Change the policy or the allowlists, install a key, or sign once the owner stopped it or it ended

Keys that run on secp256k1#

Every transaction on Robinhood Chain, as on any EVM chain today, is signed with secp256k1 by the account that sends it; no application can change that. What Orle Agent changes is what a sender decides. The relayer, the aggregator and the keeper carry calls that WOTS keys, or a vault's own crank, authorized, so a broken sender key can delay a call or refuse to send it, but never alter or forge one. The worst case is the most each key could cost if a quantum computer, or a thief, had it.

KeyCanWorst case if broken
RelayerSend what agents signed, at a price the agent checks; it sees which signed calls come from one client. A signed spend has no expiry, so it could hold a swap and send it later, at a price still within the slippage the agent signed (1% by default)Its own ETH for gas. Calls wait, or the agent sends them with its own fee payer; a signed operation cannot be changed server.ts:1-3
AggregatorCreate, fill, seal and abandon batchesIts own ETH for gas. Batches stall, and a deposit that never seals goes back to its vault after 48 hours aggregator.ts:1-29 Pool.sol:304-314
Keeper fee payer, and a vault’s crank key (optional)Pay the gas of settlements; settle the vault’s payment channelsTheir own ETH for gas. A crank could refund a buyer’s unclaimed escrow to the buyer before claiming it, so its seller loses vouchers not yet claimed; nothing held in the vault
A payment wallet’s key (optional)Pay x402 exact offers, signed transfers of USDG, from a wallet of the seed that holds at most 5 USDG and is topped up from the vaultWhat that wallet holds, at most 5 USDG
Payment-channel voucher keysPay within one channel’s deposit, which the vault’s owner sets: 1 USDG by defaultThe unused balance of that channel, paid only to that channel’s own receiver config.ts:35-39
A shield depositor keyHold one deposit from the vault’s transfer until the deposit landsThat one deposit, currently 250 USDG at most, until it lands; a deposit the pool has no room for is refused before the vault sends anything shield.ts:4-37
Launchpad owner (0x6569…50A2)Collect launch fees, the operator’s share and the buyback share; hand its role to another account or give it upThe protocol’s own fee income. It cannot pause, change fees or rules, mint, or touch liquidity, payouts or vaults
Buyback’s owner and keeper, and Orle Agent Swap’s treasury: the launchpad owner’s account (0x6569…50A2)Trade what Buyback holds into WETH and Orle token, choosing amounts, paths and minimums Buyback.sol:19-28; receive the half of each Orle Agent Swap fee that does not go to the buyback Router.sol:560-575Buyback’s funds traded at a bad price, never sent elsewhere, and the treasury’s fee income; with the launchpad owner’s powers above, the launchpad’s unclaimed buyback share, which it claims to any address
Orle Agent AI’s gateway (a service)Run the tasks it is paid for, claim the vouchers agents signed for them, keep each payer's credit ai.ts:1-15What agents paid it: tasks not run and the credit it keeps. It can claim no voucher an agent did not sign, holds no key of the agent and cannot sign for its vault
Orle Agent Cloud wallet (on Base), the only proposer of Orle Agent Cloud’s timelockPropose, cancel, and 72 hours after proposing run a change of Orle Agent Cloud’s app contract: new code (a compose hash), a new machine, an upgrade of the contractNew code for Orle Agent Cloud after 72 hours of public notice, during which every owner can stop the agent key; what that code could spend is what each connected vault’s policy and allowlist allow
Pool init authority and treasury (same account)Raise the pool’s deposit limits; receive the 0.30% fee when a batch sealsHigher limits and the fee income. It cannot lower the limits, change the fee or the treasury, or move funds
A vault’s guardians, when they are ordinary walletsThe same as guardians that are vaultsThe vault, if its owner neither spends nor cancels during the recovery delay. Guardians that are vaults remove this

The pool's fee and treasury are fixed for good and its limits only go up Pool.sol:201-209. One account was made the launchpad owner deploy.ts:406, the pool's init authority and its treasury deploy.ts:87 at deployment; the beacons it also owned then were handed to UpgradeOwner.

The Claude connector's gateway#

A vault used from Claude is used through Orle Agent's gateway at Orle Agent, a service, not a contract. For each connected vault it runs one MCP server, in a sandbox of its own, as that vault's agent, and keeps that agent's seed. The owner's seed stays in the owner's browser remote.ts:2-83.

CanCannotWorst case if broken
Sign with each connected vault’s agent key, and see every tool call made through it and its answer: balances, addresses, historyChange a policy or an allowlist, install a key, or sign for the owner: those changes are the owner’s, approved in the browser that keeps the vaultWhat each connected vault’s policy and allowlist let its agent key spend, until the key ends or its owner stops it from the vault page

The policy is the owner's bound on that trust: a small limit per spend and per day, recipients added one by one, and a short life for the key keep what is at stake small. Stopping the key in the web app's Agent tab ends it at once, for every app connected with it.

Orle Agent Cloud, where Orle Agent Bot runs#

Orle Agent Bot's agents run in Orle Agent Cloud, the same gateway inside an Intel TDX enclave on Phala Cloud: the agents' seeds are sealed in a signer with no network, the enclave's container logs are off, and anyone can check its attestation. Which compose it may run is decided by its app contract on Base, owned by a TimelockController with a 72-hour delay; the Orle Agent Cloud wallet, an ordinary key on Base, is the only one that can propose a change there, and every change is public for 72 hours before it counts. Not under that notice: the OS image, which Phala's KMS contract allows, and the enclave's encrypted settings (the chain's RPC endpoint, the operators' own users, the bot's token), which Orle Agent can replace at once. HTTPS to Orle Agent Cloud ends at Phala's dstack gateway, in front of the enclave. The Orle Agent Bot page lists who sees what.

14.3The upgrade owner#

An upgrade of the vault beacon changes the code of every vault at once. If that power sat behind an ECDSA key, a quantum computer, or anyone who stole that key, could replace the vaults' code and take their funds without touching a single WOTS key. So both beacons are owned by UpgradeOwner 0x5553…6E5e, deployed and handed both beacons on 19 October 2026 UpgradeOwner.sol:6-28.

Its rules#

  • Every call needs a WOTS signature from its current key over "the fixed signing domain" ‖ chainid ‖ owner ‖ nonce ‖ action ‖ payload ‖ nextKeyRoot, and the key rotates on each one, as a vault's does UpgradeOwner.sol:78-84.
  • schedule records a target and the hash of its calldata, and publishes the full calldata in CallScheduled. It may run 72 hours later, and only until 14 days after that UpgradeOwner.sol:91-101.
  • execute is open to anyone within that window, with exactly the scheduled calldata UpgradeOwner.sol:111-123. A call that fails stays scheduled.
  • cancel is signed too, and a valid cancel never reverts: if the call already ran, it only rotates the key, so a signed cancel can never leave a key half-used UpgradeOwner.sol:103-109.
  • The delay is fixed in the contract at 72 hours (259,200 seconds), and could only ever have been set between 1 and 30 days UpgradeOwner.sol:34-46.

Giving up the upgrade right for good is a scheduled call like any other: renounceOwnership on a beacon, after the same 72 hours.

14.4Watching for an upgrade#

Anyone can check, at any time, that nothing is waiting:

  • every scheduled call emits CallScheduled(id, target, data, eta) on the owner contract, with the full calldata and the earliest time it can run;
  • getCall(id) shows a call's target, time and calldata hash; ids are the owner's nonce at signing;
  • the vault beacon and the pool beacon emit Upgraded when a call runs, and owner() on each returns the owner contract.

An upgrade's calldata names the new implementation, so its source can be checked on Sourcify while the call waits. Seventy-two hours is enough for a vault owner to see an upgrade, read its code and withdraw before it can run.

14.5Audit and testing#

What exists instead, all in the repository:

  • Verified source. Every Orle Agent contract is verified on Sourcify: the published source compiles to the exact code on chain. See contracts.
  • Tests against mainnet. The vault, pool, launchpad and upgrade-owner tests run on a fork of Robinhood Chain mainnet, against the real USDG, Uniswap v4 PoolManager, Universal Router and stock tokens, not mocks Vault.fork.t.sol:83. The WOTS, LtHash and fee libraries also have unit tests.
  • Shared vectors. The TypeScript signer and the Solidity verifier are checked against the same signatures Wots.t.sol:32-40.
  • Tested scripts. The deploy and upgrade scripts each have a fork test that runs them as on mainnet.

14.6Known limits#

Collected from the other pages, so that none is buried:

  • The launchpad owner, the pool's init authority and its treasury are one secp256k1 account. Their powers are limited to collecting fees and raising limits.
  • The relayer, like the aggregator, can see which deposits, leaves and private vaults belong to one client.
  • A signed vault spend has no expiry, so that it is never signed twice: the relayer could hold a signed swap and send it later, at a price still within the slippage the agent signed.
  • If the pool fills up between a vault's transfer and its deposit, the deposit waits on its depositor key until there is room.
  • A machine restored from the seed relies on the relayer's escrow to know which keys already signed.
  • Guardians that are ordinary wallets make a vault's recovery depend on elliptic-curve keys.
  • The aggregator knows which leaves belong to which deposit until a batch seals, and deleting that is policy, not cryptography.
  • The minimum of 8 deposits per batch is enforced by the aggregator, not the contract.
  • The launchpad's buyback share is claimed every hour by its owner to Buyback, which buys Orle token for the burn address; the launchpad's contracts do not force the claim.
  • Buyback's keeper sets each trade's minimum: a stolen keeper key could trade Buyback's funds at a bad price, never send them elsewhere. The same key is the launchpad's owner, which claims the launchpad's buyback share to an address of its choice.
  • Orle Agent AI's gateway code is not public, and an agent's credit with it is a balance the gateway keeps, not a token on chain.
  • Orle Agent's connector gateway keeps the agent key seed of every vault connected to Claude, and sees every tool call made through it and its answer: a connected vault trusts it with what its policy lets the agent key spend.
  • A payment wallet, when an agent uses one for x402 exact offers, is an ordinary secp256k1 wallet holding at most 5 USDG.
  • A private swap's output tag is public before it lands, so anyone may make it revert at the cost of giving its owner at least the minimum.
  • Graduation opens outside liquidity only once the anti-farmer period, up to 365 days, has also ended.
  • A launch made outside the Orle Agent tools may use any contract as its creator vault, and may turn the circuit breaker off.
  • NYSE holidays are encoded up to the end of 2028.
  • Robinhood Chain, USDG and stock tokens are run by their issuers and operators, with their own keys and controls.