Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.03 KB

Flash minting can be used to redeem `fyDAI`.md

File metadata and controls

28 lines (23 loc) · 1.03 KB

The flash-minting feature from the fyDAI token can be used to redeem an arbitrary amount of funds from a mature token.

Recommendation:

Short term, disallow calls to redeem in the YDai and Unwind contracts during flash minting.

Long term, do not include operations that allow any user to manipulate an arbitrary amount of funds, even if it is in a single transaction.

This will prevent attackers from gaining leverage to manipulate the market and break internal invariants.


Slide Screenshot

042.jpg


Slide Text

  • ToB Audit Yield Protocol Finding 1
  • Undefined Behavior
  • Medium Severity
  • FlashMint Any Number
  • Mature Tokens
  • Disallow Flash Minting

References


Tags