The gm
function is called to start a new season and pays the caller in bean tokens to cover the gas cost of calling the function. The function has a maximum pay so it is not going above that amount no matter how much it costs to call the gm function.
The vulnerability arises from looping through the getWhitelistedWellLpTokens
array, in the stepOracle
, LibGerminate.endTotalGermination
, LibGauge.stepGauge
, and incentivize
functions, this array grows as new whitelisted tokens are added.
As the number of whitelist tokens increases calling the gm function will get more expensive.
Delay in starting a new season, because the reward in bean is less than the gas cost.
Manual Analysis
Put a cap on the amount of white list tokens allowed at a given time.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.