Reference
Security model & limits
Trust assumptions, what the site and its operator can and cannot do, self-review findings, private reporting.
#Trust assumptions
- Routers are trusted with one swap's amount. The site offers only Uniswap v3 SwapRouter02, tested with the guard on a fork. A router an owner adds by hand could keep the input of a swap; the guard only checks that the owner received at least minOut.
- minOut is the agent's choice. A careless or compromised agent can accept a bad price, bounded by its caps. There is no price oracle check.
- The allowance is shared per owner. Two mandates of one owner draw on the same ERC-20 approval to the guard; each mandate's caps still bound its own agent.
- UTC days. Daily caps reset at 00:00 UTC; up to twice a cap can move around one midnight.
- 64 mandates per owner, revoked ones included.
- Tokens can refuse. A stock token can block an address or pause; a fee-on-transfer token is refused by the guard. Native ETH is not supported.
#What the site can and cannot do
- It cannot move your tokens, change your mandates, pause anyone, or upgrade the contract: the guard has no admin.
- It can show you wrong information, like any website. Before signing, read your wallet's prompt (target is the guard, the agent address is yours), and cross-check the guard's views on the explorer.
- Rejections are kept in your browser only; the site's server keeps short caches of chain reads and rate-limit counters, nothing about your wallet beyond that.
#Self-review findings
- F1 · minOut chosen by the agent (accepted, documented above).
- F2 · routers added by hand are trusted with one swap (accepted; the site offers one tested router).
- F3 · UTC days allow 2× a cap around midnight (by design, documented).
- F4 · one allowance per owner for all mandates (documented).
- F5 · 64 mandates per owner including revoked ones (accepted for v1).
- Also checked: reentrancy (blocked and tested), no-return and false-return tokens, fee-on-transfer (refused), lying routers, leftover balances, pause in the same block.
No outside security review yet. Start with small amounts.
#Report a problem
Please do not post a suspected vulnerability publicly. Use private vulnerability reporting on GitHub: open the Security tab of the repository and choose Report a vulnerability. There is no bug bounty.