DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: low
Invalid

empty receive does not authorised any request

Summary

empty receive does not authorised any request

Vulnerability Details

Empty receive does not authorise request is made for depositing transfer.

receive() external payable {};

Impact

Ether can be deposited through this function by a user and the protocol will not be informed about it.

Tools Used

Manual code review.

Recommendations

If the intention is for Ether sent to be used for deposit ETH and mint rEth purpose , the function should call another function (e.g. call depositEth() and use the token on the caller's behalf) or at least emit an event to track that funds were sent directly to it.

Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Users sending ETH/native tokens

Support

FAQs

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