-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure of signature validation due to renounce of ownership #10
Comments
After careful review, we have determined that this issue is not a valid concern for the following reasons:
In conclusion, while disabling the |
@mihailo-maksa Thanks for the detailed comment. This is actually a risk associated with users action and it is also not documented in shared |
We understand your concerns, but we really want to emphasize the point that our implementation works as intended, allowing users to make their own choices about ownership. Also, we are planning on implementing the |
@cgmello Renounce of ownership in both |
The ability to renounce ownership is intentional and aligns with our design, making this issue invalid. The reason why #72 was accepted is that the fix was actually useful and implemented, whereas this issue does not necessitate a change. |
Github username: --
Twitter username: --
Submission hash (on-chain): 0x614eb3d24183cf703374120eac6ed9bd3a62b0b0ba295e9b609450b23948c288
Severity: low
Description:
Description\
AtomWallet.sol
has inherited openzeppelin's OwnableUpgradeable.sol contract for owner related functionalities. This also means thatrenounceOwnership()
can be directly called and owner would be set to zero address. This high impact would affect the ``AtomWallet.sol` contract in following way:To validated the signature, the above function checks that the
recovered
address is indeed owner of wallet. However, when renounceOwnership() function is called by wallet owner then the checkif (recovered != owner()) { return SIG_VALIDATION_FAILED;
would fail and signature would not be validated.Recommendations
Disable the
renounceOwnership()
function by overriding it.NOTE:
This should not be considered centralized risk as the likelihood is low but the impact is very much high so considering the contest, it should be low severtiy.
The text was updated successfully, but these errors were encountered: