You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when doing iterateRebalance, it can last over long period of time where instantaneous leverage is out of bounds of expected leverage.
When user mints or redeems set token, they are either paying and premium or receiving a discount due to position not being in ideal state and hence not accounting for cost to reach there (slippage, lever/delever fees, etc.)
Root Cause
issue and burn are allowed during iterateRebalance
Internal pre-conditions
IterateRebalance is ongoing when user is minting or redeeming
External pre-conditions
N/A
Attack Path
iterateRebalance followed by burn or mint
Impact
A user might be able to redeem at a premium price on set token temporarily
A user might be able to mint set token at discount temporarily
PoC
N/A
Mitigation
lock and unlock in setToken when iterate rebalance is in progress
any other mechanism which prevents minting from debt issuance module when rebalance is in progress
The text was updated successfully, but these errors were encountered:
sherlock-admin2
changed the title
Silly Slate Goblin - Mispricing in issue and redeem during ongoing rebalance
hack3r-0m - Mispricing in issue and redeem during ongoing rebalance
Oct 28, 2024
hack3r-0m
Medium
Mispricing in
issue
andredeem
during ongoing rebalanceSummary
when doing
iterateRebalance
, it can last over long period of time where instantaneous leverage is out of bounds of expected leverage.When user
mints
orredeems
set token, they are either paying and premium or receiving a discount due to position not being in ideal state and hence not accounting for cost to reach there (slippage, lever/delever fees, etc.)Root Cause
issue
andburn
are allowed duringiterateRebalance
Internal pre-conditions
IterateRebalance
is ongoing when user is minting or redeemingExternal pre-conditions
Attack Path
iterateRebalance
followed byburn
ormint
Impact
PoC
N/A
Mitigation
lock
andunlock
in setToken when iteraterebalance
is in progressrebalance
is in progressThe text was updated successfully, but these errors were encountered: