Docs / How it works
Security and trust
This page lists who can do what, what the proof hides, and what it does not.
Who can censor whom
| Actor | Can | Cannot |
|---|---|---|
| Pool owner | Register and retire set providers, take the protocol's fee share from the treasury bucket | Touch note balances, block ragequit, change a proof's recipient |
| Set provider | Leave a deposit out of its set, so that set cannot be used to withdraw it | Take funds, block other providers, block ragequit |
| Relayer | Refuse to submit your withdrawal | Change the recipient or the fee: both are bound into the proof |
| Anyone | Rebuild a provider's set from public deposits and public lists and compare roots | Link a withdrawal to a deposit from the proof |
The worst case for an honest depositor is that every provider leaves them out. Ragequit still returns the money to the depositing address, with the deposit and the exit linked in public.
What a withdrawal reveals
- The amount withdrawn, the recipient, the fee and who submitted it.
- Which provider's set and which root it used.
- That the note is one of the deposits in that set. Nothing narrows it further.
Your privacy is the size of the crowd you hide in: the deposits that are in the same set, in similar amounts, made before your withdrawal. Withdrawing an unusual amount minutes after depositing it shrinks that crowd to one. The app shows the current number of deposits so you can judge.
Trusted setup
Groth16 needs a one-time setup. Spring uses the published keys from the production Privacy Pools ceremony. If every participant in that ceremony had kept their secret and colluded, they could forge proofs. One honest participant is enough to rule that out.
Program checks, in order
- The withdrawn value is above zero and the relayer fee is not larger than it.
- Tree depths are at most 32.
- The provider is not retired and the set root is its current one, or the previous one within 150 slots.
- The state root is one of the last 64.
- The proof verifies against the eight public signals, including the context hash.
- The nullifier account does not exist yet; creating it is the double-spend check.
- Payouts leave every account at zero or above its rent-exempt minimum.
What we measured
A proof with one flipped bit is rejected by our verifier. A deposit funded by a flagged address cannot produce a witness against a set that excludes it: the circuit refuses, so no proof exists to submit.