Description
Flash loans can be used for price manipulation attacks. Implement detection and prevention mechanisms including TWAP usage and sandwich attack mitigation.
Acceptance Criteria
Technical Scope
- stellar-lend/contracts/lending/src/flash_loan.rs
- stellar-lend/contracts/lending/src/mev_protection.rs
- stellar-lend/contracts/hello-world/src/flash_loan.rs
- stellar-lend/contracts/hello-world/src/mev_protection.rs
- Edge: oracle manipulation via flash loans, multi-block MEV attacks
Description
Flash loans can be used for price manipulation attacks. Implement detection and prevention mechanisms including TWAP usage and sandwich attack mitigation.
Acceptance Criteria
Technical Scope