_swapUnderlyingToAsset function does not perform explicit path validation. The _path parameter is accepted as input from the caller and passed directly to the router's swapExactTokensForTokens function without any checks this introduces potential risks because an invalid or malicious _path could result in unexpected outcomes.
Both contracts may execute swaps at unfavorable routes, resulting in significant financial loss
manual
Validate the Path, ensure that the _path starts with the correct underlying token and ends with the correct asset token
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.