-
Notifications
You must be signed in to change notification settings - Fork 2
[Optional] Session 1 Audit Report Discussion #1
Comments
There is a low vulnerability [L-01] caused by the amount of control the The recommended fixes here are:
This is a common thing to be thinking about when auditing. If there are roles that give addresses super admin privileges or if a contract is upgradable then protocols need to be super careful about how to build those mechanism. Also probably build circuit break failure paths if things do go wrong. |
Low vulnerability [L-02] requires to have a safer way to transfer ownership of the contract by using a 2 step method.
|
Low vulnerability [L-03] "Owner can renounce ownership" this requires to disable some privileges from the owner of the contract; since the import code Ownable.sol link mentiones the function renounceOwnership function that could leave the contract without owner even if it is not by design'
however the recommendation is confusing since it is recommended to use Ownable2steps.sol in L-02 and if that is the case, there is no renounceOwnership function to call or perhaps, since Ownable2step is also Ownable, it could inherited renounceOwnership function? @Robert-H-Leonard @wzrdk3lly |
[L-06] No Check if OnErc721Received is implemented |
Audit report for this discussion is here on the Canto protocol: https://code4rena.com/reports/2022-11-canto/
Please leave a comment with your analysis of an vulnerability and/or questions and thoughts your have.
The text was updated successfully, but these errors were encountered: