The contract doesn't use oracles to obtain accurate price information, making it vulnerable to price manipulation attacks.
This is known issue in Uniswap V1
In above code, very large inputAmount/outputAmount in getOutputAmountBasedOnInput/getInputAmountBasedOnOutput function causes significant difference in price(exchange rate).
Malicious actors could exploit this by artificially inflating or deflating prices during token swaps.
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.