The owner can drain the whole feeToken balance by calling withdrawPlaftormFees
function.
The following function is part of LLMOracleCoordinator contract. As we can see this function can be called only by the owner and transfers the whole balance of the feeToken
However the following function allow the seller/buyer to withdraw fees from the coordinator address
If the owner invokes withdrawPlatformFees function he will withdraw all funds from the feeToken for the coordinator address and will not leave any fees to withdraw for the buyer/seller.
Lost fees for buyer/seller
manual review, hardhat
Don't let the owner withdraw all the fees. Implement it in such way which distinguish the coordinator fees from the seller/buyer fees.
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.