Spearbit: Flash loan invariant bug POC and mitigation
Opened this issue · 2 comments
dapp-whisperer commented
Spearbit: Flash loan invariant bug POC and mitigation
GalloDaSballo commented
Suggested Mitigation:
- Change the invariant check to only be around rebasing
- This ensures that the payment has the same value
- Additional checks are reliant on the security of the underlying system (question: what happens if we do multiple flashloans?)
dapp-whisperer commented
issues described in more detail in the spearbit repo