Test network · stand-in tokens, real prices · no real moneyWhere the project stands
oasis:~/docs/security

Security

What protects your money, and what does not.

Oasis runs on a test network today, with stand-in tokens that are worth nothing. The contracts have been tested but not audited, and nothing is deployed on the real Robinhood Chain. Audit reports and contract addresses will be listed here before any real funds can be deposited.

What the vault guarantees

  • Only you withdraw. The owner of a vault is fixed when it is created. Withdrawals only ever go to the owner. No agent, keeper, author or administrator has a function that moves a vault's funds out.
  • Withdrawing and cancelling never depend on anybody. They work while trading is paused, and whatever the administrator does.
  • The box is enforced by the contract. Per trade, per day, the gap between two buys and the number of agent rules are checked by the vault itself on every buy, on every trade the agent decides and on every run of a rebalance the agent wrote. There is no “unlimited” setting.
  • “Per day” is a level that drains. Each buy adds to it, and a full daily limit drains evenly in 24 hours. A vault never spends more than the daily limit in one go, nor more than twice it in any 24 hours.
  • Only allowed tokens. The agent can use the stocks you picked and the stable token, nothing else.
  • The agent has an end date, at most 90 days away, and you can revoke it in one transaction: its rights and its rules end at once.
  • Every trade is checked against the price feed. The vault measures what it received by its own balance and refuses a result worse than the Chainlink price by more than the rule's slippage. It does not trust the place where the swap happens.
  • A keeper chooses nothing. Whoever presses “run” cannot pick the token, the amount or the price: the rule and the vault decide.

What it does not guarantee

  • That a trade is a good one. The AI can lose money inside its limits.
  • A stop-loss guarantees neither the price nor the execution. It sells at the market after the level is crossed, inside its slippage. When the market is closed, the price feed is silent or liquidity is thin, it can sell late, sell lower, or not sell at all.
  • A stop-loss and a take-profit are not capped by the box. They sell what the rule says, whatever the daily limit: the box is there to cap what is spent, not to stop you getting out. An agent's stop-loss can therefore sell a whole position at the market price, once. Two things bound it: the agent cannot write one that fires at once (the level must be on the far side of today's price), and the agent's slippage is capped at 1.5%.
  • That prices are fresh. On the real chain the price feeds of these stocks publish only when the price has moved by about 0.5%. They can stay silent for hours, and for the whole weekend. A price older than the limit set for the token is refused, and nothing trades.
  • That tokenized stocks trade around the clock with deep liquidity. Liquidity on this chain is thin today.

What we can do, and what we cannot

One shared contract, the hub, holds the settings every vault reads. Its administrator is us.

  • We can never move, freeze or redirect the funds of a vault.
  • Anything that widens what can happen to a vault (a new token, another price feed, another swap route, other fees) is announced on chain and can only take effect after a delay, so that an owner can withdraw first. Narrowing is immediate: pausing trading, switching a token off.
  • That delay is the protection, not a proof of honesty: after it, an administrator who installed a false price feed could make a vault's active rules or its agent trade at a bad price. A vault with no rule and no agent cannot be touched at all. On the test network the delay is zero.
  • The two fees are capped at 0.5% each in the code.
  • The hosted agent is one key that we operate. If it were stolen, the thief could do what the agent can do in the vaults that named it: trade inside each box, create rules. It could not withdraw. Revoking the agent ends it.
  • The price feed is the reference. If a feed published a wrong price, rules could run at that price, within the slippage. We do not control the feeds.

The tokens are not ours

On the real chain, the tokenized stocks are issued by a third party, not by Oasis. The issuer's documentation describes them as tokenised debt securities, not shares. The issuer keeps powers that no vault can override:

  • pause a token for everyone;
  • block an address, which can then neither send nor receive the token;
  • burn tokens by an administrative action, even during a pause.

Who cannot use them

The issuer's terms exclude residents of the United States, Canada, the United Kingdom and Switzerland, and a list of prohibited countries. Someone who may not hold the tokens may not use a vault that holds them. Read the issuer's terms for your own country before anything else.

Good habits

  • Start with the careful limits and a short end date.
  • Read every rule the agent proposes.
  • Only trust addresses published on this site and on @oasisdotfun.

Not affiliated

Oasis is an independent project: it is not affiliated with, endorsed by or sponsored by Robinhood. The names Robinhood Chain, Chainlink and Uniswap are used only to say which network, price feeds and pools the design relies on.