Repository navigation
v0.3.5 — Gate reads every value format and signature
Second round of attacking our own Gate. Ten gaps closed:
| case | v0.3.4 | v0.3.5 |
|---|---|---|
value 5 ETH as hex wei (0x4563…) |
allow | block |
value "5 ETH" or unreadable ("lots") |
allow | block |
| large value in a nested transaction object | allow | block |
| unlimited Permit / Permit2 typed-data signature | allow | block |
eth_sign, or personal_sign over a raw hash |
allow | block |
0X-prefixed or bare 40-hex address |
allow | block |
ENS name in an address field (attacker.eth) |
allow | block |
URL without a scheme, or wss:// |
allow | block |
Also fixes a false block: 0.01 ETH written in wei ("10000000000000000") was read as 1e16 ETH. Now allowed.
Still allowed: bounded Permits, readable personal_sign messages, large token amounts, git SHAs and versions in notes, allowlisted hosts written without a scheme.
If you run yusa_check_tool_call before signing, upgrade.
31/31 tests. Scanner benchmark unchanged.