DeFiHardhatOracleProxyUpdates
100,000 USDC
View results
Submission Details
Severity: low
Invalid

`_transferDeposit` can fail if `recipient` is a malicious contract

Summary

_transferDeposit can fail if recipient is a malicious contract

Vulnerability Details

if the recipient address is a contract that has a receive function that has revert() in it the function, the transaction will revert and
cause A DOS on the function and protocol.

Impact

This can cause a denial of service and and make the system not to work an intended. funds can get stuck in the contract

Tools Used

manual

Recommendations

track how much must be sent to the recipient address and store it in a mapping and allow the recipient
to withdraw the funds themselves.

Updates

Lead Judging Commences

giovannidisiena Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Too generic
Assigned finding tags:

Informational/Invalid

Support

FAQs

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