The Standard

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

Missing contract-existence checks before low-level calls

Summary

file: /contracts/LiquidationPool.sol
172 (bool _sent,) = payable(msg.sender).call{value: _rewardAmount}("");

Vulnerability Details

Low-level calls return success if there is no code present at the specified address. In addition to the zero-address checks, add a check to verify that

.code.length > 0

Updates

Lead Judging Commences

hrishibhat Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Too generic
Assigned finding tags:

informational/invalid

Support

FAQs

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