DittoETH

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

Diamond.sol can receive ether via selfdestruct

Summary

Vulnerability Details

remix POC

// SPDX-License-Identifier: MIT
pragma solidity "0.8.21";
contract foo {
receive() external payable{
revert();
}
}
contract bar {
function go(address vic) public payable {
selfdestruct(payable(vic));
}
}

Impact

Tools Used

remix

Recommendations

make sure ether received by self destruct cannot be used maliciously

Updates

Lead Judging Commences

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

Support

FAQs

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