The claimAndSwap
function does not check the shutdown status of the strategy and deposits assets continuously but the deposits should be stopped. All the strategies in the scope have this vulnerability.
The TokenizedStrategy
prevents deposits when the strategy is shutdown.
The claimAndSwap
function ignores the shutdown status of the strategy and deposits asset
tokens to the transmuter
instead of collecting them at the contract:
Unintended behavior, potential asset losses.
Manual Review
Consider collecting asset
tokens at the contract balance when the strategy is in the shutdown status instead of depositing it to the transmuter
.
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.