Assessment reports>WOOFI Stake>Discussion>Instant withdraw cap can be bypassed

Instant withdraw cap can be bypassed

The instantWithdrawCap = instantWithdrawCap + amount / 10; from WooSuperChargerVaultV2 can be bypassed by supplying an amount that is larger than 10, as it would underflow the instantWithdrawCap variable. We recommend setting a minimal deposit amount to prevent this from happening.

Zellic © 2024Back to top ↑