The allocateFunds
function does not perform adequate access control checks or sanity checks. While it ensures only the ALLOCATOR_ROLE
can allocate funds, it lacks proper validation of the allocation process, such as ensuring that the total amount allocated is within the contract’s available balance.
An allocator could allocate an inappropriate or excessive amount of funds without restrictions. This could lead to improper fund distribution or malicious behavior.
mplement additional checks to ensure the allocation amounts are valid and do not exceed the treasury’s available balance.
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.