Open code423n4 opened 3 years ago
cmichel
There are several setter functions that do not check if the amount is less than 100%.
TracerPerpetualSwaps
setFeeRate
setDeleveragingCliff
setInsurancePoolSwitchStage
Insurance
Setting values to more than 100% might lead to unintended functionality.
Ensure that the parameters are less than 100%.
Handle
cmichel
Vulnerability details
There are several setter functions that do not check if the amount is less than 100%.
TracerPerpetualSwaps
:setFeeRate
,setDeleveragingCliff
,setInsurancePoolSwitchStage
Insurance
:setFeeRate
,setDeleveragingCliff
,setInsurancePoolSwitchStage
Impact
Setting values to more than 100% might lead to unintended functionality.
Recommended Mitigation Steps
Ensure that the parameters are less than 100%.