DittoETH

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

Incorrect Conversion Rate

Summary

The deposit/withdrawal conversion rate does not properly account for negative yields.

Vulnerability Details

When yield is negative, deposit and withdraw incorrectly assume 1 rETH = 1 ETH. This could allow withdrawing more ETH than deposited.

For example:

function deposit(uint rETH) external returns (uint zETH) {
// Incorrect, doesn't consider negative yield
return rETH;
}
function withdraw(uint zETH) external returns (uint rETH) {
// Incorrect, doesn't consider negative yield
return zETH;
}
## Impact
Possibility to arbitrage and exploit negative yields.
## Tools Used
Manual
## Recommendations
Properly account for yield rates in the deposit/withdrawal exchange rate.
Updates

Lead Judging Commences

0xnevi Lead Judge
almost 2 years ago
0xnevi Lead Judge almost 2 years ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

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