Lack of Access Control
Lack of Access Control in sellProfits function
Function is accessible to anyone, which means anyone can trigger the swapping process.
Implement Access Control: To mitigate the risk associated with unauthorized access to the 'sellProfits' function, you should implement access control mechanisms. You can use function modifiers like 'onlyOwner' or 'onlyAuthorized' to restrict access to the function to specific addresses or contracts that are trusted and authorized to perform the swapping process.
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.