Medium Risk
https://github.com/Cyfrin/2023-12-the-standard/blob/91132936cb09ef9bf82f38ab1106346e2ad60f91/contracts/SmartVaultManagerV5.sol#L46
Lack of _disableInitializers
call to prevent uninitialized contracts
Multiple contracts are using the Initializable module from OpenZeppelin. For this reason and in order to prevent leaving that contract uninitialized OpenZeppelin's documentation recommends adding the _disableInitializers
function in the constructor to automatically lock the contracts when they are deployed. this will protect the contract that holds the logic business from beeing initialized by an attack.
File: contracts/SmartVaultManagerV5.sol
46: function initialize() initializer public {}
Github: [46]
See Vulnerability Details
Manual Review
Consider adding _disableInitializers
in constructor