Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: high
Invalid

`MondrianWallet._payPrefund(uint256)` sends eth to arbitrary user making it vulnerable to a reentrancy attack.

Summary

Unprotected call to a function sending Ether to an arbitrary address.

Vulnerability Details

Unprotected call to a function sent via MockEntryPoint._compensate(address,uint256) (src/mocks/MockEntryPoint.sol#1138-1142).

Impact

The _payPrefund function could be susceptible to reentrancy attacks.

Tools Used

Slither

Recommendations

Ensure that an arbitrary user cannot withdraw unauthorized funds.

Updates

Lead Judging Commences

inallhonesty Lead Judge about 1 year ago
Submission Judgement Published
Invalidated
Reason: Lack of quality

Support

FAQs

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