The withdrawPlatformFee function in LLMOracleCoordinator enables the owner to withdraw the entire balance of the contract (in terms of feeToken), which may encompass fees earned by generators and validators. If this function is called before any generators or validators collect their fees, they will be unable to claim their earnings.
To mitigate this risk, it is advisable to modify the withdrawPlatformFee function to withdraw only the platform fees. Additionally, introduce a separate function for withdrawing the entire balance in case of an emergency.
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.