QA Report #274
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
Low
[L-01] Use Two-Step Transfer Pattern for Access Controls
Impact
Contracts implementing access control's, e.g.
owner
, should consider implementing a Two-Step Transfer pattern.Otherwise it's possible that the role mistakenly transfers ownership to the wrong address, resulting in a loss of the role
Proof of Concept
AuraVestedEscrow.sol::setAdmin()
,Booster.sol::setOwner()
,Booster.sol::setFeeManager()
,Booster.sol::setPoolManager()
,Booster.sol::setVoteDelegate()
Recommendation
Consider adding a two-step approach when assigning new controllers.
Example
[L-02] Do not use Deprecated Library Functions
Impact
The usage of deprecated library functions should be discouraged.
Proof of Concept
Recommendation
Use
safeIncreaseAllowance
/safeDecreaseAllowance
instead ofsafeApprove
.Tools used
manual, slither
The text was updated successfully, but these errors were encountered: