Skip to content
RED SAGSkills
hard20 pts · first answer countssmart-contract-securitydefiaccess-control

A flash loan callback anyone can trigger

A contract implements onFlashLoan(initiator, token, amount, fee, data) and performs swaps based on data. It checks msg.sender is the lender but ignores initiator. What can an attacker do?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions