The RAACMinter.tick() function can be called by anyone. This function mints rewards based on the emission rate, which is influenced by the current utilization rate. Although it is intended to be callable only by the StabilityPool, unrestricted access allows frequent calls by anyone, leading to different outcomes.
The RAACMinter.tick() function lacks proper access control. It is designed to be invoked from the StabilityPool, but any user can call it at any time.
The tick() function mints rewards according to the emission rate influenced by the current utilization rate. Ideally, the emission rate should only be updated during calls from the StabilityPool. However, unrestricted access allows anyone to call this function frequently, resulting in the emission rate being updated with each call, reflecting the utilization rate at that moment, which can lead to varying outcomes.
Unrestricted access allows anyone to call this function frequently, which can adversely affect the amount of rewards minted.
Manual review
Implement access control to ensure that the function can only be called by the StabilityPool.
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.