Description: The contract lacks explicit reentrancy protection. While Solana's account model provides some inherent protection against reentrancy, complex cross-program invocation (CPI) scenarios could still be vulnerable, especially in the liquidity provision and swap functions.
Impact: A malicious contract could potentially reenter the AMM functions during token transfers, manipulating pool state and stealing funds.
Recommended Mitigation: Implement a reentrancy guard pattern:
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.