The Standard

The Standard
DeFiHardhat
20,000 USDC
View results
Submission Details
Severity: low
Invalid

Missing Contract-Existence Checks Before Low-Level Calls

Summary

When making low-level calls, it's crucial to ensure the existence of the contract at the specified address.

Vulnerability Details

If the contract doesn't exist at the given address, low-level calls will still return success, potentially causing errors in the code execution.

File: contracts/SmartVaultV3.sol
137: (bool sent,) = _to.call{value: _amount}("");

Tools Used

VSCode

Recommendations

Add check to verify that

.code.length > 0 before making low-level call.

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity
Assigned finding tags:

informational/invalid

Support

FAQs

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