Smart Contract Exploit
Sushi RouteProcessor2 token approvals
Sushi’s April 2023 postmortem describes an incident involving a swap router and explains why existing token permissions mattered.
What the source documents
Sushi released RouteProcessor2 in April 2023. Its postmortem reports that a flaw in the router exposed accounts that had granted it token allowances. An ERC-20 allowance permits a specified spender to move tokens within the approved limit.
How to reduce the risk
Verify the spender, token and allowance before signing. Approve only the required amount when the application supports it. Review and revoke permissions you no longer need. Disconnecting the wallet interface leaves existing on-chain allowances in place.