Skip to content

v0.3.4 — Gate decodes calldata

Choose a tag to compare

@yusasecurity yusasecurity released this 14 Nov 03:40
· 7 commits to main since this release

Fixes a gap in the Gate. A raw transaction sent to an allowlisted token was checked only by its top-level to address. A spender or recipient hidden inside the data calldata was never seen, so these all returned allow:

hidden in data v0.3.3 v0.3.4
approve(attacker, MAX) allow block
transfer(attacker, balance) allow block
setApprovalForAll(attacker, true) allow block
multicall: normal transfer + approve(attacker) allow block
unlimited approve to an allowlisted spender allow block
unknown function allow review

Decoded: approve, increaseAllowance, transfer, transferFrom, setApprovalForAll, permit, Permit2 approve, and addresses inside multicall batches.

Still allowed: bounded approvals, transfers and batches to allowlisted addresses, plain ETH sends.

If you run yusa_check_tool_call before signing, upgrade.

28/28 tests. Scanner benchmark unchanged.