Lack of Input Validation
The contract does not validate whether _profits is a valid ERC20 token address.
If _profits is an invalid address or not an ERC20 token, the contract could throw an exception and result in unexpected behavior.
Implement proper input validation to ensure that _profits is a valid ERC20 token address before proceeding with any operations. Use informative error messages and fail safely by reverting the transaction in case of invalid input. This will enhance the contract's security and prevent unexpected behavior.
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.