stake.link

stake.link
DeFiHardhatBridge
27,500 USDC
View results
Submission Details
Severity: high
Invalid

renetrency attack

Summary

function handleIncomingRESDL(..) function The contract uses the safeTransfer function from the IERC20 interface, but it doesn't handle potential reentrancy attacks.

Vulnerability Details

 If the `safeTransfer` function can trigger a callback to an untrusted contract, the flow of execution can be manipulated.

Impact

flooding of pool with tokens

Tools Used

Recommendations

Consider using the Checks-Effects-Interactions pattern to prevent reentrancy attacks.

Updates

Lead Judging Commences

0kage Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Incorrect statement

Support

FAQs

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