Sparkn

CodeFox Inc.
DeFiFoundryProxy
15,000 USDC
View results
Submission Details
Severity: low

deployProxyAndDistributeBySignature can be front-run which could cause unexpected result for the sender

Summary

As described in EPI-712 frontrunning is possible against deployProxyAndDistributeBySignature, but your implementation looks solid and preventing any side effects for the smart contract itself (so the web3 part of your application), but is your UI/web2 back-end ready for such behavior?

Vulnerability Details

This is just to highlight that you ensure the other part of your dApp will handle this case in a smooth manner, as your original transaction would revert in favor for the front-runner.

Impact

Original transaction calling deployProxyAndDistributeBySignature will revert if successfully front-run, please ensure that your dApp handle this case properly.

Tools Used

Code examination

Recommendations

Just be aware of this and prepare to handle it accordingly.

Support

FAQs

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