In the Nexus
contract, in the fallback function, if calltype is static, it will call to handler
contract by using staticcall
:
But in EIP-7579
link, If the smart account has a fallback handler installed, it MUST use call
to invoke the fallback handler. This will lead to unexpected result when using staticcall
instead of call
Contract are not compliant with ERC-7579, and will lead to unexpected result because of using staticcall instead of call.
Manual review
Using call
instead of staticcall
Invalid, although ERC7579 is violated, staticcall is a desired supported fallback call type as seen in the [documentation](https://github.com/bcnmy/nexus/wiki/Execution-Framework#key-concepts), and there will be no exploit possible
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.