ERC77 define hooks before and after all interaction with the token, before transfer and after transfer, will allow attacker to reenter the pool contract.
The attacker can reenter the contract whenever the pool does transfer from/to the user, the possibilities are unlimited when the attacker can reenter the contract.
For example
Attacker add liquidity, the attack steps can be like
pool transfers weth from the attacker to the pool
hook is called on the attacker contract after the transfer of funds and he can reenter now
the amount of weth in the pool is high now, the price of weth is low, the price of poolToken is higher.
attacker swap poolTokens for weth at higher price, making profit.
end of reentrancy
the pool transfer poolTokens from the attacker to the pool to complete the deposit.
Attacker can drain the whole pool.
Manual review.
Either disallow tokens with hooks, or add reentrance protection.
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.