The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Single-Step Ownership Transfer in LiquidationPoolManager and SmartVaultIndex

Summary

The audit has identified a vulnerability related to the ownership transfer mechanism in the LiquidationPoolManager and SmartVaultIndex contracts. The issue stems from the use of a single-step transfer, which poses a risk of permanent loss of ownership or admin rights.

Vulnerability Details

The root cause of the vulnerability is the implementation of a single-step ownership transfer in the OwnableUpgradeable.sol contract. Specifically, this impacts methods marked as onlyOwner throughout the protocol, including critical core functionality.

Impact

The impact of the vulnerability is significant, as a single-step ownership transfer implies that if an incorrect address is used during the transfer, ownership or admin rights may be irreversibly lost. This could compromise the integrity and functionality of core protocol features.

Tools Used

Manual Review

Recommendations

To address this vulnerability, it is strongly recommended to adopt a two-step ownership transfer pattern. This involves initiating the transfer to a "pending" state, requiring the new owner to claim their new rights. The use of OpenZeppelin's Ownable2Step contract is suggested for a more secure ownership transfer process.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

single-step-ownership

informational/invalid

Support

FAQs

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