stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: high
Invalid

`SDLPoolPrimary.sol`::`initialize` uses the modifier reinitializer(2) but doesn't work

Summary

SDLPoolPrimary.sol::initialize uses the modifier reinitializer(2) but doesn't work. This modifier is not defined in the provided code

Vulnerability Details

SDLPoolPrimary.sol::initialize uses the modifier reinitializer(2) but doesn't work. This modifier is not defined in the provided code

Impact

The initialize function can be reinitialized by an attacker which is not the intention for the contract.

Tools Used

Manual Review

Recommendations

use the OpenZeppelin library's initializable pattern instead

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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