code-423n4 / 2024-07-basin-validation

0 stars 0 forks source link

unprotected initializer #38

Closed c4-bot-5 closed 3 months ago

c4-bot-5 commented 3 months ago

Lines of code

https://github.com/code-423n4/2024-07-basin/blob/7d5aacbb144d0ba0bc358dfde6e0cc913d25310e/src/Well.sol#L63

Vulnerability details

Impact

Improved access control

Proof of Concept

https://github.com/code-423n4/2024-07-basin/blob/7d5aacbb144d0ba0bc358dfde6e0cc913d25310e/src/Well.sol#L63

Tools Used

aderyn

Recommended Mitigation Steps

Consider protecting the initializer functions with modifiers

Assessed type

Access Control

nevillehuang commented 3 months ago

Likely Invalid, known issue [L-5]