code-423n4 / 2022-01-trader-joe-findings

2 stars 0 forks source link

Lack of checks for data passed into onlyOwner functions #254

Closed code423n4 closed 2 years ago

code423n4 commented 2 years ago

Handle

UncleGrandpa925

Vulnerability details

Issue

Lack of checks for data passed into onlyOwner functions.

For example:

In conclusion, the lack of checks for these important functions may seriously affect the launch of protocols.

Recommended Mitigation Steps

Note

Proposing this as Medium after reffering to a few past reports where there weren't sufficient checks for onlyOwner functions may disrupt the availability of the protocol. Considering the fact that the launch of any protocols is a very important event for them, these issues shouldn't happen.

cryptofish7 commented 2 years ago

Duplicate of #263

dmvt commented 2 years ago

While this could impact availability and potential cause some small fund loss, the likelihood of it occurring is very low given that these are all admin level functions. I agree with the sponsor and other wardens who ranked this low risk.