Normal behavior: depositing non-zero underlying should mint non-zero shares for typical amounts, and redemption should remain live for valid share holders.
Issue: with tiny share supply plus large donated liquidity and repeated fee-driven exchange-rate updates, exchange rate can inflate to extreme values. Later normal deposits can round down to zero shares while still transferring underlying; redemption path becomes economically broken in PoC flow.
Likelihood:
Requires specific but feasible composition (tiny initial supply, direct donation, repeated flash fee updates).
No min-share mint guard prevents zero-share deposit acceptance.
Impact:
Victim can transfer assets and receive zero shares.
Accounting can become unrecoverable; redemptions may revert in inflated state.
Validated PoC: test/audit/FreeAuditMaxYield.t.sol::test_M04_ExchangeRateInflationCanForceVictimZeroShareMint (PASS).
Add minimum-share-out checks on deposit (revert when mintAmount == 0).
Isolate/limit exchange-rate updates to realized, bounded fee events and harden against donation+tiny-supply amplification.
The contest is live. Earn rewards by submitting a finding.
Submissions are being reviewed by our AI judge. Results will be available in a few minutes.
View all submissionsThe contest is complete and the rewards are being distributed.