You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A fallback handler is a contract that gets CALLed by a Safe contract when no matching method was found in proxies/singleton contracts. This great feature allows us to extend Safe's functionality (e.g., ERC-4337), but it's dangerous when misused.
If set to a bad contract (e.g., a token address), anyone could call the safe, and the safe would forward the call to a token as if it'd be legitimately calling the contract through execTransaction.
The text was updated successfully, but these errors were encountered:
mmv08
changed the title
add a warning when changing the fallback handler to a contract that's untrusted
Show a warning when changing the fallback handler to an untrusted contract
Jan 2, 2025
What is the feature about
A fallback handler is a contract that gets
CALL
ed by a Safe contract when no matching method was found in proxies/singleton contracts. This great feature allows us to extend Safe's functionality (e.g., ERC-4337), but it's dangerous when misused.If set to a bad contract (e.g., a token address), anyone could call the safe, and the safe would forward the call to a token as if it'd be legitimately calling the contract through
execTransaction
.The list of requirements
A transaction that sets the fallback handler to an untrusted address should display a warning similar to the delegate call.
Example transaction: https://app.safe.global/transactions/tx?safe=sep:0x12c0916493b9BEd2A9882d7722191660194eB47d&id=multisig_0x12c0916493b9BEd2A9882d7722191660194eB47d_0x68004c3de4755bca601f1b3e7b945c563a8b997f5a06dedc6063151989f8ee49
Designs/sketches
To be filled by the team
Links
safe-global/safe-smart-account#879
The text was updated successfully, but these errors were encountered: