Security
The app assumes the API could be compromised. Here's what it checks, and what it never does.
The transaction guard
Before any transaction reaches your wallet, the app checks where it goes. Try to trick it:
Sent
Every combination
| Pluto router | Orders contract | Privacy entrypoint | The token you sell | Unknown address | |
|---|---|---|---|---|---|
| Swap | |||||
| Cancel on-chain | |||||
| Shield | |||||
| Approval |
Source: src/lib/config/tx-guard.ts → assertTxAllowed()
| Purpose | Must target |
|---|---|
| Swap | The Pluto router |
| Cancel on-chain | The orders contract |
| Shield | The privacy entrypoint |
| Approval | The token you sell, with Permit2 or the privacy entrypoint as spender |
Signatures get the same check: the EIP-712 domain must name this chain and the expected contract (Permit2 for permits, the orders contract for orders).
Private mode
Page (main thread)Public results only: balances, progress
Never crosses this line
SDK workerKeys, notes, nullifiers. Encrypted at rest.
Pluto API /private/*Sees proofs. Never your wallet or cookies.
WalletUsed twice only: derive the key, send the shield deposit.
Source: src/features/private/sdk/
| Rule | How |
|---|---|
No identifiers on /private/* | Requests send no cookies, no API key and no wallet address. |
| No private reads through the wallet RPC | The SDK reads only from the Pluto API. |
| Secrets clear on lock, account switch and close | The SDK is locked on each of them. |
| No analytics | None anywhere at launch. |
Phishing

- 1Before you sign: the exact amounts, and the least you receive
- 2Nothing is signed until you confirm here
- 3Your wallet then shows the same request; reject it if anything differs