Beginner FriendlyFoundryDeFiOracle
100 EXP
View results
Submission Details
Severity: high
Invalid

flashloan is exposed to reentrancy

Summary

flashloan has no protection against reentrancy.

Vulnerability Details

flashloan funcition lacks non reentrant modifier , that could lead to potential problems and undesired behaviour

function flashloan(address receiverAddress, IERC20 token, uint256 amount, bytes calldata params) external {

Impact

High

Tools Used

Manual review

Recommendations

Use nonreentrant modifier

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Vague generalities

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.