#41145 [SC-Insight] Incorrect Inheritance of Ownership in `Manager` Contract Leading to Inconsistent Use of `Ownable2Step`
Description
Brief/Intro
Vulnerability Details
import "@openzeppelin/contracts/access/Ownable2Step.sol";
contract Manager is IManager, Ownable // @audit used Ownable instead of Ownable2Step
{
// Manager implementation
}
contract StakeV2 is Manager, ReentrancyGuard {
// StakeV2 implementation
}Impact Details
Recommendation
Refrences:
Proof of Concept
Proof of Concept (POC)
Recommendation
Previous#41132 [SC-Insight] NFT Boost Lookup values not adhere to docsNext#41215 [SC-Critical] StakeV2: Inconsistencies in totalSupply computation, can lead to protocol insolvency
Was this helpful?