stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: low
Valid

Use Ownable2Step instead of Ownable

Summary

Ownable2Step and Ownable2StepUpgradeable prevent the contract ownership from mistakenly being transferred to an address that cannot handle it (e.g. due to a typo in the address), by requiring that the recipient of the owner permissions actively accept via a contract call of its own.

Vulnerability details

SDLPoolPrimary.sol ( #L19 ):

contract WrappedTokenBridge is Ownable, CCIPReceiver {

RewardsInitiator.sol ( #L16 ):

contract RewardsInitiator is Ownable {

RESDLTokenBridge.sol ( #L16 ):

contract RESDLTokenBridge is Ownable {

SDLPoolCCIPController.sol ( #L13 ):

abstract contract SDLPoolCCIPController is Ownable, CCIPReceiver {

LinearBoostController.sol ( #L10 ):

contract LinearBoostController is Ownable {

Tools Used

Manual Analysis

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Validated
Assigned finding tags:

ownable-2step

have a 2-step owner transfer

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.