Security model
Gizu is self-custody. The design goal is simple: only the user's device, with the user's approval, can move funds.
Trust boundaries
| Component | Can see | Can't do |
|---|---|---|
| Native wallet + Rust core | Key material, signed bytes, full plans | Sign without a passkey approval on device |
| React Native UI | Public addresses, balances, proposals, status | Read secrets or signed payloads |
| Gizu backend | Public requests, unsigned plans, signed payloads to relay | Hold user keys, sign for users, or change an approved plan |
| Providers (Aurora, 1inch, Pimlico, Biconomy) | Parts of each operation they serve | Spend outside the signed, user-approved limits |
A backend quote or estimate never authorizes a signature. Native code checks every plan against the limits the user reviewed, and verifies settlement independently against chain data.
Key material
- On wallet creation, the device generates 32 bytes of random entropy locally.
- The entropy is stored in the platform's encrypted storage (namespace
io.gizu.storedwallet.v1). - Using it requires a passkey assertion for the relying party
gizu.io.
The passkey authorizes use of the local entropy. It doesn't determine your addresses.
Key derivation
Keys follow BIP-39 (English, empty passphrase) and BIP-44 Ethereum paths:
| Path | Role |
|---|---|
m/44'/60'/0'/0/0 | App account |
m/44'/60'/0'/0/1 | Funding account: public USDC on every funding network |
m/44'/60'/0'/0/2 | Private account: owner of the private USDC balance |
m/44'/60'/0'/0/3 and up | Fresh recipients, allocated in order and recorded before use |
m/44'/60'/145'/{chainId}'/… | Vault investment slots, per chain |
Because every address comes from the same entropy, one backup restores them all. After a restore, Gizu rediscovers balances by scanning recipient indexes within a bounded gap.
Backup
- New wallets aren't usable until an encrypted backup is created and verified.
- The backup is encrypted with a key from the passkey's PRF extension (salt: SHA-256 of
gizu.stored-wallet.recovery-prf.v1). - Restoring requires the backup file and the original passkey. Neither works alone.
- Gizu can't decrypt backups and can't recover a wallet whose passkey is lost.
Approvals
- Every spending operation shows a native review: exact debit, guaranteed minimum, chain and recipients.
- Approval binds the reviewed plan. Retries can't change recipients, weights or caps.
- Reading the private balance uses a separate, read-only authorization. Reading never grants spending authority.
- Locking the wallet revokes signing authority immediately while keeping saved journals.
Platform requirements
- iOS 18+, with passkeys tied to
webcredentials:gizu.io. - Android 9 (API 28)+, with Digital Asset Links for
gizu.io.
Known limits
- Privacy is not anonymity; see How privacy works.
- Losing both your passkey and your backup means losing access to your wallet.
- Recovering the wallet restores holdings, not the full on-device history of past operations.