The function lack proper access control modifiers, allowing any external user to call them. This is the root issue
The function lack proper access control modifiers, allowing any external user to call them. depositQueuedTokens
is marked as external
without any access restrictions.
Malicious actors could manipulate deposits, trigger undesired operations, or disrupt the pool's functionality. Unrestricted access to critical functions could lead to fund mismanagement or exploitation.
Bypassing stored deposit limits could lead to inconsistencies between the contract's stated rules and its actual behavior, potentially breaking assumptions made by other parts of the system or by users. An attacker could potentially pass a very large array, causing the transaction to hit the block gas limit and fail.
DOS is one of the possible attacks for this function.
Manual Review
Apply appropriate access control modifiers (onlyOwner
, onlyDistributionOracle
, etc.) to functions that should be limited to specific roles.
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.