Input validation vulnerabilities in viewWhitelistedCurrencies().
The viewWhitelistedCurrencies() function lacks essential input validation checks, exposing it to potential exploits and unintended behavior.
Cursor Validation
No bounds checking for cursor parameter
Function proceeds even when cursor >= array length
Can lead to arithmetic underflow in length calculation
Size Parameter
No maximum limit defined
No minimum value validation
Could trigger out-of-gas errors with large values
Potential contract failures during pagination
Inconsistent data retrieval
Possible DOS attacks through gas exhaustion
Unreliable cursor positioning
Manual review
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.