Sparkn

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

External call recipient may consume all transaction gas

Summary

There is no limit specified on the amount of gas used, so the recipient can use up all of the transaction's gas, causing it to revert.

Vulnerability Details

There is 1 instance of this issue.

File: src/ProxyFactory.sol
250: (bool success,) = proxy.call(data);
File Link Instance Count Instance Link
ProxyFactory.sol 1 250

Impact

The recipient can use up all of the transaction's gas, causing it to revert.

Tools Used

baudit: a custom static code analysis tool; manual review

Recommendations

Use address.call{gas: <amount>}("") or ExcessivelySafeCall instead.

Support

FAQs

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